-
Notifications
You must be signed in to change notification settings - Fork 9
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: add EIP-7623 #75
Conversation
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.
Looks good overall, just one question.
src/executor/stack/executor.rs
Outdated
} | ||
|
||
/// Get fee needed for the current executor, given the price. | ||
pub fn fee(&self, price: U256) -> U256 { | ||
pub fn fee(&mut self, price: U256) -> U256 { |
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.
Why does this need to be mutable now?
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.
Good catch! After new tests peactra-devnet-5-1.2.0
some logic was changed. I cleared mut
in other places. And that line just forget. Funny that clippy didn't warn it.
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: da31129
Description
➡️ Added EIP-7623 for Prague hard fork.
➡️ Extended tests for
EIP-7623
.