Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(contracts): decoding revert data #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yash-atreya
Copy link
Member

Motivation

Closes #179

Solution

Demonstrate contract::Error methods:

  • as_revert_data
  • as_decoded_error
  • as_decoded_interface_error

PR Checklist

  • Added Documentation
  • Breaking changes

Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! pending new alloy release prior to merging

@yash-atreya yash-atreya self-assigned this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Reviewed
Development

Successfully merging this pull request may close these issues.

Add an example for working with revert data from contracts
2 participants