support for bob
This commit is contained in:
106
op-bob-mainnet.yml
Normal file
106
op-bob-mainnet.yml
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
version: '3.1'
|
||||||
|
|
||||||
|
services:
|
||||||
|
op-bob-mainnet: # this is Optimism's geth client
|
||||||
|
#image: stakesquid/op-bob-mainnet:v0.1
|
||||||
|
build:
|
||||||
|
context: ./op
|
||||||
|
expose:
|
||||||
|
- 8545 # RPC / Websocket
|
||||||
|
- 2483 # P2P TCP (currently unused)
|
||||||
|
- 2483/udp # P2P UDP (currently unused)
|
||||||
|
- 6060 # metrics
|
||||||
|
ports:
|
||||||
|
- "2483:2483"
|
||||||
|
- "2483:2483/udp"
|
||||||
|
command: [ "sh", "./geth-entrypoint" ]
|
||||||
|
restart: always
|
||||||
|
stop_grace_period: 3m
|
||||||
|
volumes:
|
||||||
|
- bob-mainnet:/data
|
||||||
|
- .jwtsecret:/jwtsecret
|
||||||
|
environment:
|
||||||
|
- "GETH_GENESIS_FILE_PATH=/app/mainnet/bob/genesis.json"
|
||||||
|
- "GETH_ROLLUP_SEQUENCERHTTP=https://rpc-bob-mainnet-0.t.conduit.xyz"
|
||||||
|
- "GETH_GCMODE=full"
|
||||||
|
- "GETH_NODISCOVER=true"
|
||||||
|
- "GETH_STATE_SCHEME=hash"
|
||||||
|
- "GETH_DB_ENGINE=pebble"
|
||||||
|
- "IP=${IP}"
|
||||||
|
- "P2P_PORT=2483"
|
||||||
|
- "WS_PORT=8545"
|
||||||
|
- "OP_NODE_L2_ENGINE_AUTH=/jwtsecret"
|
||||||
|
- "HOST_IP=${IP}"
|
||||||
|
- "GETH_OVERRIDE_CANYON=1704992401"
|
||||||
|
- "GETH_OVERRIDE_DELTA=1708560000"
|
||||||
|
- "GETH_OVERRIDE_ECOTONE=1710374401"
|
||||||
|
- "GETH_OVERRIDE_FJORD=1720627201"
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.middlewares.bob-stripprefix.stripprefix.prefixes=/bob-mainnet"
|
||||||
|
- "traefik.http.services.bob.loadbalancer.server.port=8545"
|
||||||
|
- "traefik.http.routers.bob.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.bob.tls.certresolver=myresolver"
|
||||||
|
- "traefik.http.routers.bob.rule=Host(`$DOMAIN`) && PathPrefix(`/bob-mainnet`)"
|
||||||
|
- "traefik.http.routers.bob.middlewares=bob-stripprefix, ipwhitelist"
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
|
||||||
|
|
||||||
|
op-bob-mainnet-node:
|
||||||
|
#image: stakesquid/op-bob-mainnet:v0.1
|
||||||
|
build:
|
||||||
|
context: ./op
|
||||||
|
depends_on:
|
||||||
|
- op-bob-mainnet
|
||||||
|
expose:
|
||||||
|
- 8545 # RPC
|
||||||
|
- 3306 # P2P TCP
|
||||||
|
- 3306/udp # P2P UDP
|
||||||
|
- 7300 # metrics
|
||||||
|
- 6060 # pprof
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
- "3306:3306/udp"
|
||||||
|
command: [ "sh", "./op-node-entrypoint" ]
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- .jwtsecret:/jwtsecret
|
||||||
|
stop_grace_period: 30s
|
||||||
|
environment:
|
||||||
|
#- "OP_NODE_NETWORK=bob-mainnet-0"
|
||||||
|
- "OP_NODE_L1_ETH_RPC=${BOB_MAINNET_L1_ENDPOINT}"
|
||||||
|
- "OP_NODE_L2_ENGINE_AUTH_RAW=${JWTSECRET}"
|
||||||
|
- "OP_NODE_L2_ENGINE_AUTH=/jwtsecret"
|
||||||
|
- "OP_NODE_L2_ENGINE_RPC=http://op-bob-mainnet:8551"
|
||||||
|
- "OP_NODE_LOG_LEVEL=info"
|
||||||
|
- "OP_NODE_METRICS_ADDR=0.0.0.0"
|
||||||
|
- "OP_NODE_METRICS_ENABLED=true"
|
||||||
|
- "OP_NODE_METRICS_PORT=7300"
|
||||||
|
- "OP_NODE_P2P_BOOTNODES=enode://09acd29625beb40604b12b1c2194d6d5eb290aee03e0149675201ed717ce226c506671f46fcd440ce6f5e62dc4e059ffe88bcd931f2febcd22520ae7b9d00b5e@34.83.120.192:9222?discport=30301,enode://d25ce99435982b04d60c4b41ba256b84b888626db7bee45a9419382300fbe907359ae5ef250346785bff8d3b9d07cd3e017a27e2ee3cfda3bcbb0ba762ac9674@bootnode.conduit.xyz:0?discport=30301,enode://2d4e7e9d48f4dd4efe9342706dd1b0024681bd4c3300d021f86fc75eab7865d4e0cbec6fbc883f011cfd6a57423e7e2f6e104baad2b744c3cafaec6bc7dc92c1@34.65.43.171:0?discport=30305,enode://9d7a3efefe442351217e73b3a593bcb8efffb55b4807699972145324eab5e6b382152f8d24f6301baebbfb5ecd4127bd3faab2842c04cd432bdf50ba092f6645@34.65.109.126:0?discport=30305"
|
||||||
|
- "OP_NODE_P2P_STATIC=/ip4/34.83.120.192/tcp/9222/p2p/16Uiu2HAkv5SVdeF4hFqJyCATwT87S3PZmutm8akrgwfcdFeqNxWw"
|
||||||
|
- "OP_NODE_P2P_AGENT=conduit"
|
||||||
|
- "OP_NODE_P2P_LISTEN_IP=0.0.0.0"
|
||||||
|
- "OP_NODE_P2P_LISTEN_TCP_PORT=3306"
|
||||||
|
- "OP_NODE_P2P_LISTEN_UDP_PORT=3306"
|
||||||
|
- "OP_NODE_ROLLUP_CONFIG=/app/mainnet/bob/rollup.json"
|
||||||
|
- "OP_NODE_RPC_ADDR=0.0.0.0"
|
||||||
|
- "OP_NODE_P2P_ADVERTISE_IP=${IP}"
|
||||||
|
- "OP_NODE_RPC_PORT=8545"
|
||||||
|
- "OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log"
|
||||||
|
- "OP_NODE_VERIFIER_L1_CONFS=4"
|
||||||
|
- "OP_NODE_L1_RPC_MAX_BATCH_SIZE=${BOB_MAINNET_L1_BATCH_SIZE:-20}"
|
||||||
|
- "OP_NODE_L1_RPC_RATE_LIMIT=${BOB_MAINNET_L1_RATE_LIMIT:-30}"
|
||||||
|
- "OP_NODE_L1_RPC_KIND=${BOB_MAINNET_L1_ENDPOINT_KIND:-basic}"
|
||||||
|
- "OP_NODE_L1_TRUST_RPC=${BOB_MAINNET_L1_ENDPOINT_TRUST:-false}"
|
||||||
|
- "OP_NODE_L1_BEACON=${BOB_MAINNET_L1_BEACON_URL}"
|
||||||
|
- "OP_NODE_L1_BEACON_ARCHIVER=${BOB_MAINNET_L1_BEACON_ARCHIVER}"
|
||||||
|
- "OP_NODE_OVERRIDE_CANYON=1704992401"
|
||||||
|
- "OP_NODE_OVERRIDE_DELTA=1708560000"
|
||||||
|
- "OP_NODE_OVERRIDE_ECOTONE=1710374401"
|
||||||
|
- "OP_NODE_OVERRIDE_FJORD=1720627201"
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
bob-mainnet:
|
||||||
15344
op/mainnet/bob/genesis.json
Normal file
15344
op/mainnet/bob/genesis.json
Normal file
File diff suppressed because one or more lines are too long
38
op/mainnet/bob/rollup.json
Normal file
38
op/mainnet/bob/rollup.json
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"genesis": {
|
||||||
|
"l1": {
|
||||||
|
"hash": "0x218132178d65c4bc490aadd93c31535326043fe1fe8fea2d87f26c1da83d45c2",
|
||||||
|
"number": 19634321
|
||||||
|
},
|
||||||
|
"l2": {
|
||||||
|
"hash": "0x8ed4903b7f9c3f7bb7a09374d63ae9c9852cd9aab1784b433c41dbeb47b4dba2",
|
||||||
|
"number": 0
|
||||||
|
},
|
||||||
|
"l2_time": 1712861987,
|
||||||
|
"system_config": {
|
||||||
|
"batcherAddr": "0x08f9f14ff43e112b18c96f0986f28cb1878f1d11",
|
||||||
|
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
|
||||||
|
"scalar": "0x00000000000000000000000000000000000000000000000000000000000a6fe0",
|
||||||
|
"gasLimit": 30000000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"block_time": 2,
|
||||||
|
"max_sequencer_drift": 600,
|
||||||
|
"seq_window_size": 3600,
|
||||||
|
"channel_timeout": 300,
|
||||||
|
"l1_chain_id": 1,
|
||||||
|
"l2_chain_id": 60808,
|
||||||
|
"regolith_time": 0,
|
||||||
|
"canyon_time": 0,
|
||||||
|
"delta_time": 0,
|
||||||
|
"ecotone_time": 0,
|
||||||
|
"batch_inbox_address": "0x3a75346f81302aac0333fb5dcdd407e12a6cfa83",
|
||||||
|
"deposit_contract_address": "0x8adee124447435fe03e3cd24df3f4cae32e65a3e",
|
||||||
|
"l1_system_config_address": "0xacb886b75d76d1c8d9248cfddfa09b70c71c5393",
|
||||||
|
"protocol_versions_address": "0x0000000000000000000000000000000000000000",
|
||||||
|
"da_challenge_address": "0x0000000000000000000000000000000000000000",
|
||||||
|
"da_challenge_window": 0,
|
||||||
|
"da_resolve_window": 0,
|
||||||
|
"use_plasma": false
|
||||||
|
}
|
||||||
|
|
||||||
@@ -374,6 +374,11 @@
|
|||||||
"op-zora-archive"
|
"op-zora-archive"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"bob": {
|
||||||
|
"id": 60808,
|
||||||
|
"urls": ["https://rpc-mode-mainnet-0.t.conduit.xyz"],
|
||||||
|
"default": ["op-bob-mainnet"]
|
||||||
|
},
|
||||||
"mode": {
|
"mode": {
|
||||||
"id": 34443,
|
"id": 34443,
|
||||||
"urls": [
|
"urls": [
|
||||||
|
|||||||
Reference in New Issue
Block a user