Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

isRevertedWith should log human-readable alternate message #188

@georgercarder

Description

@georgercarder

Currently isRevertedWith simply returns bool as to whether a tx is reverted with "example message". But when the error message is not the expected message the actual error message may be be human unreadable error macro number.

We need to add the feature that isRevertedWith will make such an unexpected failure human readable if it is from an error macro.

Metadata

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