Skip to content

display solidity source of current PC and bytecode if execution reverts during deployment #320

Open
@0xalpharush

Description

@0xalpharush

If a contract reverts in the constructor during the initial deployment, it'd be helpful to provide the user more context such as the decoded error or message in the require statement. Ideally the source line that caused it.

Currently we just get:
‣ contract deployment tx returned a failed status: execution reverted

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions