-
Notifications
You must be signed in to change notification settings - Fork 12
fix: handle precompile reverts correctly #34
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
Conversation
|
@klkvr revm has new release are you planing to finish this PR ? |
|
yep should require using reth main and latest alloy-evm release |
| // basic check | ||
| if header1.number.to_be_bytes().len() > 32 || header2.number.to_be_bytes().len() > 32 { | ||
| return Err(BscPrecompileError::DoubleSignInvalidEvidence.into()); | ||
| return revert() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what did the #44 change exactly? before this PR Reverted variant had same effect as DoubleSignInvalidEvidence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Fixed #30. |
chore: resolve conflicts with develop

Blocked on revm release with bluealloy/revm#2711