fix
This commit is contained in:
154
celo/alfajores/genesis.json
Normal file
154
celo/alfajores/genesis.json
Normal file
File diff suppressed because one or more lines are too long
42
celo/alfajores/rollup.json
Normal file
42
celo/alfajores/rollup.json
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"genesis": {
|
||||||
|
"l1": {
|
||||||
|
"hash": "0x64728368a04f067bc2abe78c1de17f3711b054c4f3e979955fd8482af85e86db",
|
||||||
|
"number": 2411247
|
||||||
|
},
|
||||||
|
"l2": {
|
||||||
|
"hash": "0xe96cb39b59ebe02553e47424e7f57dbfbffca905c3ff350765985289754a00a3",
|
||||||
|
"number": 26384000
|
||||||
|
},
|
||||||
|
"l2_time": 1727337408,
|
||||||
|
"system_config": {
|
||||||
|
"batcherAddr": "0x6f9cc6bfe1a0b446a36453d150905bbd6a4784e0",
|
||||||
|
"overhead": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"scalar": "0x00000000000000000000000000000000000000000000000000000000000f4240",
|
||||||
|
"gasLimit": 30000000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"block_time": 1,
|
||||||
|
"max_sequencer_drift": 1800,
|
||||||
|
"seq_window_size": 3600,
|
||||||
|
"channel_timeout": 300,
|
||||||
|
"l1_chain_id": 17000,
|
||||||
|
"l2_chain_id": 44787,
|
||||||
|
"regolith_time": 0,
|
||||||
|
"cel2_time": 0,
|
||||||
|
"canyon_time": 0,
|
||||||
|
"delta_time": 0,
|
||||||
|
"ecotone_time": 0,
|
||||||
|
"fjord_time": 0,
|
||||||
|
"granite_time": 0,
|
||||||
|
"batch_inbox_address": "0xfff0000000000000000000000000000000044787",
|
||||||
|
"deposit_contract_address": "0x82527353927d8d069b3b452904c942da149ba381",
|
||||||
|
"l1_system_config_address": "0x499b0c1f4bdc76d61b1d13b03384eac65faf50c7",
|
||||||
|
"protocol_versions_address": "0x0000000000000000000000000000000000000000",
|
||||||
|
"alt_da": {
|
||||||
|
"da_challenge_contract_address": "0x0000000000000000000000000000000000000000",
|
||||||
|
"da_commitment_type": "GenericCommitment",
|
||||||
|
"da_challenge_window": 1,
|
||||||
|
"da_resolve_window": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,15 @@
|
|||||||
services:
|
services:
|
||||||
|
init:
|
||||||
|
image: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth:celo8
|
||||||
|
volumes:
|
||||||
|
- "op-celo-alfajores-fullnode:/datadir"
|
||||||
|
- "celo/alfajores:/config"
|
||||||
|
command: init --datadir /datadir /config/genesis.json
|
||||||
|
|
||||||
op-celo-alfajores-fullnode:
|
op-celo-alfajores-fullnode:
|
||||||
image: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth:celo9
|
image: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-geth:celo8
|
||||||
|
depends_on:
|
||||||
|
- init
|
||||||
volumes:
|
volumes:
|
||||||
- "op-celo-alfajores-fullnode:/datadir"
|
- "op-celo-alfajores-fullnode:/datadir"
|
||||||
- ".jwtsecret:/jwtsecret"
|
- ".jwtsecret:/jwtsecret"
|
||||||
@@ -43,6 +52,7 @@ services:
|
|||||||
image: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-node:celo9
|
image: us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/op-node:celo9
|
||||||
depends_on:
|
depends_on:
|
||||||
- op-celo-alfajores-fullnode
|
- op-celo-alfajores-fullnode
|
||||||
|
- op-celo-alfajores-key-generator
|
||||||
expose:
|
expose:
|
||||||
- 8545 # RPC
|
- 8545 # RPC
|
||||||
- 39395 # P2P TCP
|
- 39395 # P2P TCP
|
||||||
@@ -60,13 +70,13 @@ services:
|
|||||||
--l2=http://op-celo-alfajores-fullnode:8551
|
--l2=http://op-celo-alfajores-fullnode:8551
|
||||||
--l2.jwt-secret=/jwtsecret
|
--l2.jwt-secret=/jwtsecret
|
||||||
--rollup.load-protocol-versions=true
|
--rollup.load-protocol-versions=true
|
||||||
--rollup.config=/data/rollup.json
|
--rollup.config=/config/rollup.json
|
||||||
--verifier.l1-confs=4
|
--verifier.l1-confs=4
|
||||||
--rpc.addr=0.0.0.0
|
--rpc.addr=0.0.0.0
|
||||||
--rpc.port=9545
|
--rpc.port=9545
|
||||||
--p2p.listen.tcp=39395
|
--p2p.listen.tcp=39395
|
||||||
--p2p.listen.udp=39395
|
--p2p.listen.udp=39395
|
||||||
--p2p.priv.path=/data/op-node_p2p_priv.txt
|
--p2p.priv.path=/config/p2p_node_key_txt
|
||||||
--p2p.static=/ip4/35.197.25.52/tcp/9222/p2p/16Uiu2HAmQEdyLRSAVZDr5SqbJ1RnKmNDhtQJcEKmemrVxe4FxKwR,/ip4/34.105.22.4/tcp/9222/p2p/16Uiu2HAm1SZBDSugT5MMu7vBY8auDgfZFNhoDeXPLc9Me5FsAxwT,/ip4/34.83.209.168/tcp/9222/p2p/16Uiu2HAmGJAiUX6HLSo4nLh8T984qxzokwL23cVsYuNZy2SrK7C6,/ip4/34.83.214.149/tcp/9222/p2p/16Uiu2HAmAko2Kr3eAjM7tnshtEhYrxQYfKUvN2kwiygeFoBAoi8S,/ip4/34.169.5.52/tcp/9222/p2p/16Uiu2HAmKc6YKHzYgsjBDaj36uAufxpgZFgrzDqVBt6zTPwdhhJD
|
--p2p.static=/ip4/35.197.25.52/tcp/9222/p2p/16Uiu2HAmQEdyLRSAVZDr5SqbJ1RnKmNDhtQJcEKmemrVxe4FxKwR,/ip4/34.105.22.4/tcp/9222/p2p/16Uiu2HAm1SZBDSugT5MMu7vBY8auDgfZFNhoDeXPLc9Me5FsAxwT,/ip4/34.83.209.168/tcp/9222/p2p/16Uiu2HAmGJAiUX6HLSo4nLh8T984qxzokwL23cVsYuNZy2SrK7C6,/ip4/34.83.214.149/tcp/9222/p2p/16Uiu2HAmAko2Kr3eAjM7tnshtEhYrxQYfKUvN2kwiygeFoBAoi8S,/ip4/34.169.5.52/tcp/9222/p2p/16Uiu2HAmKc6YKHzYgsjBDaj36uAufxpgZFgrzDqVBt6zTPwdhhJD
|
||||||
--altda.enabled=true
|
--altda.enabled=true
|
||||||
--altda.da-server=https://eigenda-proxy.alfajores.celo-testnet.org
|
--altda.da-server=https://eigenda-proxy.alfajores.celo-testnet.org
|
||||||
@@ -75,8 +85,17 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- .jwtsecret:/jwtsecret
|
- .jwtsecret:/jwtsecret
|
||||||
|
- ./celo/alfajores:/config"
|
||||||
stop_grace_period: 30s
|
stop_grace_period: 30s
|
||||||
|
|
||||||
|
op-celo-alfajores-key-generator:
|
||||||
|
image: ghcr.io/foundry-rs/foundry
|
||||||
|
volumes:
|
||||||
|
- "./celo/alfajores:/config"
|
||||||
|
entrypoint: sh
|
||||||
|
command: [ -f /config/p2p_node_key_txt ] && exit 0 || cast w n | grep -i 'Private Key' | awk -F ': ' '{print $2}' | sed 's/0x//' > /config/p2p_node_key_txt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
op-celo-alfajores-fullnode:
|
op-celo-alfajores-fullnode:
|
||||||
|
|||||||
Reference in New Issue
Block a user