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

Pull in geth changes to parse ABI errors #2121

Merged
merged 3 commits into from
Feb 5, 2024
Merged

Conversation

PlasmaPower
Copy link
Collaborator

Pulls in OffchainLabs/go-ethereum#287

As mentioned there, this allows for nice error messages like execution reverted: NoSuchKeyset(0x0100000000000000000000000000000000000000000000000000000000000000)

This PR also updates precompile.go now that Error's Unpack method returns a better type.

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Feb 1, 2024
Copy link
Member

@joshuacolvin0 joshuacolvin0 left a comment

Choose a reason for hiding this comment

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

LGTM

@joshuacolvin0 joshuacolvin0 merged commit bba477f into master Feb 5, 2024
8 checks passed
@joshuacolvin0 joshuacolvin0 deleted the parse-abi-errors branch February 5, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants