fix?
This commit is contained in:
@@ -94,7 +94,7 @@ services:
|
||||
--metrics.addr=0.0.0.0
|
||||
--metrics.port=7300
|
||||
--syncmode=execution-layer
|
||||
--p2p.priv.path=/shared/op-node_p2p_priv.txt
|
||||
--p2p.priv.path=/chainconfigs/p2p_node_key_txt
|
||||
--rollup.config=/chainconfigs/rollup.json
|
||||
--rollup.load-protocol-versions=true
|
||||
--rollup.halt=major
|
||||
@@ -104,6 +104,14 @@ services:
|
||||
- ./celo/alfajores/:/chainconfigs/
|
||||
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:
|
||||
op-celo-alfajores-fullnode:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user