Skip to content

simulated.NewBackend does not support Shanghai (invalid opcode: PUSH0) #31203

Open
@nksazonov

Description

System information

Geth version: v1.14.13
OS & Version: MacOS 14.1.2 (23B92)

Expected behaviour

A contract compiled with solc >0.8.19 is deployed using the simulated.NewBackend(...).

Actual behaviour

An error invalid opcode: PUSH0 is received.

Steps to reproduce the behaviour

  1. Create bindings for a contract compiled with solc v0.8.20.
  2. Create a simulated backend with default settings.
  3. Use this simulated backend to deploy the contract.

Also, it was confirmed that if the contract is compiled with solc v0.8.19, it IS DEPLOYED successfully.

This may be related to #28144

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions