0xPolygonHermez / zkevm-node

Go implementation of a node that operates the Polygon zkEVM Network
Other
539 stars 699 forks source link

rollupManager Config issue #3567

Open blockchain-trainer opened 7 months ago

blockchain-trainer commented 7 months ago

Following this documentation, getting error on docker compose -f ./docker-compose.yml up:

I think we need the missing step of deploying rollUpManager and configuring it. Also using sepolia instead of Goerli as its been discontinued.

Manager: 0 using rollupID: 0 {"pid": 1, "version": "v0.6.5"} zkevm-rpc | 2024-04-17T12:53:00.055Z DEBUG etherman/etherman.go:1765 error from rollupManager: no contract code at given address {"pid": 1, "version": "v0.6.5"} zkevm-rpc | 2024-04-17T12:53:00.056Z FATAL cmd/run.go:119 no contract code at given address zkevm-rpc | /src/log/log.go:142 github.com/0xPolygonHermez/zkevm-node/log.appendStackTraceMaybeArgs() zkevm-rpc | /src/log/log.go:223 github.com/0xPolygonHermez/zkevm-node/log.Fatal() zkevm-rpc | /src/cmd/run.go:119 main.start() zkevm-rpc | /go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:277 github.com/urfave/cli/v2.(Command).Run() zkevm-rpc | /go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:270 github.com/urfave/cli/v2.(Command).Run() zkevm-rpc | /go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:335 github.com/urfave/cli/v2.(App).RunContext() zkevm-rpc | /go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:309 github.com/urfave/cli/v2.(App).Run() zkevm-rpc | /src/cmd/main.go:191 main.main() zkevm-rpc | /usr/local/go/src/runtime/proc.go:267 runtime.main() zkevm-rpc | {"pid": 1, "version": "v0.6.5"} zkevm-rpc | main.start zkevm-rpc | /src/cmd/run.go:119 zkevm-rpc | github.com/urfave/cli/v2.(Command).Run zkevm-rpc | /go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:277 zkevm-rpc | github.com/urfave/cli/v2.(Command).Run zkevm-rpc | /go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/command.go:270 zkevm-rpc | github.com/urfave/cli/v2.(App).RunContext zkevm-rpc | /go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:335 zkevm-rpc | github.com/urfave/cli/v2.(App).Run zkevm-rpc | /go/pkg/mod/github.com/urfave/cli/v2@v2.26.0/app.go:309 zkevm-rpc | main.main zkevm-rpc | /src/cmd/main.go:191 zkevm-rpc | runtime.main zkevm-rpc | /usr/local/go/src/runtime/proc.go:267 zkevm-sync | 2024-04-17T12:53:00.772Z DEBUG etherman/etherman.go:264 error rollupManager.RollupAddressToID(0x5132A183E9F3CB7C848b0AAC5Ae0c4f0491B7aB2). Error: %!w(*errors.errorString=&{no contract code at given address}) {"pid": 1, "version": "v0.6.5"}