Compare commits

..

1 Commits

16 changed files with 30 additions and 147 deletions

View File

@@ -1,102 +0,0 @@
[Eth]
NetworkId = 36888
SyncMode = "snap"
EthDiscoveryURLs = []
SnapDiscoveryURLs = []
NoPruning = false
NoPrefetch = false
TxLookupLimit = 0
TransactionHistory = 0
StateHistory = 90000
LightPeers = 100
DatabaseCache = 512
DatabaseFreezer = ""
TrieCleanCache = 154
TrieDirtyCache = 256
TrieTimeout = 3600000000000
SnapshotCache = 102
Preimages = true
FilterLogCacheSize = 32
EnablePreimageRecording = false
RPCGasCap = 50000000
RPCEVMTimeout = 5000000000
RPCTxFeeCap = 10000.0
[Eth.Miner]
GasFloor = 0
GasCeil = 63000000
GasPrice = 50000000000000
Recommit = 2000000000
NewPayloadTimeout = 2000000000
[Eth.TxPool]
Locals = []
NoLocals = true
Journal = "transactions.rlp"
Rejournal = 3600000000000
PriceLimit = 50000000000000
PriceBump = 10
AccountSlots = 65536
GlobalSlots = 1048576
AccountQueue = 65536
GlobalQueue = 1048576
Lifetime = 10800000000000
[Eth.BlobPool]
Datadir = "blobpool"
Datacap = 10737418240
PriceBump = 100
[Eth.GPO]
Blocks = 20
Percentile = 60
MaxHeaderHistory = 1024
MaxBlockHistory = 1024
MaxPrice = 5000000000000000
IgnorePrice = 5000000000000000
[Node]
DataDir = "/data"
IPCPath = "geth.ipc"
HTTPHost = "0.0.0.0"
HTTPPort = 8545
HTTPVirtualHosts = ["*"]
HTTPModules = ["debug", "txpool", "net", "web3", "eth"]
AuthAddr = "127.0.0.1"
AuthPort = 8551
AuthVirtualHosts = ["*"]
WSHost = "0.0.0.0"
WSPort = 8546
WSModules = ["debug", "txpool", "net", "web3", "eth"]
GraphQLVirtualHosts = ["*"]
BatchRequestLimit = 1000
BatchResponseMaxSize = 25000000
[Node.P2P]
MaxPeers = 20
NoDiscovery = false
DiscoveryV4 = true
BootstrapNodes = ["enode://3965529bc8c043ead2fa9d4f235c50b35e3eda45284654a51ddc140ae4a78c8e919cf6a8645e2f48f3089cb579d7d7e90de75544e2faa7ad5300a2c3990a7e5b@54.150.187.191:33333","enode://30cf5e0262b3c1a430183de31063944a6d0164f5ab9c052df942c0f53a635c14b0cea1bcc3b989dbf2297d5939f93165fc8fc817e398fb6b9487fb39a5f342ee@57.182.215.62:33333","enode://ebbb5b7bfb13fb783412e0cc77d390455a4ce7af26c4a129ce4af3e0a91c4ad83ccd84aa85e8bccd50d6d912b2efab4f04f49b57ffcbae03886fbe1c659f98d5@13.159.65.214:33333","enode://0b0bdeff5720854e600025bdea7efb85dd0441e156d5ec32342e6ce192e396b5088cb8427dcdfc6f661632400078960acc9627eaeffc516803e1b4108f184e85@13.112.116.187:33333","enode://12c5dc3ce362f5303b04e426e1ffa1bcad3d09996c95a4fe132edee222b06652f2a3ee0a3b4423a38084767e7fd349177ec4c4f0c9624b3183df3573d08f14be@57.182.84.6:33333"]
StaticNodes = []
TrustedNodes = []
ListenAddr = ":33333"
DiscAddr = ""
EnableMsgEvents = false
[Node.HTTPTimeouts]
ReadTimeout = 30000000000
ReadHeaderTimeout = 30000000000
WriteTimeout = 30000000000
IdleTimeout = 120000000000
[Metrics]
HTTP = "127.0.0.1"
Port = 6060
InfluxDBEndpoint = "http://localhost:8386"
InfluxDBDatabase = "geth"
InfluxDBUsername = "test"
InfluxDBPassword = "test"
InfluxDBTags = "host=localhost"
InfluxDBToken = "test"
InfluxDBBucket = "geth"
InfluxDBOrganization = "geth"

View File

@@ -1,28 +0,0 @@
{
"config": {
"chainId": 36888,
"homesteadBlock": 0,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirGlacierBlock": 0,
"berlinBlock": 0,
"clique": {
"period": 3,
"epoch": 30000
}
},
"timestamp": "0x67fda368",
"difficulty": "1",
"gasLimit": "63000000",
"extradata": "0x0000000000000000000000000000000000000000000000000000000000000000E9B95948d28EF808a9184d5fC98346EF3e56839c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"alloc": {
"da8B88027Ac27532E1525DD67974c2377b450A08": {
"balance": "100000000000000000000000000000"
}
}
}

View File

@@ -45,7 +45,7 @@ services:
arc-mainnet-archive-sockets-init: arc-mainnet-archive-sockets-init:
image: debian:bookworm-slim image: debian:bookworm-slim
entrypoint: [/bin/sh, -c] entrypoint: [/bin/sh, -c]
command: [chown 999:999 /sockets] command: [rm -f /sockets/*.ipc && chown 999:999 /sockets]
restart: no restart: no
depends_on: depends_on:
arc-mainnet-archive-consensus-init: arc-mainnet-archive-consensus-init:

View File

@@ -45,7 +45,7 @@ services:
arc-mainnet-sockets-init: arc-mainnet-sockets-init:
image: debian:bookworm-slim image: debian:bookworm-slim
entrypoint: [/bin/sh, -c] entrypoint: [/bin/sh, -c]
command: [chown 999:999 /sockets] command: [rm -f /sockets/*.ipc && chown 999:999 /sockets]
restart: no restart: no
depends_on: depends_on:
arc-mainnet-consensus-init: arc-mainnet-consensus-init:

View File

@@ -45,7 +45,7 @@ services:
arc-testnet-archive-sockets-init: arc-testnet-archive-sockets-init:
image: debian:bookworm-slim image: debian:bookworm-slim
entrypoint: [/bin/sh, -c] entrypoint: [/bin/sh, -c]
command: [chown 999:999 /sockets] command: [rm -f /sockets/*.ipc && chown 999:999 /sockets]
restart: no restart: no
depends_on: depends_on:
arc-testnet-archive-consensus-init: arc-testnet-archive-consensus-init:

View File

@@ -45,7 +45,7 @@ services:
arc-testnet-sockets-init: arc-testnet-sockets-init:
image: debian:bookworm-slim image: debian:bookworm-slim
entrypoint: [/bin/sh, -c] entrypoint: [/bin/sh, -c]
command: [chown 999:999 /sockets] command: [rm -f /sockets/*.ipc && chown 999:999 /sockets]
restart: no restart: no
depends_on: depends_on:
arc-testnet-consensus-init: arc-testnet-consensus-init:

View File

@@ -45,7 +45,7 @@ services:
arc-testnet-sockets-init: arc-testnet-sockets-init:
image: debian:bookworm-slim image: debian:bookworm-slim
entrypoint: [/bin/sh, -c] entrypoint: [/bin/sh, -c]
command: [chown 999:999 /sockets] command: [rm -f /sockets/*.ipc && chown 999:999 /sockets]
restart: no restart: no
depends_on: depends_on:
arc-testnet-consensus-init: arc-testnet-consensus-init:

View File

@@ -323,7 +323,9 @@ detect_client_type() {
local node_name="$1" local node_name="$1"
local name_lower=$(echo "$node_name" | tr '[:upper:]' '[:lower:]') local name_lower=$(echo "$node_name" | tr '[:upper:]' '[:lower:]')
if [[ "$name_lower" == *"geth"* ]]; then if [[ "$name_lower" == *"op-geth"* ]]; then
echo "op-geth"
elif [[ "$name_lower" == *"geth"* ]]; then
echo "geth" echo "geth"
elif [[ "$name_lower" == *"reth"* ]]; then elif [[ "$name_lower" == *"reth"* ]]; then
echo "reth" echo "reth"
@@ -351,7 +353,7 @@ add_static_peer() {
# Geth supports admin_addStaticPeer # Geth supports admin_addStaticPeer
method="admin_addStaticPeer" method="admin_addStaticPeer"
else else
# Reth and most other clients use admin_addPeer # Reth, op-geth, and most other clients use admin_addPeer
method="admin_addPeer" method="admin_addPeer"
fi fi

View File

@@ -267,7 +267,7 @@ services:
- EIGENDA_PROXY_S3_CREDENTIAL_TYPE=public - EIGENDA_PROXY_S3_CREDENTIAL_TYPE=public
- EIGENDA_PROXY_S3_ENDPOINT=storage.googleapis.com - EIGENDA_PROXY_S3_ENDPOINT=storage.googleapis.com
- EIGENDA_PROXY_S3_PATH=blobs/ - EIGENDA_PROXY_S3_PATH=blobs/
- EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V2 - EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V1,V2
- EIGENDA_PROXY_STORAGE_FALLBACK_TARGETS=s3 - EIGENDA_PROXY_STORAGE_FALLBACK_TARGETS=s3
restart: unless-stopped restart: unless-stopped
networks: networks:

View File

@@ -266,7 +266,7 @@ services:
- EIGENDA_PROXY_S3_CREDENTIAL_TYPE=public - EIGENDA_PROXY_S3_CREDENTIAL_TYPE=public
- EIGENDA_PROXY_S3_ENDPOINT=storage.googleapis.com - EIGENDA_PROXY_S3_ENDPOINT=storage.googleapis.com
- EIGENDA_PROXY_S3_PATH=blobs/ - EIGENDA_PROXY_S3_PATH=blobs/
- EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V2 - EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V1,V2
- EIGENDA_PROXY_STORAGE_FALLBACK_TARGETS=s3 - EIGENDA_PROXY_STORAGE_FALLBACK_TARGETS=s3
restart: unless-stopped restart: unless-stopped
networks: networks:

View File

@@ -264,7 +264,7 @@ services:
- EIGENDA_PROXY_S3_CREDENTIAL_TYPE=public - EIGENDA_PROXY_S3_CREDENTIAL_TYPE=public
- EIGENDA_PROXY_S3_ENDPOINT=storage.googleapis.com - EIGENDA_PROXY_S3_ENDPOINT=storage.googleapis.com
- EIGENDA_PROXY_S3_PATH=blobs/ - EIGENDA_PROXY_S3_PATH=blobs/
- EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V2 - EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V1,V2
- EIGENDA_PROXY_STORAGE_FALLBACK_TARGETS=s3 - EIGENDA_PROXY_STORAGE_FALLBACK_TARGETS=s3
restart: unless-stopped restart: unless-stopped
networks: networks:

View File

@@ -264,7 +264,7 @@ services:
- EIGENDA_PROXY_S3_CREDENTIAL_TYPE=public - EIGENDA_PROXY_S3_CREDENTIAL_TYPE=public
- EIGENDA_PROXY_S3_ENDPOINT=storage.googleapis.com - EIGENDA_PROXY_S3_ENDPOINT=storage.googleapis.com
- EIGENDA_PROXY_S3_PATH=blobs/ - EIGENDA_PROXY_S3_PATH=blobs/
- EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V2 - EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V1,V2
- EIGENDA_PROXY_STORAGE_FALLBACK_TARGETS=s3 - EIGENDA_PROXY_STORAGE_FALLBACK_TARGETS=s3
restart: unless-stopped restart: unless-stopped
networks: networks:

View File

@@ -45,6 +45,9 @@ services:
ulimits: ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections) nofile: 1048576 # Max open files (for RPC/WS connections)
user: root user: root
ports:
- 13290:13290
- 13290:13290/udp
expose: expose:
- 8545 - 8545
- 6060 - 6060
@@ -61,6 +64,7 @@ services:
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.mainnet.frax.com - GETH_ROLLUP_SEQUENCERHTTP=https://rpc.mainnet.frax.com
entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=leveldb --gcmode=archive --datadir /data init --state.scheme=hash /config/genesis.json; [ -f /config/static-nodes.json ] && cp -f /config/static-nodes.json /data/static-nodes.json; exec geth "$@"' -- entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=leveldb --gcmode=archive --datadir /data init --state.scheme=hash /config/genesis.json; [ -f /config/static-nodes.json ] && cp -f /config/static-nodes.json /data/static-nodes.json; exec geth "$@"' --
command: command:
- --bootnodes=enr:-J24QI8QR7VIgvQFuvLl09b9ocugoQ1WkS_AOMWKFgNX48-4P1hjgDKGeMFXZmKtfjYA2aEehxKT066riaktnxhh92OGAY5Sw_QsgmlkgnY0gmlwhCztZu2Hb3BzdGFja4P8AQCJc2VjcDI1NmsxoQM2KM0mkdH97Ze8AqwxLeqc934PKj8-xoKsyP6mAptWwIN0Y3CCdl2DdWRwgnZd,enr:-J24QGD1J-g2EPY9b7XiuwLhIoGocVp2qx2gWSfDI_CdftiPSHlgi7G6LtzkQlDskuSvRj4OXTg3vXLISubphXNNhqyGAY5Sw8GxgmlkgnY0gmlwhCzW_iGHb3BzdGFja4P8AQCJc2VjcDI1NmsxoQPvMYlJHJUsEyciuJCTkKHLE2ogZ6cs2xuPI28CGq0CTIN0Y3CCdl2DdWRwgnZd,enr:-J24QCA5I3xroUXt7Ge_Kf04VCRBnI-GbZeyBxOkkpIDGGLrVsonrbngQG1hAEnufRb1TgS6sNFCGtaZ2ZpRx7AgciGGAY5SxEy0gmlkgnY0gmlwhCLzRQyHb3BzdGFja4P8AQCJc2VjcDI1NmsxoQOaHzrtPQWYcwAcFJWFrbGlbNUsBC0VEhCcH02RbgEIwIN0Y3CCdl2DdWRwgnZd
- --datadir=/data - --datadir=/data
- --db.engine=leveldb - --db.engine=leveldb
- --gcmode=archive - --gcmode=archive
@@ -68,8 +72,9 @@ services:
- --metrics - --metrics
- --metrics.addr=0.0.0.0 - --metrics.addr=0.0.0.0
- --metrics.port=6060 - --metrics.port=6060
- --nat=extip:${IP}
- --networkid=252 - --networkid=252
- --nodiscover - --port=13290
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=hash - --state.scheme=hash
@@ -140,7 +145,7 @@ services:
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=9545 - OP_NODE_RPC_PORT=9545
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log - OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
- OP_NODE_SYNCMODE=consensus-layer - OP_NODE_SYNCMODE=execution-layer
- OP_NODE_VERIFIER_L1_CONFS=0 - OP_NODE_VERIFIER_L1_CONFS=0
entrypoint: [op-node] entrypoint: [op-node]
restart: unless-stopped restart: unless-stopped

View File

@@ -45,6 +45,9 @@ services:
ulimits: ulimits:
nofile: 1048576 # Max open files (for RPC/WS connections) nofile: 1048576 # Max open files (for RPC/WS connections)
user: root user: root
ports:
- 10282:10282
- 10282:10282/udp
expose: expose:
- 8545 - 8545
- 6060 - 6060
@@ -61,6 +64,7 @@ services:
- GETH_ROLLUP_SEQUENCERHTTP=https://rpc.mainnet.frax.com - GETH_ROLLUP_SEQUENCERHTTP=https://rpc.mainnet.frax.com
entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=pebble --gcmode=full --datadir /data init --state.scheme=path /config/genesis.json; [ -f /config/static-nodes.json ] && cp -f /config/static-nodes.json /data/static-nodes.json; exec geth "$@"' -- entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=pebble --gcmode=full --datadir /data init --state.scheme=path /config/genesis.json; [ -f /config/static-nodes.json ] && cp -f /config/static-nodes.json /data/static-nodes.json; exec geth "$@"' --
command: command:
- --bootnodes=enr:-J24QI8QR7VIgvQFuvLl09b9ocugoQ1WkS_AOMWKFgNX48-4P1hjgDKGeMFXZmKtfjYA2aEehxKT066riaktnxhh92OGAY5Sw_QsgmlkgnY0gmlwhCztZu2Hb3BzdGFja4P8AQCJc2VjcDI1NmsxoQM2KM0mkdH97Ze8AqwxLeqc934PKj8-xoKsyP6mAptWwIN0Y3CCdl2DdWRwgnZd,enr:-J24QGD1J-g2EPY9b7XiuwLhIoGocVp2qx2gWSfDI_CdftiPSHlgi7G6LtzkQlDskuSvRj4OXTg3vXLISubphXNNhqyGAY5Sw8GxgmlkgnY0gmlwhCzW_iGHb3BzdGFja4P8AQCJc2VjcDI1NmsxoQPvMYlJHJUsEyciuJCTkKHLE2ogZ6cs2xuPI28CGq0CTIN0Y3CCdl2DdWRwgnZd,enr:-J24QCA5I3xroUXt7Ge_Kf04VCRBnI-GbZeyBxOkkpIDGGLrVsonrbngQG1hAEnufRb1TgS6sNFCGtaZ2ZpRx7AgciGGAY5SxEy0gmlkgnY0gmlwhCLzRQyHb3BzdGFja4P8AQCJc2VjcDI1NmsxoQOaHzrtPQWYcwAcFJWFrbGlbNUsBC0VEhCcH02RbgEIwIN0Y3CCdl2DdWRwgnZd
- --datadir=/data - --datadir=/data
- --db.engine=pebble - --db.engine=pebble
- --gcmode=full - --gcmode=full
@@ -68,12 +72,13 @@ services:
- --metrics - --metrics
- --metrics.addr=0.0.0.0 - --metrics.addr=0.0.0.0
- --metrics.port=6060 - --metrics.port=6060
- --nat=extip:${IP}
- --networkid=252 - --networkid=252
- --nodiscover - --port=10282
- --rpc.gascap=600000000 - --rpc.gascap=600000000
- --rpc.txfeecap=0 - --rpc.txfeecap=0
- --state.scheme=path - --state.scheme=path
- --syncmode=full - --syncmode=snap
- --http - --http
- --http.addr=0.0.0.0 - --http.addr=0.0.0.0
- --http.api=eth,net,web3,debug,admin,txpool,engine - --http.api=eth,net,web3,debug,admin,txpool,engine
@@ -140,7 +145,7 @@ services:
- OP_NODE_RPC_ADDR=0.0.0.0 - OP_NODE_RPC_ADDR=0.0.0.0
- OP_NODE_RPC_PORT=9545 - OP_NODE_RPC_PORT=9545
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log - OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
- OP_NODE_SYNCMODE=consensus-layer - OP_NODE_SYNCMODE=execution-layer
- OP_NODE_VERIFIER_L1_CONFS=0 - OP_NODE_VERIFIER_L1_CONFS=0
entrypoint: [op-node] entrypoint: [op-node]
restart: unless-stopped restart: unless-stopped

View File

@@ -82,6 +82,7 @@ PEER_COUNT="$(echo "$PEERS_JSON" | jq -r '.result | length' 2>/dev/null || echo
NAME_LC="$(echo "$CLIENT_NAME" | tr '[:upper:]' '[:lower:]')" NAME_LC="$(echo "$CLIENT_NAME" | tr '[:upper:]' '[:lower:]')"
CLIENT_TYPE="unknown" CLIENT_TYPE="unknown"
case "$NAME_LC" in case "$NAME_LC" in
*op-geth*) CLIENT_TYPE="op-geth" ;;
*geth*) CLIENT_TYPE="geth" ;; *geth*) CLIENT_TYPE="geth" ;;
*reth*) CLIENT_TYPE="reth" ;; *reth*) CLIENT_TYPE="reth" ;;
*erigon*) CLIENT_TYPE="erigon" ;; *erigon*) CLIENT_TYPE="erigon" ;;

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# peer-reinject.sh — generic .after-start hook: re-seed peers from peer-capture state. # peer-reinject.sh — generic .after-start hook: re-seed peers from peer-capture state.
# Uses admin_addStaticPeer for geth, admin_addPeer otherwise (connect-peers.sh). # Uses admin_addStaticPeer for geth, admin_addPeer for op-geth and others (connect-peers.sh).
# In-network vantage (rpc_chains). Idempotent; best-effort (never fails the restart). # In-network vantage (rpc_chains). Idempotent; best-effort (never fails the restart).
# #
# Seed order (one path for us and customers): # Seed order (one path for us and customers):