slug resolution: derive from dRPC chains.yaml, no in-code name heuristics
Regenerated by the expand_config.py redesign (see vibe-node commit). Slug corrections, each verified present in chains.yaml: soneium-minato-sepolia x5: soneium (MAINNET!) -> soneium-minato avalanche-fuji x5: avalanche (MAINNET!) -> avalanche-fuji thundercore-venus: thundercore (MAINNET!) -> thundercore-testnet core-pigeon: core-pigeon -> core-testnet zircuit-garfield: zircuit-testnet -> zircuit-garfield-testnet sonic-testnet x2: sonic-testnet -> sonic-testnet-v2 ronin-saigon x3: (none) -> ronin-saigon everclear-sepolia x2: dropped (chain shut down 2026-06-05) fuse-spark x3 (hand-written, fuse has chains: null in context.yml): x-upstreams REMOVED - Sparknet is absent from chains.yaml; it declared the mainnet slug. Verified: 310 testnet composes, 0 wrong-slug failures (was 22); 0 mainnet composes carrying a testnet slug; 0 mainnet slug changes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -116,7 +116,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: everclear-sepolia
|
||||
chain:
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -117,7 +117,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: everclear-sepolia
|
||||
chain:
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -107,7 +107,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: avalanche
|
||||
chain: avalanche-fuji
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -107,7 +107,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: avalanche
|
||||
chain: avalanche-fuji
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -107,7 +107,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: avalanche
|
||||
chain: avalanche-fuji
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -107,7 +107,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: avalanche
|
||||
chain: avalanche-fuji
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -107,7 +107,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: avalanche
|
||||
chain: avalanche-fuji
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -521,7 +521,7 @@
|
||||
"chain": "sepolia",
|
||||
"client": "nitro",
|
||||
"compose_file": "arb/nitro/connext-sepolia-nitro-archive-leveldb-hash",
|
||||
"drpc_chain": "everclear-sepolia",
|
||||
"drpc_chain": null,
|
||||
"features": [
|
||||
"hash",
|
||||
"leveldb"
|
||||
@@ -539,7 +539,7 @@
|
||||
"chain": "sepolia",
|
||||
"client": "nitro",
|
||||
"compose_file": "arb/nitro/connext-sepolia-nitro-pruned-pebble-path",
|
||||
"drpc_chain": "everclear-sepolia",
|
||||
"drpc_chain": null,
|
||||
"features": [
|
||||
"path",
|
||||
"pebble"
|
||||
@@ -1092,7 +1092,7 @@
|
||||
"chain": "fuji",
|
||||
"client": "go",
|
||||
"compose_file": "avalanche/go/avalanche-fuji-go-archive-leveldb",
|
||||
"drpc_chain": "avalanche",
|
||||
"drpc_chain": "avalanche-fuji",
|
||||
"features": [
|
||||
"leveldb"
|
||||
],
|
||||
@@ -1109,7 +1109,7 @@
|
||||
"chain": "fuji",
|
||||
"client": "go",
|
||||
"compose_file": "avalanche/go/avalanche-fuji-go-pruned-leveldb",
|
||||
"drpc_chain": "avalanche",
|
||||
"drpc_chain": "avalanche-fuji",
|
||||
"features": [
|
||||
"leveldb"
|
||||
],
|
||||
@@ -1126,7 +1126,7 @@
|
||||
"chain": "fuji",
|
||||
"client": "go",
|
||||
"compose_file": "avalanche/go/avalanche-fuji-go-pruned-pebbledb",
|
||||
"drpc_chain": "avalanche",
|
||||
"drpc_chain": "avalanche-fuji",
|
||||
"features": [
|
||||
"leveldb"
|
||||
],
|
||||
@@ -1912,7 +1912,7 @@
|
||||
"chain": "buffalo",
|
||||
"client": "core",
|
||||
"compose_file": "core/core/core-buffalo-core-pruned-pebble-path",
|
||||
"drpc_chain": "core-testnet",
|
||||
"drpc_chain": null,
|
||||
"features": [
|
||||
"path",
|
||||
"pebble"
|
||||
@@ -2002,7 +2002,7 @@
|
||||
"chain": "pigeon",
|
||||
"client": "core",
|
||||
"compose_file": "core/core/core-pigeon-core-pruned-pebble-path",
|
||||
"drpc_chain": "core-pigeon",
|
||||
"drpc_chain": "core-testnet",
|
||||
"features": [
|
||||
"path",
|
||||
"pebble"
|
||||
@@ -2196,7 +2196,7 @@
|
||||
"bonsai"
|
||||
],
|
||||
"network": "ethereum",
|
||||
"node": null,
|
||||
"node": "nimbus",
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
@@ -4429,7 +4429,7 @@
|
||||
"trace"
|
||||
],
|
||||
"network": "metal",
|
||||
"node": "kona",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
@@ -4446,7 +4446,7 @@
|
||||
"trace"
|
||||
],
|
||||
"network": "metal",
|
||||
"node": "kona",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
@@ -4624,11 +4624,28 @@
|
||||
"soneium-mainnet-op-erigon-archive-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "minato-sepolia",
|
||||
"client": "erigon",
|
||||
"compose_file": "op/erigon/soneium-minato-sepolia-op-erigon-archive-trace",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "soneium",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
"volumes": [
|
||||
"soneium-minato-sepolia-op-erigon-archive-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "sepolia",
|
||||
"client": "erigon",
|
||||
"compose_file": "op/erigon/soneium-miniato-sepolia-op-erigon-archive-trace",
|
||||
"drpc_chain": "soneium",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
@@ -5018,7 +5035,7 @@
|
||||
"leveldb"
|
||||
],
|
||||
"network": "bnb",
|
||||
"node": "node",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
@@ -5036,7 +5053,7 @@
|
||||
"pebble"
|
||||
],
|
||||
"network": "bnb",
|
||||
"node": "node",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
@@ -5054,7 +5071,7 @@
|
||||
"leveldb"
|
||||
],
|
||||
"network": "bnb",
|
||||
"node": "node",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
@@ -5072,7 +5089,7 @@
|
||||
"pebble"
|
||||
],
|
||||
"network": "bnb",
|
||||
"node": "node",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
@@ -6199,7 +6216,7 @@
|
||||
"leveldb"
|
||||
],
|
||||
"network": "metal",
|
||||
"node": "kona",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
@@ -6235,7 +6252,7 @@
|
||||
"pebble"
|
||||
],
|
||||
"network": "metal",
|
||||
"node": "kona",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
@@ -6271,7 +6288,7 @@
|
||||
"leveldb"
|
||||
],
|
||||
"network": "metal",
|
||||
"node": "kona",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
@@ -6307,7 +6324,7 @@
|
||||
"pebble"
|
||||
],
|
||||
"network": "metal",
|
||||
"node": "kona",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
@@ -6787,11 +6804,47 @@
|
||||
"soneium-mainnet-op-geth-pruned-pebble-path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "minato-sepolia",
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/soneium-minato-sepolia-op-geth-archive-leveldb-hash",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"hash",
|
||||
"leveldb"
|
||||
],
|
||||
"network": "soneium",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
"volumes": [
|
||||
"soneium-minato-sepolia-op-geth-archive-leveldb-hash"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "minato-sepolia",
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/soneium-minato-sepolia-op-geth-pruned-pebble-path",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"path",
|
||||
"pebble"
|
||||
],
|
||||
"network": "soneium",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"soneium-minato-sepolia-op-geth-pruned-pebble-path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "sepolia",
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/soneium-miniato-sepolia-op-geth-archive-leveldb-hash",
|
||||
"drpc_chain": "soneium",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"hash",
|
||||
"leveldb"
|
||||
@@ -6809,7 +6862,7 @@
|
||||
"chain": "sepolia",
|
||||
"client": "geth",
|
||||
"compose_file": "op/geth/soneium-miniato-sepolia-op-geth-pruned-pebble-path",
|
||||
"drpc_chain": "soneium",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"path",
|
||||
"pebble"
|
||||
@@ -8173,7 +8226,7 @@
|
||||
"trace"
|
||||
],
|
||||
"network": "metal",
|
||||
"node": "kona",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
@@ -8490,11 +8543,45 @@
|
||||
"soneium-mainnet-op-reth-pruned-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "minato-sepolia",
|
||||
"client": "reth",
|
||||
"compose_file": "op/reth/soneium-minato-sepolia-op-reth-archive-trace",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "soneium",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "archive",
|
||||
"volumes": [
|
||||
"soneium-minato-sepolia-op-reth-archive-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "minato-sepolia",
|
||||
"client": "reth",
|
||||
"compose_file": "op/reth/soneium-minato-sepolia-op-reth-pruned-trace",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "soneium",
|
||||
"node": "node",
|
||||
"relay": null,
|
||||
"stack": "op",
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"soneium-minato-sepolia-op-reth-pruned-trace"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "sepolia",
|
||||
"client": "reth",
|
||||
"compose_file": "op/reth/soneium-miniato-sepolia-op-reth-archive-trace",
|
||||
"drpc_chain": "soneium",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
@@ -8511,7 +8598,7 @@
|
||||
"chain": "sepolia",
|
||||
"client": "reth",
|
||||
"compose_file": "op/reth/soneium-miniato-sepolia-op-reth-pruned-trace",
|
||||
"drpc_chain": "soneium",
|
||||
"drpc_chain": "soneium-minato",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
@@ -8749,7 +8836,7 @@
|
||||
"chain": "garfield",
|
||||
"client": "reth",
|
||||
"compose_file": "op/reth/zircuit-garfield-op-reth-pruned-trace",
|
||||
"drpc_chain": "zircuit-testnet",
|
||||
"drpc_chain": "zircuit-garfield-testnet",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
@@ -9187,7 +9274,7 @@
|
||||
"chain": "saigon",
|
||||
"client": "ronin",
|
||||
"compose_file": "ronin/ronin/ronin-saigon-ronin-archive-leveldb-hash",
|
||||
"drpc_chain": null,
|
||||
"drpc_chain": "ronin-saigon",
|
||||
"features": [
|
||||
"hash",
|
||||
"leveldb"
|
||||
@@ -9205,7 +9292,7 @@
|
||||
"chain": "saigon",
|
||||
"client": "ronin",
|
||||
"compose_file": "ronin/ronin/ronin-saigon-ronin-pruned-pebble-hash",
|
||||
"drpc_chain": null,
|
||||
"drpc_chain": "ronin-saigon",
|
||||
"features": [
|
||||
"hash",
|
||||
"pebble"
|
||||
@@ -9223,7 +9310,7 @@
|
||||
"chain": "saigon",
|
||||
"client": "ronin",
|
||||
"compose_file": "ronin/ronin/ronin-saigon-ronin-pruned-pebble-path",
|
||||
"drpc_chain": null,
|
||||
"drpc_chain": "ronin-saigon",
|
||||
"features": [
|
||||
"hash",
|
||||
"pebble"
|
||||
@@ -9383,7 +9470,7 @@
|
||||
"pebble"
|
||||
],
|
||||
"network": "shibarium",
|
||||
"node": "heimdall",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "archive",
|
||||
@@ -9402,7 +9489,7 @@
|
||||
"pebble"
|
||||
],
|
||||
"network": "shibarium",
|
||||
"node": "heimdall",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
@@ -9481,7 +9568,7 @@
|
||||
"chain": "testnet",
|
||||
"client": "sonic",
|
||||
"compose_file": "sonic/sonic/sonic-testnet-sonic-archive",
|
||||
"drpc_chain": "sonic-testnet",
|
||||
"drpc_chain": "sonic-testnet-v2",
|
||||
"features": [],
|
||||
"network": "sonic",
|
||||
"node": null,
|
||||
@@ -9496,7 +9583,7 @@
|
||||
"chain": "testnet",
|
||||
"client": "sonic",
|
||||
"compose_file": "sonic/sonic/sonic-testnet-sonic-pruned",
|
||||
"drpc_chain": "sonic-testnet",
|
||||
"drpc_chain": "sonic-testnet-v2",
|
||||
"features": [],
|
||||
"network": "sonic",
|
||||
"node": null,
|
||||
@@ -10038,7 +10125,7 @@
|
||||
"trace"
|
||||
],
|
||||
"network": "taiko",
|
||||
"node": "driver",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "archive",
|
||||
@@ -10055,7 +10142,7 @@
|
||||
"trace"
|
||||
],
|
||||
"network": "taiko",
|
||||
"node": "driver",
|
||||
"node": null,
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
@@ -10193,7 +10280,7 @@
|
||||
"chain": "zeus",
|
||||
"client": "thunder",
|
||||
"compose_file": "thundercore/thunder/thundercore-zeus-thunder-pruned-leveldb-hash",
|
||||
"drpc_chain": "thundercore",
|
||||
"drpc_chain": "thundercore-testnet",
|
||||
"features": [
|
||||
"hash",
|
||||
"leveldb"
|
||||
|
||||
@@ -115,7 +115,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: core-testnet
|
||||
chain:
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -115,7 +115,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: core-pigeon
|
||||
chain: core-testnet
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -96,26 +96,8 @@ services:
|
||||
volumes:
|
||||
fuse-spark-nethermind-archive-rocksdb-trace:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: fuse
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
# fuse-spark (Sparknet, chainid 123) is ABSENT from dRPC chains.yaml - not a
|
||||
# servable dRPC chain. x-upstreams removed 2026-08-05 (it declared the MAINNET
|
||||
# slug "fuse", which would have advertised testnet data as mainnet). This file is
|
||||
# hand-written (fuse has chains: null in context.yml); onboarding it to generation
|
||||
# is the clean long-term fix. See chain-aliases.yaml fuse/spark: null.
|
||||
|
||||
@@ -99,26 +99,8 @@ services:
|
||||
volumes:
|
||||
fuse-spark-nethermind-minimal-rocksdb-trace:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: fuse
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
# fuse-spark (Sparknet, chainid 123) is ABSENT from dRPC chains.yaml - not a
|
||||
# servable dRPC chain. x-upstreams removed 2026-08-05 (it declared the MAINNET
|
||||
# slug "fuse", which would have advertised testnet data as mainnet). This file is
|
||||
# hand-written (fuse has chains: null in context.yml); onboarding it to generation
|
||||
# is the clean long-term fix. See chain-aliases.yaml fuse/spark: null.
|
||||
|
||||
@@ -94,26 +94,8 @@ services:
|
||||
volumes:
|
||||
fuse-spark-nethermind-pruned-rocksdb-trace:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: fuse
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
# fuse-spark (Sparknet, chainid 123) is ABSENT from dRPC chains.yaml - not a
|
||||
# servable dRPC chain. x-upstreams removed 2026-08-05 (it declared the MAINNET
|
||||
# slug "fuse", which would have advertised testnet data as mainnet). This file is
|
||||
# hand-written (fuse has chains: null in context.yml); onboarding it to generation
|
||||
# is the clean long-term fix. See chain-aliases.yaml fuse/spark: null.
|
||||
|
||||
211
op/erigon/soneium-minato-sepolia-op-erigon-archive-trace.yml
Normal file
211
op/erigon/soneium-minato-sepolia-op-erigon-archive-trace.yml
Normal file
@@ -0,0 +1,211 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# mkdir rpc && cd rpc
|
||||
#
|
||||
# git init
|
||||
# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git
|
||||
# git fetch origin vibe
|
||||
# git checkout origin/vibe
|
||||
#
|
||||
# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret
|
||||
#
|
||||
# env
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:op/erigon/soneium-minato-sepolia-op-erigon-archive-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia-op-erigon \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
soneium-minato-sepolia-op-erigon:
|
||||
image: ${SONEIUM_ERIGON_IMAGE:-testinprod/op-erigon}:${SONEIUM_MINATO_SEPOLIA_ERIGON_VERSION:-v2.61.3-0.10.1}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||
user: root
|
||||
ports:
|
||||
- 12283:12283
|
||||
- 12283:12283/udp
|
||||
- 32283:32283
|
||||
- 32283:32283/udp
|
||||
- 37283:37283
|
||||
- 37283:37283/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 6060
|
||||
- 8551
|
||||
entrypoint: [erigon]
|
||||
command:
|
||||
- --chain=soneium-minato-sepolia
|
||||
- --datadir=/root/.local/share/erigon
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --p2p.allowed-ports=32283
|
||||
- --p2p.allowed-ports=37283
|
||||
- --port=12283
|
||||
- --rollup.sequencerhttp=https://rpc.minato.soneium.org
|
||||
- --rpc.gascap=6000000000
|
||||
- --rpc.returndata.limit=1500000
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=eth,erigon,web3,net,debug,trace,txpool,admin,engine
|
||||
- --http.port=8545
|
||||
- --http.vhosts=*
|
||||
- --ws
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
- --authrpc.vhosts=*
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${SONEIUM_MINATO_SEPOLIA_OP_ERIGON_ARCHIVE_TRACE_DATA:-soneium-minato-sepolia-op-erigon-archive-trace}:/root/.local/share/erigon
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=6060
|
||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-erigon-archive-trace-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-erigon
|
||||
- traefik.http.services.soneium-minato-sepolia-op-erigon-archive-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia-op-erigon`) || Path(`/soneium-minato-sepolia-op-erigon/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.rule=Path(`/soneium-minato-sepolia-op-erigon`) || Path(`/soneium-minato-sepolia-op-erigon/`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace.middlewares=soneium-minato-sepolia-op-erigon-archive-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
soneium-minato-sepolia-op-erigon-node:
|
||||
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
|
||||
ports:
|
||||
- 17283:17283
|
||||
- 17283:17283/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_KIND=erigon
|
||||
- OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-op-erigon:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- 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=soneium-minato-sepolia
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=17283
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=17283
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=9545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=execution-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
soneium-minato-sepolia-op-erigon:
|
||||
condition: service_started
|
||||
restart: true
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=7300
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-erigon-archive-trace-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-erigon/node
|
||||
- traefik.http.services.soneium-minato-sepolia-op-erigon-archive-trace-node.loadbalancer.server.port=9545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia-op-erigon/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.rule=PathPrefix(`/soneium-minato-sepolia-op-erigon/node`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-erigon-archive-trace-node.middlewares=soneium-minato-sepolia-op-erigon-archive-trace-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
soneium-minato-sepolia-op-erigon-archive-trace:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
# standard geth and erigon
|
||||
- name: debug_accountRange
|
||||
- name: debug_getModifiedAccountsByNumber
|
||||
- name: debug_getModifiedAccountsByHash
|
||||
# non standard geth and erigon
|
||||
- name: eth_getRawTransactionByHash
|
||||
- name: eth_getRawTransactionByBlockHashAndIndex
|
||||
# non standard erigon only
|
||||
- name: eth_getBlockReceipts
|
||||
- name: eth_protocolVersion
|
||||
- name: eth_callMany
|
||||
- name: eth_callBundle
|
||||
- name: debug_accountAt
|
||||
- name: debug_traceCallMany
|
||||
- name: erigon_getHeaderByHash
|
||||
- name: erigon_getBlockReceiptsByBlockHash
|
||||
- name: erigon_getHeaderByNumber
|
||||
- name: erigon_getLogsByHash
|
||||
- name: erigon_forks
|
||||
- name: erigon_getBlockByTimestamp
|
||||
- name: erigon_BlockNumber
|
||||
- name: erigon_getLatestLogs
|
||||
...
|
||||
@@ -69,7 +69,7 @@ services:
|
||||
- --p2p.allowed-ports=34735
|
||||
- --p2p.allowed-ports=39735
|
||||
- --port=14735
|
||||
- --rollup.sequencerhttp=https://rpc.soneium.org
|
||||
- --rollup.sequencerhttp=https://rpc.minato.soneium.org
|
||||
- --rpc.gascap=6000000000
|
||||
- --rpc.returndata.limit=1500000
|
||||
- --http
|
||||
@@ -176,7 +176,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
204
op/geth/soneium-minato-sepolia-op-geth-archive-leveldb-hash.yml
Normal file
204
op/geth/soneium-minato-sepolia-op-geth-archive-leveldb-hash.yml
Normal file
@@ -0,0 +1,204 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# mkdir rpc && cd rpc
|
||||
#
|
||||
# git init
|
||||
# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git
|
||||
# git fetch origin vibe
|
||||
# git checkout origin/vibe
|
||||
#
|
||||
# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret
|
||||
#
|
||||
# env
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:op/geth/soneium-minato-sepolia-op-geth-archive-leveldb-hash.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia-archive \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
soneium-minato-sepolia-archive:
|
||||
image: ${SONEIUM_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${SONEIUM_MINATO_SEPOLIA_GETH_VERSION:-v1.101702.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 11279:11279
|
||||
- 11279:11279/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 6060
|
||||
- 8551
|
||||
environment:
|
||||
- GETH_OP_NETWORK=soneium-minato-sepolia
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.minato.soneium.org
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --datadir=/data
|
||||
- --db.engine=leveldb
|
||||
- --gcmode=archive
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=11279
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=hash
|
||||
- --syncmode=full
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||
- --http.port=8545
|
||||
- --http.vhosts=*
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
- --authrpc.vhosts=*
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${SONEIUM_MINATO_SEPOLIA_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-soneium-minato-sepolia-op-geth-archive-leveldb-hash}:/data
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=6060
|
||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-archive
|
||||
- traefik.http.services.soneium-minato-sepolia-op-geth-archive-leveldb-hash.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia-archive`) || Path(`/soneium-minato-sepolia-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.rule=Path(`/soneium-minato-sepolia-archive`) || Path(`/soneium-minato-sepolia-archive/`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash.middlewares=soneium-minato-sepolia-op-geth-archive-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
soneium-minato-sepolia-archive-node:
|
||||
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
|
||||
ports:
|
||||
- 16279:16279
|
||||
- 16279:16279/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-archive:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- 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=soneium-minato-sepolia
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=16279
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=16279
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=9545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=execution-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
soneium-minato-sepolia-archive:
|
||||
condition: service_started
|
||||
restart: true
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=7300
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-archive/node
|
||||
- traefik.http.services.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.loadbalancer.server.port=9545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia-archive/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.rule=PathPrefix(`/soneium-minato-sepolia-archive/node`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-geth-archive-leveldb-hash-node.middlewares=soneium-minato-sepolia-op-geth-archive-leveldb-hash-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
soneium-minato-sepolia-op-geth-archive-leveldb-hash:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
methods:
|
||||
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
|
||||
...
|
||||
206
op/geth/soneium-minato-sepolia-op-geth-pruned-pebble-path.yml
Normal file
206
op/geth/soneium-minato-sepolia-op-geth-pruned-pebble-path.yml
Normal file
@@ -0,0 +1,206 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# mkdir rpc && cd rpc
|
||||
#
|
||||
# git init
|
||||
# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git
|
||||
# git fetch origin vibe
|
||||
# git checkout origin/vibe
|
||||
#
|
||||
# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret
|
||||
#
|
||||
# env
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:op/geth/soneium-minato-sepolia-op-geth-pruned-pebble-path.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
soneium-minato-sepolia:
|
||||
image: ${SONEIUM_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${SONEIUM_MINATO_SEPOLIA_GETH_VERSION:-v1.101702.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
user: root
|
||||
ports:
|
||||
- 12166:12166
|
||||
- 12166:12166/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 6060
|
||||
- 8551
|
||||
environment:
|
||||
- GETH_OP_NETWORK=soneium-minato-sepolia
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.minato.soneium.org
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --datadir=/data
|
||||
- --db.engine=pebble
|
||||
- --gcmode=full
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --port=12166
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=path
|
||||
- --syncmode=snap
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||
- --http.port=8545
|
||||
- --http.vhosts=*
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
- --authrpc.vhosts=*
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${SONEIUM_MINATO_SEPOLIA_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-soneium-minato-sepolia-op-geth-pruned-pebble-path}:/data
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=6060
|
||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-geth-pruned-pebble-path-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia
|
||||
- traefik.http.services.soneium-minato-sepolia-op-geth-pruned-pebble-path.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia`) || Path(`/soneium-minato-sepolia/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.rule=Path(`/soneium-minato-sepolia`) || Path(`/soneium-minato-sepolia/`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path.middlewares=soneium-minato-sepolia-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
soneium-minato-sepolia-node:
|
||||
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
|
||||
ports:
|
||||
- 17166:17166
|
||||
- 17166:17166/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- 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=soneium-minato-sepolia
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=17166
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=17166
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=9545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=execution-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
soneium-minato-sepolia:
|
||||
condition: service_started
|
||||
restart: true
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=7300
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-geth-pruned-pebble-path-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia/node
|
||||
- traefik.http.services.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.loadbalancer.server.port=9545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.rule=PathPrefix(`/soneium-minato-sepolia/node`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-geth-pruned-pebble-path-node.middlewares=soneium-minato-sepolia-op-geth-pruned-pebble-path-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
soneium-minato-sepolia-op-geth-pruned-pebble-path:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- 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
|
||||
...
|
||||
@@ -55,7 +55,7 @@ services:
|
||||
environment:
|
||||
- GETH_OP_NETWORK=soneium-miniato-sepolia
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.soneium.org
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.minato.soneium.org
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --datadir=/data
|
||||
@@ -176,7 +176,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -55,7 +55,7 @@ services:
|
||||
environment:
|
||||
- GETH_OP_NETWORK=soneium-miniato-sepolia
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.soneium.org
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.minato.soneium.org
|
||||
entrypoint: /bin/sh -c 'exec geth "$@"' --
|
||||
command:
|
||||
- --datadir=/data
|
||||
@@ -176,7 +176,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
195
op/reth/soneium-minato-sepolia-op-reth-archive-trace.yml
Normal file
195
op/reth/soneium-minato-sepolia-op-reth-archive-trace.yml
Normal file
@@ -0,0 +1,195 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# mkdir rpc && cd rpc
|
||||
#
|
||||
# git init
|
||||
# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git
|
||||
# git fetch origin vibe
|
||||
# git checkout origin/vibe
|
||||
#
|
||||
# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret
|
||||
#
|
||||
# env
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:op/reth/soneium-minato-sepolia-op-reth-archive-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia-op-reth \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
soneium-minato-sepolia-op-reth:
|
||||
image: ${SONEIUM_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${SONEIUM_MINATO_SEPOLIA_RETH_VERSION:-v2.3.3}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||
user: root
|
||||
ports:
|
||||
- 14829:14829
|
||||
- 14829:14829/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [op-reth, node]
|
||||
command:
|
||||
- --chain=soneium-minato-sepolia
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --discovery.addr=0.0.0.0
|
||||
- --discovery.port=14829
|
||||
- --discovery.v5.addr=0.0.0.0
|
||||
- --discovery.v5.port=14829
|
||||
- --engine.cross-block-cache-size=${SONEIUM_MINATO_SEPOLIA_RETH_STATE_CACHE:-4096}
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=14829
|
||||
- --rollup.sequencer-http=https://rpc.minato.soneium.org
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.max-blocks-per-filter=0
|
||||
- --rpc.max-connections=50000
|
||||
- --rpc.max-logs-per-response=0
|
||||
- --rpc.max-trace-filter-blocks=10000
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
|
||||
- --http.corsdomain=*
|
||||
- --http.port=8545
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${SONEIUM_MINATO_SEPOLIA_OP_RETH_ARCHIVE_TRACE_DATA:-soneium-minato-sepolia-op-reth-archive-trace}:/root/.local/share/reth
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-reth-archive-trace-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-reth
|
||||
- traefik.http.services.soneium-minato-sepolia-op-reth-archive-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia-op-reth`) || Path(`/soneium-minato-sepolia-op-reth/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.rule=Path(`/soneium-minato-sepolia-op-reth`) || Path(`/soneium-minato-sepolia-op-reth/`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace.middlewares=soneium-minato-sepolia-op-reth-archive-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
soneium-minato-sepolia-op-reth-node:
|
||||
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
|
||||
ports:
|
||||
- 19829:19829
|
||||
- 19829:19829/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_KIND=reth
|
||||
- OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-op-reth:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- 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=soneium-minato-sepolia
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=19829
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=19829
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=9545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=execution-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
soneium-minato-sepolia-op-reth:
|
||||
condition: service_started
|
||||
restart: true
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=7300
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-reth-archive-trace-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-reth/node
|
||||
- traefik.http.services.soneium-minato-sepolia-op-reth-archive-trace-node.loadbalancer.server.port=9545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia-op-reth/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.rule=PathPrefix(`/soneium-minato-sepolia-op-reth/node`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-reth-archive-trace-node.middlewares=soneium-minato-sepolia-op-reth-archive-trace-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
soneium-minato-sepolia-op-reth-archive-trace:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
- name: eth_maxPriorityFeePerGas
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
196
op/reth/soneium-minato-sepolia-op-reth-pruned-trace.yml
Normal file
196
op/reth/soneium-minato-sepolia-op-reth-pruned-trace.yml
Normal file
@@ -0,0 +1,196 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# mkdir rpc && cd rpc
|
||||
#
|
||||
# git init
|
||||
# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git
|
||||
# git fetch origin vibe
|
||||
# git checkout origin/vibe
|
||||
#
|
||||
# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret
|
||||
#
|
||||
# env
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:op/reth/soneium-minato-sepolia-op-reth-pruned-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/soneium-minato-sepolia-op-reth-pruned \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
soneium-minato-sepolia-op-reth-pruned:
|
||||
image: ${SONEIUM_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${SONEIUM_MINATO_SEPOLIA_RETH_VERSION:-v2.3.3}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
||||
net.core.somaxconn: 32768 # Higher connection queue
|
||||
# Memory/Connection Management
|
||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||
ulimits:
|
||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||
user: root
|
||||
ports:
|
||||
- 13724:13724
|
||||
- 13724:13724/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [op-reth, node]
|
||||
command:
|
||||
- --chain=soneium-minato-sepolia
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --discovery.addr=0.0.0.0
|
||||
- --discovery.port=13724
|
||||
- --discovery.v5.addr=0.0.0.0
|
||||
- --discovery.v5.port=13724
|
||||
- --engine.cross-block-cache-size=${SONEIUM_MINATO_SEPOLIA_RETH_STATE_CACHE:-4096}
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=13724
|
||||
- --rollup.sequencer-http=https://rpc.minato.soneium.org
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.max-blocks-per-filter=0
|
||||
- --rpc.max-connections=50000
|
||||
- --rpc.max-logs-per-response=0
|
||||
- --rpc.max-trace-filter-blocks=10000
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
|
||||
- --http.corsdomain=*
|
||||
- --http.port=8545
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=admin,debug,eth,net,trace,txpool,web3,rpc,reth,ots,flashbots,mev
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${SONEIUM_MINATO_SEPOLIA_OP_RETH_PRUNED_TRACE_DATA:-soneium-minato-sepolia-op-reth-pruned-trace}:/root/.local/share/reth
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-reth-pruned-trace-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-reth-pruned
|
||||
- traefik.http.services.soneium-minato-sepolia-op-reth-pruned-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/soneium-minato-sepolia-op-reth-pruned`) || Path(`/soneium-minato-sepolia-op-reth-pruned/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.rule=Path(`/soneium-minato-sepolia-op-reth-pruned`) || Path(`/soneium-minato-sepolia-op-reth-pruned/`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace.middlewares=soneium-minato-sepolia-op-reth-pruned-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
soneium-minato-sepolia-op-reth-pruned-node:
|
||||
image: ${SONEIUM_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${SONEIUM_MINATO_SEPOLIA_NODE_VERSION:-v1.19.2}
|
||||
ports:
|
||||
- 18724:18724
|
||||
- 18724:18724/udp
|
||||
environment:
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_SEPOLIA_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_ETH_RPC=${SONEIUM_MINATO_SEPOLIA_L1_EXECUTION_RPC:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_SEPOLIA_EXECUTION_KIND:-standard}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_SEPOLIA_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_KIND=reth
|
||||
- OP_NODE_L2_ENGINE_RPC=http://soneium-minato-sepolia-op-reth-pruned:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=true
|
||||
- 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=soneium-minato-sepolia
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=18724
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=18724
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=9545
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=execution-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
soneium-minato-sepolia-op-reth-pruned:
|
||||
condition: service_started
|
||||
restart: true
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=7300
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.soneium-minato-sepolia-op-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/soneium-minato-sepolia-op-reth-pruned/node
|
||||
- traefik.http.services.soneium-minato-sepolia-op-reth-pruned-trace-node.loadbalancer.server.port=9545
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/soneium-minato-sepolia-op-reth-pruned/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.rule=PathPrefix(`/soneium-minato-sepolia-op-reth-pruned/node`)}
|
||||
- traefik.http.routers.soneium-minato-sepolia-op-reth-pruned-trace-node.middlewares=soneium-minato-sepolia-op-reth-pruned-trace-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
soneium-minato-sepolia-op-reth-pruned-trace:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
- name: eth_maxPriorityFeePerGas
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
@@ -67,7 +67,7 @@ services:
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=11940
|
||||
- --rollup.sequencer-http=https://rpc.soneium.org
|
||||
- --rollup.sequencer-http=https://rpc.minato.soneium.org
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
- --rpc.gascap=600000000
|
||||
@@ -181,7 +181,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -68,7 +68,7 @@ services:
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=11094
|
||||
- --rollup.sequencer-http=https://rpc.soneium.org
|
||||
- --rollup.sequencer-http=https://rpc.minato.soneium.org
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
- --rpc.gascap=600000000
|
||||
@@ -182,7 +182,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: soneium
|
||||
chain: soneium-minato
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -184,7 +184,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: zircuit-testnet
|
||||
chain: zircuit-garfield-testnet
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -56,7 +56,7 @@ services:
|
||||
- DEPLOYMENT=test
|
||||
- ETHSTATS_ENDPOINT=d${DOMAIN}:WSyDMrhRBe111@ronin-stats-ws.roninchain.com:443
|
||||
- MINE=false
|
||||
- NETWORK_ID=2021
|
||||
- NETWORK_ID=202601
|
||||
- NETWORK_PORT=12612
|
||||
- PASSWORD=stupidpassword
|
||||
- STATE_SCHEME=hash
|
||||
@@ -110,7 +110,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain:
|
||||
chain: ronin-saigon
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -56,7 +56,7 @@ services:
|
||||
- DEPLOYMENT=test
|
||||
- ETHSTATS_ENDPOINT=d${DOMAIN}:WSyDMrhRBe111@ronin-stats-ws.roninchain.com:443
|
||||
- MINE=false
|
||||
- NETWORK_ID=2021
|
||||
- NETWORK_ID=202601
|
||||
- NETWORK_PORT=10493
|
||||
- PASSWORD=stupidpassword
|
||||
- STATE_SCHEME=hash
|
||||
@@ -110,7 +110,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain:
|
||||
chain: ronin-saigon
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -56,7 +56,7 @@ services:
|
||||
- DEPLOYMENT=test
|
||||
- ETHSTATS_ENDPOINT=d${DOMAIN}:WSyDMrhRBe111@ronin-stats-ws.roninchain.com:443
|
||||
- MINE=false
|
||||
- NETWORK_ID=2021
|
||||
- NETWORK_ID=202601
|
||||
- NETWORK_PORT=13559
|
||||
- PASSWORD=stupidpassword
|
||||
- STATE_SCHEME=path
|
||||
@@ -110,7 +110,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain:
|
||||
chain: ronin-saigon
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -126,7 +126,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: sonic-testnet
|
||||
chain: sonic-testnet-v2
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -126,7 +126,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: sonic-testnet
|
||||
chain: sonic-testnet-v2
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -89,7 +89,7 @@ x-upstreams:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: thundercore
|
||||
chain: thundercore-testnet
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
# this snapshots works https://services.shachopra.com/zero-gravity-galileo-testnet/0g-validator-snapshot
|
||||
|
||||
# Usage:
|
||||
@@ -72,7 +72,7 @@ services:
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --nat=extip:${IP}
|
||||
- --networkid=16601
|
||||
- --networkid=16602
|
||||
- --port=11172
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
|
||||
Reference in New Issue
Block a user