-
Notifications
You must be signed in to change notification settings - Fork 3.2k
refactor(configs): Update for Geth and Reth #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
9b10b98
refactor(geth): Add prod configs and setup
c753a53
refactor(geth): Use EL sync
4a85760
refactor(reth): Add prod configs and setup
7287152
refactor(testnet): Update Sepolia ENV
bd5f157
refactor(configs): Archiver and Network
5f10f91
refactor(configs): Update format, default to Geth full node
e49055e
docs(readme): Add our disk specs
a9f3414
docs(readme): Clarify storage req
825695c
fix(readme): Typo
20c92ca
docs(readme): Clarify support a testnet selection
9caf5ed
docs(readme): Add client note for testnet + snapshot link
796fc6d
fix(geth): Set correct caching values
a4ebc72
fix(reth-entrypoint): Remove duplicate args parameter
126edf6
refactor(env): Drop TXPOOL params b/c disabled
8cb0915
docs(readme): Clarify accepted list of RPC values
681ae1d
docs(readme): Update recommended RAM
2befde3
refactor(env): Update L1 CONFs to 4
eb71a82
refactor(geth): Update cache
a6b2cb7
refactor(geth): Drop unused txpool params
1422221
refactor(geth-entrypoint): Add correct cache values
f1e1f97
docs(readme): Update min specs
c5b10b8
refactor(envs): Drop deprecated vars
a61f347
Merge branch 'main' into wbnns/update-client-configs
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,57 +1,98 @@ | ||
| # BASE MAINNET NODE CONFIGURATION | ||
| # =========================== | ||
|
|
||
| # NETWORK CONFIGURATION | ||
| # -------------------- | ||
| RETH_CHAIN=base | ||
| OP_NODE_NETWORK=base-mainnet | ||
| OP_GETH_OP_NETWORK=base-mainnet | ||
|
|
||
| # BASE SEQUENCER ENDPOINTS | ||
| # ----------------------- | ||
| RETH_SEQUENCER_HTTP=https://mainnet-sequencer.base.org | ||
| OP_GETH_SEQUENCER_HTTP=https://mainnet-sequencer.base.org | ||
| OP_SEQUENCER_HTTP=https://mainnet-sequencer.base.org | ||
| OP_GETH_SEQUENCER_HTTP=https://mainnet-sequencer.base.org | ||
| OP_RETH_SEQUENCER_HTTP=https://mainnet-sequencer.base.org | ||
|
|
||
| # [optional] used to enable geth stats: | ||
| # OP_GETH_ETH_STATS=nodename:secret@host:port | ||
| # OP_NETHERMIND_ETHSTATS_ENABLED=true | ||
| # OP_NETHERMIND_ETHSTATS_NODE_NAME=NethermindNode | ||
| # OP_NETHERMIND_ETHSTATS_ENDPOINT=ethstats_endpoint | ||
|
|
||
| # [required] replace with your preferred L1 (Ethereum, not Base) node RPC URL: | ||
| OP_NODE_L1_ETH_RPC=https://1rpc.io/eth | ||
|
|
||
| # [optional] replace this with your preferred L2 engine kind (geth, reth, etc.) | ||
| # For more info: https://docs.optimism.io/operators/node-operators/configuration/consensus-config#l2enginekind | ||
| # OP_NODE_L2_ENGINE_KIND=reth | ||
| # SYNC CONFIGURATION | ||
| # ----------------- | ||
| OP_NODE_SYNCMODE=execution-layer | ||
| OP_NODE_VERIFIER_L1_CONFS=4 | ||
| OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true | ||
|
|
||
| # [required] replace with your preferred L1 CL beacon endpoint: | ||
| OP_NODE_L1_BEACON=https://your.mainnet.beacon.node/endpoint-here | ||
| # [REQUIRED] L1 CONFIGURATION | ||
| # -------------------------- | ||
| # Replace these values with your L1 (Ethereum) node endpoints | ||
| OP_NODE_L1_ETH_RPC=<your-preferred-l1-rpc> | ||
| OP_NODE_L1_BEACON=<your-preferred-l1-beacon> | ||
| OP_NODE_L1_BEACON_ARCHIVER=<your-preferred-l1-beacon-archiver> | ||
| OP_NODE_L1_BEACON_FETCH_ALL_SIDECARS="true" | ||
| OP_NODE_L1_RPC_KIND="debug_geth" | ||
| OP_NODE_L1_TRUST_RPC="false" | ||
|
|
||
| # auth secret used by op-geth engine API: | ||
| # ENGINE CONFIGURATION | ||
| # ------------------- | ||
| OP_NODE_L2_ENGINE_KIND=reth | ||
| OP_NODE_L2_ENGINE_RPC=ws://execution:8551 | ||
| OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt | ||
| OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a | ||
|
|
||
| OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt | ||
| OP_NODE_L2_ENGINE_RPC=ws://execution:8551 | ||
| OP_NODE_LOG_LEVEL=info | ||
| OP_NODE_METRICS_ADDR=0.0.0.0 | ||
| OP_NODE_METRICS_ENABLED=true | ||
| OP_NODE_METRICS_PORT=7300 | ||
| OP_NODE_NETWORK=base-mainnet | ||
| # P2P CONFIGURATION | ||
| # --------------- | ||
| OP_NODE_P2P_AGENT=base | ||
| OP_NODE_P2P_BOOTNODES=enr:-J24QNz9lbrKbN4iSmmjtnr7SjUMk4zB7f1krHZcTZx-JRKZd0kA2gjufUROD6T3sOWDVDnFJRvqBBo62zuF-hYCohOGAYiOoEyEgmlkgnY0gmlwhAPniryHb3BzdGFja4OFQgCJc2VjcDI1NmsxoQKNVFlCxh_B-716tTs-h1vMzZkSs1FTu_OYTNjgufplG4N0Y3CCJAaDdWRwgiQG,enr:-J24QH-f1wt99sfpHy4c0QJM-NfmsIfmlLAMMcgZCUEgKG_BBYFc6FwYgaMJMQN5dsRBJApIok0jFn-9CS842lGpLmqGAYiOoDRAgmlkgnY0gmlwhLhIgb2Hb3BzdGFja4OFQgCJc2VjcDI1NmsxoQJ9FTIv8B9myn1MWaC_2lJ-sMoeCDkusCsk4BYHjjCq04N0Y3CCJAaDdWRwgiQG,enr:-J24QDXyyxvQYsd0y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ApIok0jFn-9CS842lGpLmqGAYiOoDRAgmlkgnY0gmlwhLhIgb2Hb3BzdGFja4OFQgCJc2VjcDI1NmsxoQJ9FTIv8B9myn1MWaC_2lJ-sMoeCDkusCsk4BYHjjCq04N0Y3CCJAaDdWRwgiQG,enr:-J24QDXyyxvQYsd0yfsN0cRr1lZ1N11zGTplMNlW4xNEc7LkPXh0NAJ9iSOVdRO95GPYAIc6xmyoCCG6_0JxdL3a0zaGAYiOoAjFgmlkgnY0gmlwhAPckbGHb3BzdGFja4OFQgCJc2VjcDI1NmsxoQJwoS7tzwxqXSyFL7g0JM-KWVbgvjfB8JA__T7yY_cYboN0Y3CCJAaDdWRwgiQG,enr:-J24QHmGyBwUZXIcsGYMaUqGGSl4CFdx9Tozu-vQCn5bHIQbR7On7dZbU61vYvfrJr30t0iahSqhc64J46MnUO2JvQaGAYiOoCKKgmlkgnY0gmlwhAPnCzSHb3BzdGFja4OFQgCJc2VjcDI1NmsxoQINc4fSijfbNIiGhcgvwjsjxVFJHUstK9L1T8OTKUjgloN0Y3CCJAaDdWRwgiQG,enr:-J24QG3ypT4xSu0gjb5PABCmVxZqBjVw9ca7pvsI8jl4KATYAnxBmfkaIuEqy9sKvDHKuNCsy57WwK9wTt2aQgcaDDyGAYiOoGAXgmlkgnY0gmlwhDbGmZaHb3BzdGFja4OFQgCJc2VjcDI1NmsxoQIeAK_--tcLEiu7HvoUlbV52MspE0uCocsx1f_rYvRenIN0Y3CCJAaDdWRwgiQG | ||
|
|
||
| # RETH CONFIGURATION | ||
| # ---------------- | ||
| OP_RETH_DISABLE_DISCOVERY="false" | ||
| OP_RETH_DISABLE_TX_POOL_GOSSIP="true" | ||
| OP_RETH_OP_NETWORK="base" | ||
|
|
||
| # RPC CONFIGURATION | ||
| # --------------- | ||
| OP_NODE_RPC_ADDR=0.0.0.0 | ||
| OP_NODE_RPC_PORT=8545 | ||
|
|
||
| # GETH CACHE SETTINGS | ||
| # ----------------- | ||
| GETH_CACHE="20480" # 20GB | ||
| GETH_CACHE_DATABASE="20" # 4GB | ||
| GETH_CACHE_GC="12" | ||
| GETH_CACHE_SNAPSHOT="24" | ||
| GETH_CACHE_TRIE="44" | ||
| OP_GETH_NET_RESTRICT="10.0.0.0/8" | ||
|
|
||
| # LOGGING & MONITORING | ||
| # ------------------ | ||
| OP_NODE_LOG_LEVEL=info | ||
| OP_NODE_LOG_FORMAT="json" | ||
| OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log | ||
| OP_NODE_VERIFIER_L1_CONFS=4 | ||
| OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true | ||
| OP_NODE_METRICS_ENABLED="true" | ||
| OP_NODE_METRICS_ADDR=0.0.0.0 | ||
| OP_NODE_METRICS_PORT="7300" | ||
| STATSD_ADDRESS="172.17.0.1" | ||
|
|
||
| # OPTIONAL SETTINGS | ||
| # =============== | ||
|
|
||
| # ETHSTATS MONITORING (OPTIONAL - UNCOMMENT TO ENABLE) | ||
| # OP_GETH_ETH_STATS=nodename:secret@host:port | ||
| # OP_NETHERMIND_ETHSTATS_ENABLED=true | ||
| # OP_NETHERMIND_ETHSTATS_NODE_NAME=NethermindNode | ||
| # OP_NETHERMIND_ETHSTATS_ENDPOINT=ethstats_endpoint | ||
|
|
||
| # OP_NODE_L1_TRUST_RPC allows for faster syncing, but should be used *only* if your L1 RPC node | ||
| # is fully trusted. It also allows op-node to work with clients such as Erigon that do not | ||
| # support storage proofs: | ||
| # TRUSTED RPC MODE (OPTIONAL - UNCOMMENT TO ENABLE) | ||
| # OP_NODE_L1_TRUST_RPC=true | ||
|
|
||
| # SNAP SYNC | ||
| # NOTE: This feature is experimental and may lead to syncing issues, delays or difficulties as a result of inability to find peers. We recommend running a full or archive node for production purposes. | ||
| # To enable snap sync, uncomment and set the env vars below: | ||
| # OP_NODE_SYNCMODE=execution-layer | ||
| # SNAP SYNC (OPTIONAL EXPERIMENTAL FEATURE - UNCOMMENT TO ENABLE) | ||
| # NOTE: This feature is experimental and may lead to syncing issues | ||
| # OP_GETH_BOOTNODES=enode://87a32fd13bd596b2ffca97020e31aef4ddcc1bbd4b95bb633d16c1329f654f34049ed240a36b449fda5e5225d70fe40bc667f53c304b71f8e68fc9d448690b51@3.231.138.188:30301,enode://ca21ea8f176adb2e229ce2d700830c844af0ea941a1d8152a9513b966fe525e809c3a6c73a2c18a12b74ed6ec4380edf91662778fe0b79f6a591236e49e176f9@184.72.129.189:30301,enode://acf4507a211ba7c1e52cdf4eef62cdc3c32e7c9c47998954f7ba024026f9a6b2150cd3f0b734d9c78e507ab70d59ba61dfe5c45e1078c7ad0775fb251d7735a2@3.220.145.177:30301,enode://8a5a5006159bf079d06a04e5eceab2a1ce6e0f721875b2a9c96905336219dbe14203d38f70f3754686a6324f786c2f9852d8c0dd3adac2d080f4db35efc678c5@3.231.11.52:30301,enode://cdadbe835308ad3557f9a1de8db411da1a260a98f8421d62da90e71da66e55e98aaa8e90aa7ce01b408a54e4bd2253d701218081ded3dbe5efbbc7b41d7cef79@54.198.153.150:30301 | ||
| # OP_NETHERMIND_BOOTNODES=enode://87a32fd13bd596b2ffca97020e31aef4ddcc1bbd4b95bb633d16c1329f654f34049ed240a36b449fda5e5225d70fe40bc667f53c304b71f8e68fc9d448690b51@3.231.138.188:30301,enode://ca21ea8f176adb2e229ce2d700830c844af0ea941a1d8152a9513b966fe525e809c3a6c73a2c18a12b74ed6ec4380edf91662778fe0b79f6a591236e49e176f9@184.72.129.189:30301,enode://acf4507a211ba7c1e52cdf4eef62cdc3c32e7c9c47998954f7ba024026f9a6b2150cd3f0b734d9c78e507ab70d59ba61dfe5c45e1078c7ad0775fb251d7735a2@3.220.145.177:30301,enode://8a5a5006159bf079d06a04e5eceab2a1ce6e0f721875b2a9c96905336219dbe14203d38f70f3754686a6324f786c2f9852d8c0dd3adac2d080f4db35efc678c5@3.231.11.52:30301,enode://cdadbe835308ad3557f9a1de8db411da1a260a98f8421d62da90e71da66e55e98aaa8e90aa7ce01b408a54e4bd2253d701218081ded3dbe5efbbc7b41d7cef79@54.198.153.150:30301 | ||
| # OP_GETH_SYNCMODE=snap | ||
|
|
||
| # For Flashblocks node | ||
| # RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws | ||
| # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) | ||
| # RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,53 +1,98 @@ | ||
| # BASE SEPOLIA TESTNET NODE CONFIGURATION | ||
| # ================================== | ||
|
|
||
| # NETWORK CONFIGURATION | ||
| # -------------------- | ||
| RETH_CHAIN=base-sepolia | ||
| OP_NODE_NETWORK=base-sepolia | ||
| OP_GETH_OP_NETWORK=base-sepolia | ||
|
|
||
| # BASE SEQUENCER ENDPOINTS | ||
| # ----------------------- | ||
| RETH_SEQUENCER_HTTP=https://sepolia-sequencer.base.org | ||
| OP_GETH_SEQUENCER_HTTP=https://sepolia-sequencer.base.org | ||
| OP_SEQUENCER_HTTP=https://sepolia-sequencer.base.org | ||
| OP_GETH_SEQUENCER_HTTP=https://sepolia-sequencer.base.org | ||
| OP_RETH_SEQUENCER_HTTP=https://sepolia-sequencer.base.org | ||
|
|
||
| # [optional] used to enable geth stats: | ||
| # OP_GETH_ETH_STATS=nodename:secret@host:port | ||
| # OP_NETHERMIND_ETHSTATS_ENABLED=true | ||
| # OP_NETHERMIND_ETHSTATS_NODE_NAME=NethermindNode | ||
| # OP_NETHERMIND_ETHSTATS_ENDPOINT=ethstats_endpoint | ||
|
|
||
| # [required] replace with your preferred L1 (Ethereum, not Base) node RPC URL: | ||
| OP_NODE_L1_ETH_RPC=https://rpc.sepolia.org | ||
| # SYNC CONFIGURATION | ||
| # ----------------- | ||
| OP_NODE_SYNCMODE=execution-layer | ||
| OP_NODE_VERIFIER_L1_CONFS=4 | ||
| OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true | ||
|
|
||
| # [required] replace with your preferred L1 CL beacon endpoint: | ||
| OP_NODE_L1_BEACON=https://your.sepolia.beacon.node/endpoint-here | ||
| # [REQUIRED] L1 CONFIGURATION | ||
| # -------------------------- | ||
| # Replace these values with your L1 (Ethereum) node endpoints | ||
| OP_NODE_L1_ETH_RPC=<your-preferred-l1-rpc> | ||
| OP_NODE_L1_BEACON=<your-preferred-l1-beacon> | ||
| OP_NODE_L1_BEACON_ARCHIVER=<your-preferred-l1-beacon-archiver> | ||
| OP_NODE_L1_BEACON_FETCH_ALL_SIDECARS="true" | ||
| OP_NODE_L1_RPC_KIND="debug_geth" | ||
wbnns marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| OP_NODE_L1_TRUST_RPC="false" | ||
|
|
||
| # auth secret used by op-geth engine API: | ||
| # ENGINE CONFIGURATION | ||
| # ------------------- | ||
| OP_NODE_L2_ENGINE_KIND=reth | ||
| OP_NODE_L2_ENGINE_RPC=ws://execution:8551 | ||
| OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt | ||
| OP_NODE_L2_ENGINE_AUTH_RAW=688f5d737bad920bdfb2fc2f488d6b6209eebda1dae949a8de91398d932c517a | ||
|
|
||
| OP_NODE_L2_ENGINE_AUTH=/tmp/engine-auth-jwt | ||
| OP_NODE_L2_ENGINE_RPC=ws://execution:8551 | ||
| OP_NODE_LOG_LEVEL=info | ||
| OP_NODE_METRICS_ADDR=0.0.0.0 | ||
| OP_NODE_METRICS_ENABLED=true | ||
| OP_NODE_METRICS_PORT=7300 | ||
| OP_NODE_NETWORK=base-sepolia | ||
| # P2P CONFIGURATION | ||
| # --------------- | ||
| OP_NODE_P2P_AGENT=base | ||
| OP_NODE_P2P_BOOTNODES=enr:-J64QBwRIWAco7lv6jImSOjPU_W266lHXzpAS5YOh7WmgTyBZkgLgOwo_mxKJq3wz2XRbs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b3BzdGFja4OFQgCJc2VjcDI1NmsxoQJwoS7tzwxqXSyFL7g0JM-KWVbgvjfB8JA__T7yY_cYboN0Y3CCJAaDdWRwgiQG,enr:-J24QHmGyBwUZXIcsGYMaUqGGSl4CFdx9Tozu-vQCn5bHIQbR7On7dZbU61vYvfrJr30t0iahSqhc64J46MnUO2JvQaGAYiOoCKKgmlkgnY0gmlwhAPnCzSHb3BzdGFja4OFQgCJc2VjcDI1NmsxoQINc4fSijfbNIiGhcgvwjsjxVFJHUstK9L1T8OTKUjgloN0Y3CCJAaDdWRwgiQG,enr:-J24QG3ypT4xSu0gjb5PABCmVxZqBjVw9ca7pvsI8jl4KATYAnxBmfkaIuEqy9sKvDHKuNCsy57WwK9wTt2aQgcaDDyGAYiOoGAXgmlkgnY0gmlwhDbGmZaHb3BzdGFja4OFQgCJc2VjcDI1NmsxoQIeAK_--tcLEiu7HvoUlbV52MspE0uCocsx1f_rYvRenIN0Y3CCJAaDdWRwgiQG | ||
|
|
||
| # RETH CONFIGURATION | ||
| # ---------------- | ||
| OP_RETH_DISABLE_DISCOVERY="false" | ||
| OP_RETH_DISABLE_TX_POOL_GOSSIP="true" | ||
| OP_RETH_OP_NETWORK="base" | ||
|
|
||
| # RPC CONFIGURATION | ||
| # --------------- | ||
| OP_NODE_RPC_ADDR=0.0.0.0 | ||
| OP_NODE_RPC_PORT=8545 | ||
|
|
||
| # GETH CACHE SETTINGS | ||
| # ----------------- | ||
| GETH_CACHE="20480" # 20GB | ||
| GETH_CACHE_DATABASE="20" # 4GB | ||
| GETH_CACHE_GC="12" | ||
| GETH_CACHE_SNAPSHOT="24" | ||
| GETH_CACHE_TRIE="44" | ||
| OP_GETH_NET_RESTRICT="10.0.0.0/8" | ||
|
|
||
| # LOGGING & MONITORING | ||
| # ------------------ | ||
| OP_NODE_LOG_LEVEL=info | ||
| OP_NODE_LOG_FORMAT="json" | ||
| OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log | ||
| OP_NODE_VERIFIER_L1_CONFS=4 | ||
| OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true | ||
| OP_NODE_METRICS_ENABLED="true" | ||
| OP_NODE_METRICS_ADDR=0.0.0.0 | ||
| OP_NODE_METRICS_PORT="7300" | ||
| STATSD_ADDRESS="172.17.0.1" | ||
|
|
||
| # OPTIONAL SETTINGS | ||
| # =============== | ||
|
|
||
| # ETHSTATS MONITORING (OPTIONAL - UNCOMMENT TO ENABLE) | ||
| # OP_GETH_ETH_STATS=nodename:secret@host:port | ||
| # OP_NETHERMIND_ETHSTATS_ENABLED=true | ||
| # OP_NETHERMIND_ETHSTATS_NODE_NAME=NethermindNode | ||
| # OP_NETHERMIND_ETHSTATS_ENDPOINT=ethstats_endpoint | ||
|
|
||
| # OP_NODE_L1_TRUST_RPC allows for faster syncing, but should be used *only* if your L1 RPC node | ||
| # is fully trusted. It also allows op-node to work with clients such as Erigon that do not | ||
| # support storage proofs: | ||
| # TRUSTED RPC MODE (OPTIONAL - UNCOMMENT TO ENABLE) | ||
| # OP_NODE_L1_TRUST_RPC=true | ||
|
|
||
| # SNAP SYNC | ||
| # NOTE: This feature is experimental and may lead to syncing issues, delays or difficulties as a result of inability to find peers. We recommend running a full or archive node for production purposes. | ||
| # To enable snap sync, set env vars below: | ||
| # OP_NODE_SYNCMODE=execution-layer | ||
| # OP_GETH_BOOTNODES=enode://548f715f3fc388a7c917ba644a2f16270f1ede48a5d88a4d14ea287cc916068363f3092e39936f1a3e7885198bef0e5af951f1d7b1041ce8ba4010917777e71f@18.210.176.114:30301,enode://6f10052847a966a725c9f4adf6716f9141155b99a0fb487fea3f51498f4c2a2cb8d534e680ee678f9447db85b93ff7c74562762c3714783a7233ac448603b25f@107.21.251.55:30301 | ||
| # OP_NETHERMIND_BOOTNODES=enode://548f715f3fc388a7c917ba644a2f16270f1ede48a5d88a4d14ea287cc916068363f3092e39936f1a3e7885198bef0e5af951f1d7b1041ce8ba4010917777e71f@18.210.176.114:30301,enode://6f10052847a966a725c9f4adf6716f9141155b99a0fb487fea3f51498f4c2a2cb8d534e680ee678f9447db85b93ff7c74562762c3714783a7233ac448603b25f@107.21.251.55:30301 | ||
| # SNAP SYNC (OPTIONAL EXPERIMENTAL FEATURE - UNCOMMENT TO ENABLE) | ||
| # NOTE: This feature is experimental and may lead to syncing issues | ||
| # OP_GETH_BOOTNODES=enode://87a32fd13bd596b2ffca97020e31aef4ddcc1bbd4b95bb633d16c1329f654f34049ed240a36b449fda5e5225d70fe40bc667f53c304b71f8e68fc9d448690b51@3.231.138.188:30301,enode://ca21ea8f176adb2e229ce2d700830c844af0ea941a1d8152a9513b966fe525e809c3a6c73a2c18a12b74ed6ec4380edf91662778fe0b79f6a591236e49e176f9@184.72.129.189:30301,enode://acf4507a211ba7c1e52cdf4eef62cdc3c32e7c9c47998954f7ba024026f9a6b2150cd3f0b734d9c78e507ab70d59ba61dfe5c45e1078c7ad0775fb251d7735a2@3.220.145.177:30301,enode://8a5a5006159bf079d06a04e5eceab2a1ce6e0f721875b2a9c96905336219dbe14203d38f70f3754686a6324f786c2f9852d8c0dd3adac2d080f4db35efc678c5@3.231.11.52:30301,enode://cdadbe835308ad3557f9a1de8db411da1a260a98f8421d62da90e71da66e55e98aaa8e90aa7ce01b408a54e4bd2253d701218081ded3dbe5efbbc7b41d7cef79@54.198.153.150:30301 | ||
| # OP_NETHERMIND_BOOTNODES=enode://87a32fd13bd596b2ffca97020e31aef4ddcc1bbd4b95bb633d16c1329f654f34049ed240a36b449fda5e5225d70fe40bc667f53c304b71f8e68fc9d448690b51@3.231.138.188:30301,enode://ca21ea8f176adb2e229ce2d700830c844af0ea941a1d8152a9513b966fe525e809c3a6c73a2c18a12b74ed6ec4380edf91662778fe0b79f6a591236e49e176f9@184.72.129.189:30301,enode://acf4507a211ba7c1e52cdf4eef62cdc3c32e7c9c47998954f7ba024026f9a6b2150cd3f0b734d9c78e507ab70d59ba61dfe5c45e1078c7ad0775fb251d7735a2@3.220.145.177:30301,enode://8a5a5006159bf079d06a04e5eceab2a1ce6e0f721875b2a9c96905336219dbe14203d38f70f3754686a6324f786c2f9852d8c0dd3adac2d080f4db35efc678c5@3.231.11.52:30301,enode://cdadbe835308ad3557f9a1de8db411da1a260a98f8421d62da90e71da66e55e98aaa8e90aa7ce01b408a54e4bd2253d701218081ded3dbe5efbbc7b41d7cef79@54.198.153.150:30301 | ||
| # OP_GETH_SYNCMODE=snap | ||
|
|
||
| # For Flashblocks node | ||
| # FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE) | ||
| # RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.