Closed voltagebots closed 1 year ago
here is my config: cc: @smartcontracts please assist
op-node:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.1.0
container_name: op-node
hostname: op-node
restart: always
command: op-node --l1= https://endpoints.omniatech.io/v1/op/goerli/public --l1.rpckind=any --l2=http://op-geth:8551 --l1.trustrpc --network=goerli --metrics.addr=0.0.0.0 --metrics.enabled --metrics.port=7300 --rpc.addr=0.0.0.0 --rpc.port=9545 --l2.jwt-secret=/var/jwt.txt
ports:
- 9003:9003
- 9545:9545
volumes:
- /mnt/disks/optimism/jwt.txt:/var/jwt.txt
user: '0'
op-geth:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:v1.101105.3
container_name: op-geth
# stop_grace_period: 5m
hostname: op-geth
env_file:
- /mnt/disks/optimism/op-geth.env
restart: always
command: --goerli --datadir=/geth --rollup.sequencerhttp="$BEDROCK_SEQUENCER_HTTP" --ws --ws.port=8546 --ws.addr=0.0.0.0 --ws.origins='*' --networkid=420 --http --http.port=8545 --http.addr=0.0.0.0 --http.vhosts='*' --http.corsdomain='*' --authrpc.addr=0.0.0.0 --authrpc.jwtsecret=/var/jwt.txt --syncmode=full --gcmode=archive --maxpeers=0 --nodiscover --authrpc.port=8551 --authrpc.vhosts='*' --rollup.disabletxpoolgossip=true --rollup.historicalrpc=http://l2geth:8547 --ws.api=debug,eth,txpool,net,engine,web3 --metrics
ports:
- 8551:8551
- 8545:8545
- 8546:8546
- 6060:6060
- 30303:30303/udp
volumes:
- /mnt/disks/optimism/op-geth:/geth
- /mnt/disks/optimism/jwt.txt:/var/jwt.txt
user: '0'
You're using an L2 RPC (https://endpoints.omniatech.io/v1/op/goerli/public ) as your L1 RPC, replace that with a Goerli node instead.
when i run the docker-compose file for goerli testnet, op-node shows the error below