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

Use Custom Errors Instead of Revert Strings #255

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

nlordell
Copy link
Collaborator

@nlordell nlordell commented Feb 7, 2024

This PR changes the module to use custom errors instead of revert strings.

Previously, the entry point contract v0.6 had special support for revert strings for improving debuggability of signature validation errors. However, since v0.7, this is no longer the case, so we should use custom errors in order to allow better error context and smaller bytecode.

This PR is adapted from #247, and modified to target the entrypoint-v0.7 branch.

@nlordell nlordell requested a review from a team as a code owner February 7, 2024 13:11
@nlordell nlordell requested review from rmeissner, akshay-ap, mmv08 and remedcu and removed request for a team February 7, 2024 13:11
@nlordell nlordell merged commit 846a782 into feature/entrypoint-v0.7 Feb 7, 2024
8 checks passed
@nlordell nlordell deleted the use-custom-errors branch February 7, 2024 13:15
@github-actions github-actions bot locked and limited conversation to collaborators Feb 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants