Skip to content

Add Contract Deployment OOG Failure Integration tests #761

@K-Ho

Description

@K-Ho

Is your feature request related to a problem? Please describe.
A frequent issue has been getting CALL_EXCEPTION errors when trying to call an L2 contract that failed to deploy. The most common two ways that L2 contracts fail deployment is

  1. Failed Safety Check (issue here Add Safety Check failure Integration test #648)
  2. Running out of gas during contract deployment

Describe the solution you'd like
We need an integration test that performs a contract deployment that will run out of gas (e.g. while loop in the constructor) and checks that there is a clear "Out of Gas" revert message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions