Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated geth image caused invalid OPCODE PUSH0 error #218

Open
bap2pecs opened this issue Mar 22, 2024 · 2 comments
Open

Outdated geth image caused invalid OPCODE PUSH0 error #218

bap2pecs opened this issue Mar 22, 2024 · 2 comments

Comments

@bap2pecs
Copy link
Contributor

bap2pecs commented Mar 22, 2024

Root Cause

when running docker/scripts/v2/deploy-docker.sh to deploy the contracts to create the geth-mock-l1 image

it failed with invalid OPCODE PUSH0 error

root cause is due to PUSH0 was added recently (https://medium.com/coinmonks/push0-opcode-a-significant-update-in-the-latest-solidity-version-0-8-20-ea028668028a)

but docker/docker-compose.yml use ethereum/client-go:v1.12.0 which is a old image

Solution

changing it to ethereum/client-go:latest fixed the issue for us

@Sharonbc01
Copy link

Okay thanks.

@epociask
Copy link

It'd also be nice if we could use a geth image that supports multiple architecture targets (i.e x86, arm) to ensure better future cross compatibility and initial support for ARM based processors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants