From 81c04e3f23a66e2f150a072895e79e85d8ed504d Mon Sep 17 00:00:00 2001 From: Para Dox Date: Mon, 14 Apr 2025 13:24:44 +0700 Subject: [PATCH] fix --- bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml | 2 ++ .../bsc-mainnet-bsc-pruned-pebble-path.yml | 2 ++ .../core-buffalo-core-pruned-pebble-path.yml | 29 +++++++++++++++++-- ...core-mainnet-core-archive-leveldb-hash.yml | 27 +++++++++++++++-- .../core-mainnet-core-pruned-leveldb-hash.yml | 27 +++++++++++++++-- .../core-pigeon-core-pruned-pebble-path.yml | 29 +++++++++++++++++-- 6 files changed, 108 insertions(+), 8 deletions(-) diff --git a/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml b/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml index 2b238f61..a11b9ac1 100644 --- a/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml +++ b/bsc/bsc/bsc-chapel-bsc-pruned-pebble-path.yml @@ -22,7 +22,9 @@ services: - 12759:12759/udp expose: - 8545 + entrypoint: [geth] command: + - --chapel - --config=/config/config.toml - --datadir=/bsc/.ethereum - --db.engine=pebble diff --git a/bsc/bsc/bsc-mainnet-bsc-pruned-pebble-path.yml b/bsc/bsc/bsc-mainnet-bsc-pruned-pebble-path.yml index e03e4497..45829244 100644 --- a/bsc/bsc/bsc-mainnet-bsc-pruned-pebble-path.yml +++ b/bsc/bsc/bsc-mainnet-bsc-pruned-pebble-path.yml @@ -22,6 +22,7 @@ services: - 12037:12037/udp expose: - 8545 + entrypoint: [geth] command: - --config=/config/config.toml - --datadir=/bsc/.ethereum @@ -32,6 +33,7 @@ services: - --http.api=eth,net,web3,txpool,debug,admin,parlia - --http.port=8545 - --http.vhosts=* + - --mainnet - --maxpeers=50 - --nat=extip:${IP} - --port=12037 diff --git a/core/core/core-buffalo-core-pruned-pebble-path.yml b/core/core/core-buffalo-core-pruned-pebble-path.yml index f451cbd5..8a45e3c7 100644 --- a/core/core/core-buffalo-core-pruned-pebble-path.yml +++ b/core/core/core-buffalo-core-pruned-pebble-path.yml @@ -22,22 +22,29 @@ services: - 12384:12384/udp expose: - 8545 + entrypoint: [geth] command: + - --buffalo - --config=/config/config.toml - --datadir=/core/.ethereum - - --db.engine= + - --db.engine=pebble - --gcmode=full - --http - --http.addr=0.0.0.0 - --http.api=eth,net,web3,txpool,debug,admin,satoshi - --http.port=8545 + - --http.vhosts=* + - --maxpeers=50 - --nat=extip:${IP} - --port=12384 - --rpc.gascap=600000000 - --rpc.txfeecap=0 - - --state.scheme= + - --state.scheme=path - --syncmode=snap - --ws + - --ws.addr=0.0.0.0 + - --ws.api=eth,net,web3,txpool,debug,admin,satoshi + - --ws.origins=* - --ws.port=8545 restart: unless-stopped stop_grace_period: 5m @@ -71,6 +78,24 @@ x-upstreams: - filter methods: disabled: + # not compatible with path state scheme + - name: debug_traceBlockByHash enabled: - name: txpool_content # TODO: should be disabled for rollup nodes + # standard geth only + - name: debug_getRawBlock + - name: debug_getRawTransaction + - name: debug_getRawReceipts + - name: debug_getRawHeader + - name: debug_getBadBlocks + # non standard geth only slightly dangerous + - name: debug_intermediateRoots + - name: debug_dumpBlock + # standard geth and erigon + - name: debug_accountRange + - name: debug_getModifiedAccountsByNumber + - name: debug_getModifiedAccountsByHash + # non standard geth and erigon + - name: eth_getRawTransactionByHash + - name: eth_getRawTransactionByBlockHashAndIndex ... \ No newline at end of file diff --git a/core/core/core-mainnet-core-archive-leveldb-hash.yml b/core/core/core-mainnet-core-archive-leveldb-hash.yml index 77a06e90..5afc8e01 100644 --- a/core/core/core-mainnet-core-archive-leveldb-hash.yml +++ b/core/core/core-mainnet-core-archive-leveldb-hash.yml @@ -22,22 +22,29 @@ services: - 11169:11169/udp expose: - 8545 + entrypoint: [geth] command: - --config=/config/config.toml - --datadir=/core/.ethereum - - --db.engine= + - --db.engine=leveldb - --gcmode=archive - --http - --http.addr=0.0.0.0 - --http.api=eth,net,web3,txpool,debug,admin,satoshi - --http.port=8545 + - --http.vhosts=* + - --mainnet + - --maxpeers=50 - --nat=extip:${IP} - --port=11169 - --rpc.gascap=600000000 - --rpc.txfeecap=0 - - --state.scheme= + - --state.scheme=hash - --syncmode=full - --ws + - --ws.addr=0.0.0.0 + - --ws.api=eth,net,web3,txpool,debug,admin,satoshi + - --ws.origins=* - --ws.port=8545 restart: unless-stopped stop_grace_period: 5m @@ -73,4 +80,20 @@ x-upstreams: disabled: enabled: - name: txpool_content # TODO: should be disabled for rollup nodes + # standard geth only + - name: debug_getRawBlock + - name: debug_getRawTransaction + - name: debug_getRawReceipts + - name: debug_getRawHeader + - name: debug_getBadBlocks + # non standard geth only slightly dangerous + - name: debug_intermediateRoots + - name: debug_dumpBlock + # standard geth and erigon + - name: debug_accountRange + - name: debug_getModifiedAccountsByNumber + - name: debug_getModifiedAccountsByHash + # non standard geth and erigon + - name: eth_getRawTransactionByHash + - name: eth_getRawTransactionByBlockHashAndIndex ... \ No newline at end of file diff --git a/core/core/core-mainnet-core-pruned-leveldb-hash.yml b/core/core/core-mainnet-core-pruned-leveldb-hash.yml index 78463dba..527526f2 100644 --- a/core/core/core-mainnet-core-pruned-leveldb-hash.yml +++ b/core/core/core-mainnet-core-pruned-leveldb-hash.yml @@ -22,22 +22,29 @@ services: - 11169:11169/udp expose: - 8545 + entrypoint: [geth] command: - --config=/config/config.toml - --datadir=/core/.ethereum - - --db.engine= + - --db.engine=leveldb - --gcmode=full - --http - --http.addr=0.0.0.0 - --http.api=eth,net,web3,txpool,debug,admin,satoshi - --http.port=8545 + - --http.vhosts=* + - --mainnet + - --maxpeers=50 - --nat=extip:${IP} - --port=11169 - --rpc.gascap=600000000 - --rpc.txfeecap=0 - - --state.scheme= + - --state.scheme=hash - --syncmode=snap - --ws + - --ws.addr=0.0.0.0 + - --ws.api=eth,net,web3,txpool,debug,admin,satoshi + - --ws.origins=* - --ws.port=8545 restart: unless-stopped stop_grace_period: 5m @@ -73,4 +80,20 @@ x-upstreams: disabled: enabled: - name: txpool_content # TODO: should be disabled for rollup nodes + # standard geth only + - name: debug_getRawBlock + - name: debug_getRawTransaction + - name: debug_getRawReceipts + - name: debug_getRawHeader + - name: debug_getBadBlocks + # non standard geth only slightly dangerous + - name: debug_intermediateRoots + - name: debug_dumpBlock + # standard geth and erigon + - name: debug_accountRange + - name: debug_getModifiedAccountsByNumber + - name: debug_getModifiedAccountsByHash + # non standard geth and erigon + - name: eth_getRawTransactionByHash + - name: eth_getRawTransactionByBlockHashAndIndex ... \ No newline at end of file diff --git a/core/core/core-pigeon-core-pruned-pebble-path.yml b/core/core/core-pigeon-core-pruned-pebble-path.yml index 3bed77dc..6ce585df 100644 --- a/core/core/core-pigeon-core-pruned-pebble-path.yml +++ b/core/core/core-pigeon-core-pruned-pebble-path.yml @@ -22,22 +22,29 @@ services: - 14478:14478/udp expose: - 8545 + entrypoint: [geth] command: - --config=/config/config.toml - --datadir=/core/.ethereum - - --db.engine= + - --db.engine=pebble - --gcmode=full - --http - --http.addr=0.0.0.0 - --http.api=eth,net,web3,txpool,debug,admin,satoshi - --http.port=8545 + - --http.vhosts=* + - --maxpeers=50 - --nat=extip:${IP} + - --pigeon - --port=14478 - --rpc.gascap=600000000 - --rpc.txfeecap=0 - - --state.scheme= + - --state.scheme=path - --syncmode=snap - --ws + - --ws.addr=0.0.0.0 + - --ws.api=eth,net,web3,txpool,debug,admin,satoshi + - --ws.origins=* - --ws.port=8545 restart: unless-stopped stop_grace_period: 5m @@ -71,6 +78,24 @@ x-upstreams: - filter methods: disabled: + # not compatible with path state scheme + - name: debug_traceBlockByHash enabled: - name: txpool_content # TODO: should be disabled for rollup nodes + # standard geth only + - name: debug_getRawBlock + - name: debug_getRawTransaction + - name: debug_getRawReceipts + - name: debug_getRawHeader + - name: debug_getBadBlocks + # non standard geth only slightly dangerous + - name: debug_intermediateRoots + - name: debug_dumpBlock + # standard geth and erigon + - name: debug_accountRange + - name: debug_getModifiedAccountsByNumber + - name: debug_getModifiedAccountsByHash + # non standard geth and erigon + - name: eth_getRawTransactionByHash + - name: eth_getRawTransactionByBlockHashAndIndex ... \ No newline at end of file