manta-pacific: new Caldera stack - op-reth v2.3.1 (storage v1) + op-node 1.16.1 altda + op-alt-da Celestia w/ S3 read-fallback; pruned/archive trace; fork overrides; drop dead op-geth 5.2 variant
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KjqejYycVyVvrxV9aTDhgX
This commit is contained in:
@@ -1,210 +0,0 @@
|
||||
---
|
||||
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/manta-pacific-mainnet-op-geth-archive-pebble-hash.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/manta-pacific-mainnet-archive \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
manta-pacific-mainnet-archive:
|
||||
image: ${MANTA_PACIFIC_GETH_IMAGE:-public.ecr.aws/i6b2w2n6/op-geth}:${MANTA_PACIFIC_MAINNET_GETH_VERSION:-5.2.0}
|
||||
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
|
||||
expose:
|
||||
- 8545
|
||||
- 6060
|
||||
- 8551
|
||||
environment:
|
||||
- GETH_ROLLUP_DISABLETXPOOLGOSSIP=true
|
||||
- GETH_ROLLUP_SEQUENCERHTTP=https://manta-pacific.calderachain.xyz/http
|
||||
entrypoint: /bin/sh -c '[ -f /config/genesis.json ] && geth --db.engine=pebble --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:
|
||||
- --datadir=/data
|
||||
- --db.engine=pebble
|
||||
- --gcmode=archive
|
||||
- --maxpeers=50
|
||||
- --metrics
|
||||
- --metrics.addr=0.0.0.0
|
||||
- --metrics.port=6060
|
||||
- --networkid=169
|
||||
- --nodiscover
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=hash
|
||||
- --syncmode=full
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=web3,net,eth,debug,admin
|
||||
- --http.port=8545
|
||||
- --http.vhosts=*
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=web3,net,eth,debug,admin
|
||||
- --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:
|
||||
- ${MANTA_PACIFIC_MAINNET_OP_GETH_ARCHIVE_PEBBLE_HASH_DATA:-manta-pacific-mainnet-op-geth-archive-pebble-hash}:/data
|
||||
- ./op/manta-pacific/mainnet:/config
|
||||
- .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.manta-pacific-mainnet-op-geth-archive-pebble-hash-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet-archive
|
||||
- traefik.http.services.manta-pacific-mainnet-op-geth-archive-pebble-hash.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/manta-pacific-mainnet-archive`) || Path(`/manta-pacific-mainnet-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.rule=Path(`/manta-pacific-mainnet-archive`) || Path(`/manta-pacific-mainnet-archive/`)}
|
||||
- traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash.middlewares=manta-pacific-mainnet-op-geth-archive-pebble-hash-stripprefix, ipallowlist
|
||||
|
||||
manta-pacific-mainnet-archive-node:
|
||||
image: ${MANTA_PACIFIC_NODE_IMAGE:-public.ecr.aws/i6b2w2n6/op-node}:${MANTA_PACIFIC_MAINNET_NODE_VERSION:-celestia-3.0.0-dencun}
|
||||
ports:
|
||||
- 16437:16437
|
||||
- 16437:16437/udp
|
||||
environment:
|
||||
- CELESTIA_LEGACY_MODE=true
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_MAINNET_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_BEACON_IGNORE=true
|
||||
- OP_NODE_L1_ETH_RPC=${MANTA_PACIFIC_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-standard}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_RPC=http://manta-pacific-mainnet-archive:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- 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_NAMESPACE_ID=866269ddf77dbc40ed9d
|
||||
- OP_NODE_OVERRIDE_CANYON=1726783200
|
||||
- OP_NODE_OVERRIDE_DELTA=1726783200
|
||||
- OP_NODE_OVERRIDE_ECOTONE=1726783200
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=16437
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=16437
|
||||
- OP_NODE_P2P_STATIC=/ip4/35.82.210.70/tcp/9003/p2p/16Uiu2HAmL4fvgBQi5jcuiEYDaNcg4hpGqCmyAv4DZuSM8f2USYwQ
|
||||
- OP_NODE_ROLLUP_CONFIG=/config/rollup.json
|
||||
- OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true
|
||||
- OP_NODE_RPC_ADDR=0.0.0.0
|
||||
- OP_NODE_RPC_PORT=9545
|
||||
- OP_NODE_S3_BUCKET=caldera-celestia-cache-prod
|
||||
- OP_NODE_S3_REGION=us-west-2
|
||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||
- OP_NODE_SYNCMODE=consensus-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
manta-pacific-mainnet-archive:
|
||||
condition: service_started
|
||||
restart: true
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/manta-pacific/mainnet:/config
|
||||
- .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.manta-pacific-mainnet-op-geth-archive-pebble-hash-node-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet-archive/node
|
||||
- traefik.http.services.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.loadbalancer.server.port=9545
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.rule=Host(`$DOMAIN`) && PathPrefix(`/manta-pacific-mainnet-archive/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.rule=PathPrefix(`/manta-pacific-mainnet-archive/node`)}
|
||||
- traefik.http.routers.manta-pacific-mainnet-op-geth-archive-pebble-hash-node.middlewares=manta-pacific-mainnet-op-geth-archive-pebble-hash-node-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
manta-pacific-mainnet-op-geth-archive-pebble-hash:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: manta-pacific
|
||||
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
|
||||
...
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,106 @@
|
||||
[stages.era]
|
||||
|
||||
[stages.headers]
|
||||
downloader_max_concurrent_requests = 100
|
||||
downloader_min_concurrent_requests = 5
|
||||
downloader_max_buffered_responses = 100
|
||||
downloader_request_limit = 1000
|
||||
commit_threshold = 10000
|
||||
|
||||
[stages.bodies]
|
||||
downloader_request_limit = 200
|
||||
downloader_stream_batch_size = 1000
|
||||
downloader_max_buffered_blocks_size_bytes = 2147483648
|
||||
downloader_min_concurrent_requests = 5
|
||||
downloader_max_concurrent_requests = 100
|
||||
|
||||
[stages.sender_recovery]
|
||||
commit_threshold = 5000000
|
||||
|
||||
[stages.execution]
|
||||
max_blocks = 500000
|
||||
max_changes = 5000000
|
||||
max_cumulative_gas = 1500000000000
|
||||
max_duration = "10m"
|
||||
|
||||
[stages.prune]
|
||||
commit_threshold = 1000000
|
||||
|
||||
[stages.account_hashing]
|
||||
clean_threshold = 500000
|
||||
commit_threshold = 100000
|
||||
|
||||
[stages.storage_hashing]
|
||||
clean_threshold = 500000
|
||||
commit_threshold = 100000
|
||||
|
||||
[stages.merkle]
|
||||
incremental_threshold = 7000
|
||||
rebuild_threshold = 100000
|
||||
|
||||
[stages.transaction_lookup]
|
||||
chunk_size = 500000
|
||||
|
||||
[stages.index_account_history]
|
||||
commit_threshold = 100000
|
||||
|
||||
[stages.index_storage_history]
|
||||
commit_threshold = 100000
|
||||
|
||||
[stages.etl]
|
||||
file_size = 524288000
|
||||
|
||||
[prune]
|
||||
block_interval = 5
|
||||
|
||||
[prune.segments.merkle_changesets]
|
||||
distance = 10064
|
||||
|
||||
[peers]
|
||||
refill_slots_interval = "5s"
|
||||
trusted_nodes = []
|
||||
trusted_nodes_only = false
|
||||
trusted_nodes_resolution_interval = "1h"
|
||||
max_backoff_count = 5
|
||||
ban_duration = "12h"
|
||||
incoming_ip_throttle_duration = "30s"
|
||||
|
||||
[peers.connection_info]
|
||||
max_outbound = 100
|
||||
max_inbound = 30
|
||||
max_concurrent_outbound_dials = 15
|
||||
|
||||
[peers.reputation_weights]
|
||||
bad_message = -16384
|
||||
bad_block = -16384
|
||||
bad_transactions = -16384
|
||||
already_seen_transactions = 0
|
||||
timeout = -4096
|
||||
bad_protocol = -2147483648
|
||||
failed_to_connect = -25600
|
||||
dropped = -4096
|
||||
bad_announcement = -1024
|
||||
|
||||
[peers.backoff_durations]
|
||||
low = "30s"
|
||||
medium = "3m"
|
||||
high = "15m"
|
||||
max = "1h"
|
||||
|
||||
[sessions]
|
||||
session_command_buffer = 32
|
||||
session_event_buffer = 260
|
||||
|
||||
[sessions.limits]
|
||||
|
||||
[sessions.initial_internal_request_timeout]
|
||||
secs = 20
|
||||
nanos = 0
|
||||
|
||||
[sessions.protocol_breach_request_timeout]
|
||||
secs = 120
|
||||
nanos = 0
|
||||
|
||||
[sessions.pending_session_timeout]
|
||||
secs = 20
|
||||
nanos = 0
|
||||
@@ -1,29 +1,41 @@
|
||||
{
|
||||
"genesis": {
|
||||
"l1": {
|
||||
"hash": "0x33d4fd43c91d410bf27cf46d013000a2f010037756c49fc2f9e83c673f69f3f1",
|
||||
"number": 18095650
|
||||
"alt_da": {
|
||||
"da_challenge_contract_address": "0x0000000000000000000000000000000000000000",
|
||||
"da_challenge_window": 500,
|
||||
"da_commitment_type": "GenericCommitment",
|
||||
"da_resolve_window": 1000
|
||||
},
|
||||
"l2": {
|
||||
"hash": "0x710b33d206fc550549c39801e9c1ca80d85399bf6e0881987e40e706c2f2f453",
|
||||
"number": 0
|
||||
"genesis": {
|
||||
"l1": {
|
||||
"hash": "0x33d4fd43c91d410bf27cf46d013000a2f010037756c49fc2f9e83c673f69f3f1",
|
||||
"number": 18095650
|
||||
},
|
||||
"l2": {
|
||||
"hash": "0x710b33d206fc550549c39801e9c1ca80d85399bf6e0881987e40e706c2f2f453",
|
||||
"number": 0
|
||||
},
|
||||
"l2_time": 1694223959,
|
||||
"system_config": {
|
||||
"batcherAddr": "0xa76e31d8471d569efdd3d95d1b11ce6710f4533f",
|
||||
"overhead": "0x0000000000000000000000000000000000000000000000000000000000000834",
|
||||
"scalar": "0x000000000000000000000000000000000000000000000000000000000013d620",
|
||||
"gasLimit": 30000000
|
||||
}
|
||||
},
|
||||
"l2_time": 1694223959,
|
||||
"system_config": {
|
||||
"batcherAddr": "0xa76e31d8471d569efdd3d95d1b11ce6710f4533f",
|
||||
"overhead": "0x0000000000000000000000000000000000000000000000000000000000000834",
|
||||
"scalar": "0x000000000000000000000000000000000000000000000000000000000013d620",
|
||||
"gasLimit": 30000000
|
||||
"block_time": 10,
|
||||
"max_sequencer_drift": 600,
|
||||
"seq_window_size": 21600,
|
||||
"channel_timeout": 300,
|
||||
"l1_chain_id": 1,
|
||||
"l2_chain_id": 169,
|
||||
"regolith_time": 0,
|
||||
"batch_inbox_address": "0xaeba8e2307a22b6824a9a7a39f8b016c357cd1fe",
|
||||
"deposit_contract_address": "0x9168765ee952de7c6f8fc6fad5ec209b960b7622",
|
||||
"l1_system_config_address": "0x895e00269a05848f3c9889efa677d02ff7351a5d",
|
||||
"protocol_versions_address": "0x0000000000000000000000000000000000000000",
|
||||
"chain_op_config": {
|
||||
"eip1559Elasticity": 10,
|
||||
"eip1559Denominator": 50,
|
||||
"eip1559DenominatorCanyon": 250
|
||||
}
|
||||
},
|
||||
"block_time": 10,
|
||||
"max_sequencer_drift": 600,
|
||||
"seq_window_size": 21600,
|
||||
"channel_timeout": 300,
|
||||
"l1_chain_id": 1,
|
||||
"l2_chain_id": 169,
|
||||
"regolith_time": 0,
|
||||
"batch_inbox_address": "0xaeba8e2307a22b6824a9a7a39f8b016c357cd1fe",
|
||||
"deposit_contract_address": "0x9168765ee952de7c6f8fc6fad5ec209b960b7622",
|
||||
"l1_system_config_address": "0x895e00269a05848f3c9889efa677d02ff7351a5d"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,239 @@
|
||||
---
|
||||
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/manta-pacific-mainnet-op-reth-archive-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/manta-pacific-mainnet \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
manta-pacific-mainnet:
|
||||
image: ${MANTA_PACIFIC_RETH_IMAGE:-public.ecr.aws/i6b2w2n6/op-reth}:${MANTA_PACIFIC_MAINNET_RETH_VERSION:-v2.3.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
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [op-reth, node]
|
||||
command:
|
||||
- --chain=/config/genesis.json
|
||||
- --config=/config/reth/reth.toml
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --disable-discovery
|
||||
- --engine.cross-block-cache-size=${MANTA_PACIFIC_MAINNET_RETH_STATE_CACHE:-4096}
|
||||
- --engine.disable-state-cache
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --rollup.disable-tx-pool-gossip
|
||||
- --rollup.sequencer-http=https://manta-pacific.calderachain.xyz/http
|
||||
- --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
|
||||
- --storage.v2=false
|
||||
- --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:
|
||||
- ${MANTA_PACIFIC_MAINNET_OP_RETH_ARCHIVE_TRACE_DATA:-manta-pacific-mainnet-op-reth-archive-trace}:/root/.local/share/reth
|
||||
- ./op/manta-pacific/mainnet:/config
|
||||
- .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.manta-pacific-mainnet-op-reth-archive-trace-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet
|
||||
- traefik.http.services.manta-pacific-mainnet-op-reth-archive-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/manta-pacific-mainnet`) || Path(`/manta-pacific-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace.rule=Path(`/manta-pacific-mainnet`) || Path(`/manta-pacific-mainnet/`)}
|
||||
- traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace.middlewares=manta-pacific-mainnet-op-reth-archive-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
manta-pacific-mainnet-node:
|
||||
image: ${MANTA_PACIFIC_NODE_IMAGE:-public.ecr.aws/i6b2w2n6/op-node}:${MANTA_PACIFIC_MAINNET_NODE_VERSION:-1.16.1-celestia-e9ec322-altda}
|
||||
ports:
|
||||
- 17327:17327
|
||||
- 17327:17327/udp
|
||||
environment:
|
||||
- OP_NODE_ALTDA_DA_SERVER=http://manta-pacific-mainnet-relay:3100
|
||||
- OP_NODE_ALTDA_DA_SERVICE=true
|
||||
- OP_NODE_ALTDA_ENABLED=true
|
||||
- OP_NODE_ALTDA_VERIFY_ON_READ=true
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_MAINNET_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_BEACON_IGNORE=true
|
||||
- OP_NODE_L1_ETH_RPC=${MANTA_PACIFIC_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-standard}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_KIND=reth
|
||||
- OP_NODE_L2_ENGINE_RPC=http://manta-pacific-mainnet:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- 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_OVERRIDE_CANYON=1726783200
|
||||
- OP_NODE_OVERRIDE_DELTA=1726783200
|
||||
- OP_NODE_OVERRIDE_ECOTONE=1726783200
|
||||
- OP_NODE_OVERRIDE_FJORD=1789560000
|
||||
- OP_NODE_OVERRIDE_GRANITE=1789567200
|
||||
- OP_NODE_OVERRIDE_HOLOCENE=1789574400
|
||||
- OP_NODE_OVERRIDE_ISTHMUS=1789581600
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1765997497
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=17327
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=17327
|
||||
- OP_NODE_P2P_STATIC=/dns4/manta-pacific-p2p.calderachain.xyz/tcp/9003/p2p/16Uiu2HAm1yyHgvkvdwQDJs7qNYGgPLNSAmWNtCSqR6t4CTZcmtez
|
||||
- OP_NODE_ROLLUP_CONFIG=/config/rollup.json
|
||||
- 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=consensus-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=10
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
manta-pacific-mainnet:
|
||||
condition: service_started
|
||||
restart: true
|
||||
manta-pacific-mainnet-relay:
|
||||
condition: service_started
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/manta-pacific/mainnet:/config
|
||||
- .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.manta-pacific-mainnet-op-reth-archive-trace-node-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet/node
|
||||
- traefik.http.services.manta-pacific-mainnet-op-reth-archive-trace-node.loadbalancer.server.port=9545
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/manta-pacific-mainnet/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace-node.rule=PathPrefix(`/manta-pacific-mainnet/node`)}
|
||||
- traefik.http.routers.manta-pacific-mainnet-op-reth-archive-trace-node.middlewares=manta-pacific-mainnet-op-reth-archive-trace-node-stripprefix, ipallowlist
|
||||
|
||||
manta-pacific-mainnet-relay:
|
||||
image: ${MANTA_PACIFIC_OP_ALT_IMAGE:-public.ecr.aws/i6b2w2n6/op-alt-da}:${MANTA_PACIFIC_MAINNET_OP_ALT_VERSION:-v0.15.0-804b2d7}
|
||||
expose:
|
||||
- 3100
|
||||
environment:
|
||||
- AWS_REGION=us-west-2
|
||||
- OP_ALTDA_ADDR=0.0.0.0
|
||||
- OP_ALTDA_CELESTIA_AUTH_TOKEN=${CELESTIA_MAINNET_AUTH_TOKEN:-}
|
||||
- OP_ALTDA_CELESTIA_BLOBID_COMPACT=true
|
||||
- OP_ALTDA_CELESTIA_NAMESPACE=00000000000000000000000000000000000000866269ddf77dbc40ed9d
|
||||
- OP_ALTDA_CELESTIA_SERVER=${CELESTIA_MAINNET_RPC}
|
||||
- OP_ALTDA_CELESTIA_TLS_ENABLED=${CELESTIA_MAINNET_TLS:-true}
|
||||
- OP_ALTDA_FALLBACK_ENABLED=true
|
||||
- OP_ALTDA_FALLBACK_MODE=read_fallback
|
||||
- OP_ALTDA_FALLBACK_PROVIDER=s3
|
||||
- OP_ALTDA_FALLBACK_S3_BUCKET=caldera-celestia-cache-prod
|
||||
- OP_ALTDA_FALLBACK_S3_CREDENTIAL_TYPE=anonymous
|
||||
- OP_ALTDA_FALLBACK_S3_PREFIX=00000000000000000000000000000000000000866269ddf77dbc40ed9d
|
||||
- OP_ALTDA_FALLBACK_S3_READ_LEGACY_BLOBS=true
|
||||
- OP_ALTDA_FALLBACK_S3_REGION=us-west-2
|
||||
- OP_ALTDA_FALLBACK_S3_TIMEOUT=60s
|
||||
- OP_ALTDA_PORT=3100
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/manta-pacific/mainnet:/config
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=false
|
||||
|
||||
volumes:
|
||||
manta-pacific-mainnet-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: manta-pacific
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
- name: eth_maxPriorityFeePerGas
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
@@ -0,0 +1,240 @@
|
||||
---
|
||||
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/manta-pacific-mainnet-op-reth-pruned-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/manta-pacific-mainnet-pruned \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
manta-pacific-mainnet-pruned:
|
||||
image: ${MANTA_PACIFIC_RETH_IMAGE:-public.ecr.aws/i6b2w2n6/op-reth}:${MANTA_PACIFIC_MAINNET_RETH_VERSION:-v2.3.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
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [op-reth, node]
|
||||
command:
|
||||
- --chain=/config/genesis.json
|
||||
- --config=/config/reth/reth.toml
|
||||
- --datadir=/root/.local/share/reth
|
||||
- --disable-discovery
|
||||
- --engine.cross-block-cache-size=${MANTA_PACIFIC_MAINNET_RETH_STATE_CACHE:-4096}
|
||||
- --engine.disable-state-cache
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --rollup.disable-tx-pool-gossip
|
||||
- --rollup.sequencer-http=https://manta-pacific.calderachain.xyz/http
|
||||
- --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
|
||||
- --storage.v2=false
|
||||
- --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:
|
||||
- ${MANTA_PACIFIC_MAINNET_OP_RETH_PRUNED_TRACE_DATA:-manta-pacific-mainnet-op-reth-pruned-trace}:/root/.local/share/reth
|
||||
- ./op/manta-pacific/mainnet:/config
|
||||
- .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.manta-pacific-mainnet-op-reth-pruned-trace-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet-pruned
|
||||
- traefik.http.services.manta-pacific-mainnet-op-reth-pruned-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/manta-pacific-mainnet-pruned`) || Path(`/manta-pacific-mainnet-pruned/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace.rule=Path(`/manta-pacific-mainnet-pruned`) || Path(`/manta-pacific-mainnet-pruned/`)}
|
||||
- traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace.middlewares=manta-pacific-mainnet-op-reth-pruned-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
manta-pacific-mainnet-pruned-node:
|
||||
image: ${MANTA_PACIFIC_NODE_IMAGE:-public.ecr.aws/i6b2w2n6/op-node}:${MANTA_PACIFIC_MAINNET_NODE_VERSION:-1.16.1-celestia-e9ec322-altda}
|
||||
ports:
|
||||
- 19568:19568
|
||||
- 19568:19568/udp
|
||||
environment:
|
||||
- OP_NODE_ALTDA_DA_SERVER=http://manta-pacific-mainnet-pruned-relay:3100
|
||||
- OP_NODE_ALTDA_DA_SERVICE=true
|
||||
- OP_NODE_ALTDA_ENABLED=true
|
||||
- OP_NODE_ALTDA_VERIFY_ON_READ=true
|
||||
- OP_NODE_L1_BEACON=${ETHEREUM_MAINNET_BEACON_REST}
|
||||
- OP_NODE_L1_BEACON_ARCHIVER=${ETHEREUM_MAINNET_BEACON_ARCHIVER}
|
||||
- OP_NODE_L1_BEACON_IGNORE=true
|
||||
- OP_NODE_L1_ETH_RPC=${MANTA_PACIFIC_MAINNET_L1_EXECUTION_RPC:-${ETHEREUM_MAINNET_EXECUTION_RPC}}
|
||||
- OP_NODE_L1_RPC_KIND=${ETHEREUM_MAINNET_EXECUTION_KIND:-standard}
|
||||
- OP_NODE_L1_TRUST_RPC=${ETHEREUM_MAINNET_EXECUTION_TRUST:-false}
|
||||
- OP_NODE_L2_ENGINE_AUTH=/jwtsecret
|
||||
- OP_NODE_L2_ENGINE_KIND=reth
|
||||
- OP_NODE_L2_ENGINE_RPC=http://manta-pacific-mainnet-pruned:8551
|
||||
- OP_NODE_L2_ENGINE_RPC_TIMEOUT=120s
|
||||
- OP_NODE_L2_SKIP_SYNC_START_CHECK=false
|
||||
- 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_OVERRIDE_CANYON=1726783200
|
||||
- OP_NODE_OVERRIDE_DELTA=1726783200
|
||||
- OP_NODE_OVERRIDE_ECOTONE=1726783200
|
||||
- OP_NODE_OVERRIDE_FJORD=1789560000
|
||||
- OP_NODE_OVERRIDE_GRANITE=1789567200
|
||||
- OP_NODE_OVERRIDE_HOLOCENE=1789574400
|
||||
- OP_NODE_OVERRIDE_ISTHMUS=1789581600
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1765997497
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
- OP_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||
- OP_NODE_P2P_LISTEN_TCP_PORT=19568
|
||||
- OP_NODE_P2P_LISTEN_UDP_PORT=19568
|
||||
- OP_NODE_P2P_STATIC=/dns4/manta-pacific-p2p.calderachain.xyz/tcp/9003/p2p/16Uiu2HAm1yyHgvkvdwQDJs7qNYGgPLNSAmWNtCSqR6t4CTZcmtez
|
||||
- OP_NODE_ROLLUP_CONFIG=/config/rollup.json
|
||||
- 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=consensus-layer
|
||||
- OP_NODE_VERIFIER_L1_CONFS=10
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
manta-pacific-mainnet-pruned:
|
||||
condition: service_started
|
||||
restart: true
|
||||
manta-pacific-mainnet-pruned-relay:
|
||||
condition: service_started
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/manta-pacific/mainnet:/config
|
||||
- .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.manta-pacific-mainnet-op-reth-pruned-trace-node-stripprefix.stripprefix.prefixes=/manta-pacific-mainnet-pruned/node
|
||||
- traefik.http.services.manta-pacific-mainnet-op-reth-pruned-trace-node.loadbalancer.server.port=9545
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace-node.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace-node.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace-node.rule=Host(`$DOMAIN`) && PathPrefix(`/manta-pacific-mainnet-pruned/node`)}
|
||||
- ${NO_SSL:+traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace-node.rule=PathPrefix(`/manta-pacific-mainnet-pruned/node`)}
|
||||
- traefik.http.routers.manta-pacific-mainnet-op-reth-pruned-trace-node.middlewares=manta-pacific-mainnet-op-reth-pruned-trace-node-stripprefix, ipallowlist
|
||||
|
||||
manta-pacific-mainnet-pruned-relay:
|
||||
image: ${MANTA_PACIFIC_OP_ALT_IMAGE:-public.ecr.aws/i6b2w2n6/op-alt-da}:${MANTA_PACIFIC_MAINNET_OP_ALT_VERSION:-v0.15.0-804b2d7}
|
||||
expose:
|
||||
- 3100
|
||||
environment:
|
||||
- AWS_REGION=us-west-2
|
||||
- OP_ALTDA_ADDR=0.0.0.0
|
||||
- OP_ALTDA_CELESTIA_AUTH_TOKEN=${CELESTIA_MAINNET_AUTH_TOKEN:-}
|
||||
- OP_ALTDA_CELESTIA_BLOBID_COMPACT=true
|
||||
- OP_ALTDA_CELESTIA_NAMESPACE=00000000000000000000000000000000000000866269ddf77dbc40ed9d
|
||||
- OP_ALTDA_CELESTIA_SERVER=${CELESTIA_MAINNET_RPC}
|
||||
- OP_ALTDA_CELESTIA_TLS_ENABLED=${CELESTIA_MAINNET_TLS:-true}
|
||||
- OP_ALTDA_FALLBACK_ENABLED=true
|
||||
- OP_ALTDA_FALLBACK_MODE=read_fallback
|
||||
- OP_ALTDA_FALLBACK_PROVIDER=s3
|
||||
- OP_ALTDA_FALLBACK_S3_BUCKET=caldera-celestia-cache-prod
|
||||
- OP_ALTDA_FALLBACK_S3_CREDENTIAL_TYPE=anonymous
|
||||
- OP_ALTDA_FALLBACK_S3_PREFIX=00000000000000000000000000000000000000866269ddf77dbc40ed9d
|
||||
- OP_ALTDA_FALLBACK_S3_READ_LEGACY_BLOBS=true
|
||||
- OP_ALTDA_FALLBACK_S3_REGION=us-west-2
|
||||
- OP_ALTDA_FALLBACK_S3_TIMEOUT=60s
|
||||
- OP_ALTDA_PORT=3100
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/manta-pacific/mainnet:/config
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=false
|
||||
|
||||
volumes:
|
||||
manta-pacific-mainnet-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: manta-pacific
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
- name: eth_maxPriorityFeePerGas
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
Reference in New Issue
Block a user