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

isRevertedWith should log human-readable alternate message #188

Open
georgercarder opened this issue Jun 15, 2022 · 0 comments
Open

isRevertedWith should log human-readable alternate message #188

georgercarder opened this issue Jun 15, 2022 · 0 comments

Comments

@georgercarder
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant