diff --git a/compose_registry.json b/compose_registry.json index ab8481b0..df10550f 100644 --- a/compose_registry.json +++ b/compose_registry.json @@ -17,24 +17,6 @@ "abcore-mainnet-geth-pruned-pebble-hash" ] }, - { - "chain": "mainnet", - "client": "geth", - "compose_file": "abcore/geth/abcore-mainnet-geth-pruned-pebble-path", - "drpc_chain": "abcore", - "features": [ - "hash", - "pebble" - ], - "network": "abcore", - "node": null, - "relay": null, - "stack": null, - "type": "pruned", - "volumes": [ - "abcore-mainnet-geth-pruned-pebble-path" - ] - }, { "chain": "mainnet", "client": "external-node", diff --git a/cronos/cronos/cronos-mainnet-cronos-pruned.yml b/cronos/cronos/cronos-mainnet-cronos-pruned.yml index d7ab600c..0b1af92a 100644 --- a/cronos/cronos/cronos-mainnet-cronos-pruned.yml +++ b/cronos/cronos/cronos-mainnet-cronos-pruned.yml @@ -61,12 +61,13 @@ services: - API=eth,txpool,net,debug,web3 - CHAINID=cronosmainnet_25-1 - EVM_MAX_TX_GAS_WANTED=500000 + - FEEHISTORY_CAP=250 - GENESIS_URL=https://raw.githubusercontent.com/crypto-org-chain/cronos-mainnet/master/cronosmainnet_25-1/genesis.json - IP=${IP} - JSON_RPC_BLOCK_RANGE_CAP=10000 - JSON_RPC_ENABLE=true - JSON_RPC_ENABLE_INDEXER=true - - JSON_RPC_FEEHISTORY_CAP=100 + - JSON_RPC_FEEHISTORY_CAP=250 - JSON_RPC_HTTP_TIMEOUT=30s - JSON_RPC_LOGS_CAP=10000 - MIN_GAS=5000000000000basecro diff --git a/cronos/cronos/cronos-testnet-cronos-pruned.yml b/cronos/cronos/cronos-testnet-cronos-pruned.yml index d6cec119..b8b49a17 100644 --- a/cronos/cronos/cronos-testnet-cronos-pruned.yml +++ b/cronos/cronos/cronos-testnet-cronos-pruned.yml @@ -61,12 +61,13 @@ services: - API=eth,txpool,net,debug,web3 - CHAINID=cronostestnet_338-3 - EVM_MAX_TX_GAS_WANTED=500000 + - FEEHISTORY_CAP=250 - GENESIS_URL=https://raw.githubusercontent.com/crypto-org-chain/cronos-testnets/main/cronostestnet_338-3/genesis.json - IP=${IP} - JSON_RPC_BLOCK_RANGE_CAP=10000 - JSON_RPC_ENABLE=true - JSON_RPC_ENABLE_INDEXER=true - - JSON_RPC_FEEHISTORY_CAP=100 + - JSON_RPC_FEEHISTORY_CAP=250 - JSON_RPC_HTTP_TIMEOUT=30s - JSON_RPC_LOGS_CAP=10000 - MIN_GAS=5000000000000basetcro diff --git a/cronos/scripts/init.sh b/cronos/scripts/init.sh index 4ee24b3f..98347921 100644 --- a/cronos/scripts/init.sh +++ b/cronos/scripts/init.sh @@ -18,7 +18,8 @@ PRUNING_KEEP_RECENT="${PRUNING_KEEP_RECENT:-100}" PRUNING_INTERVAL="${PRUNING_INTERVAL:-19}" JSON_RPC_ENABLE="${JSON_RPC_ENABLE:-true}" JSON_RPC_ENABLE_INDEXER="${JSON_RPC_ENABLE_INDEXER:-true}" -JSON_RPC_FEEHISTORY_CAP="${JSON_RPC_FEEHISTORY_CAP:-100}" +FEEHISTORY_CAP="${FEEHISTORY_CAP:-250}" +JSON_RPC_FEEHISTORY_CAP="${JSON_RPC_FEEHISTORY_CAP:-$FEEHISTORY_CAP}" JSON_RPC_LOGS_CAP="${JSON_RPC_LOGS_CAP:-10000}" JSON_RPC_BLOCK_RANGE_CAP="${JSON_RPC_BLOCK_RANGE_CAP:-10000}" JSON_RPC_HTTP_TIMEOUT="${JSON_RPC_HTTP_TIMEOUT:-30s}" @@ -47,7 +48,7 @@ sed -i "/^\[json-rpc\]/,/^\[/{s|^ws-origins = .*|ws-origins = \"$JSON_RPC_WS_ORI sed -i "/^\[json-rpc\]/,/^\[/{s|^api = .*|api = \"$API\"|}" "$CONFIG_DIR/app.toml" sed -i "/^\[json-rpc\]/,/^\[/{s|^enable = .*|enable = $JSON_RPC_ENABLE|}" "$CONFIG_DIR/app.toml" sed -i "/^\[json-rpc\]/,/^\[/{s|^enable-indexer = .*|enable-indexer = $JSON_RPC_ENABLE_INDEXER|}" "$CONFIG_DIR/app.toml" -sed -i "/^\[json-rpc\]/,/^\[/{s|^feehistory-cap = .*|feehistory-cap = $JSON_RPC_FEEHISTORY_CAP|}" "$CONFIG_DIR/app.toml" +sed -i "/^\[json-rpc\]/,/^\[/{s|^feehistory-cap = .*|feehistory-cap = $FEEHISTORY_CAP|}" "$CONFIG_DIR/app.toml" sed -i "/^\[json-rpc\]/,/^\[/{s|^logs-cap = .*|logs-cap = $JSON_RPC_LOGS_CAP|}" "$CONFIG_DIR/app.toml" sed -i "/^\[json-rpc\]/,/^\[/{s|^block-range-cap = .*|block-range-cap = $JSON_RPC_BLOCK_RANGE_CAP|}" "$CONFIG_DIR/app.toml" sed -i "/^\[json-rpc\]/,/^\[/{s|^http-timeout = .*|http-timeout = \"$JSON_RPC_HTTP_TIMEOUT\"|}" "$CONFIG_DIR/app.toml"