Skip to content

Update compiler + safety checker to remove 1 byte return logic #606

@smartcontracts

Description

@smartcontracts

Is your feature request related to a problem? Please describe.
We previously had some unnecessary logic in the OVM_ExecutionManager that used a returndata of length = 1 to signify a revert in a contract creation. We modified the compiler and safety checker to account for this condition. Since we no longer rely on this logic, I think it's best to remove those changes from the compiler.

Describe the solution you'd like
I would like the 1 byte return data thing to be removed from the compiler and the safety checker. It's confusing to leave this in when it's not needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-choreCategory: Code, docs or tooling maintenance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions