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: Convert optimism panic into graceful error #982

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

kekonen
Copy link
Contributor

@kekonen kekonen commented Jan 16, 2024

In #967 there is described a temporary solution for a panic in optimism handler code.
So far, it is a simple extension for the EVMError enum, containing error explanation as a String.
All related panics are replaced with the code returning this error.

This is my first quick issue here, looking forward for feedback.

@kekonen kekonen marked this pull request as draft January 16, 2024 21:45
@kekonen kekonen marked this pull request as ready for review January 16, 2024 21:58
Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

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

one nit on comment

Co-authored-by: rakita <rakita@users.noreply.github.com>
@rakita rakita merged commit 4aa835a into bluealloy:main Jan 17, 2024
25 checks passed
@kekonen kekonen deleted the kekonen/custom-evm-error branch January 17, 2024 12:54
@github-actions github-actions bot mentioned this pull request Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants