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: add EIP-7623 #75

Merged
merged 7 commits into from
Jan 22, 2025
Merged

Feat: add EIP-7623 #75

merged 7 commits into from
Jan 22, 2025

Conversation

mrLSD
Copy link
Member

@mrLSD mrLSD commented Jan 14, 2025

Description

➡️ Added EIP-7623 for Prague hard fork.
➡️ Extended tests for EIP-7623.

@mrLSD mrLSD self-assigned this Jan 14, 2025
@mrLSD mrLSD changed the base branch from master to feat/prague-hard-fork January 14, 2025 22:52
@mrLSD mrLSD added enhancement New feature or request EIP HF-Prague Prague hard fork labels Jan 21, 2025
@mrLSD mrLSD requested review from aleksuss and birchmd January 21, 2025 15:26
@mrLSD mrLSD mentioned this pull request Jan 21, 2025
6 tasks
Copy link
Member

@birchmd birchmd left a 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.

}

/// 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 {
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed: da31129

@mrLSD mrLSD merged commit ef796b1 into feat/prague-hard-fork Jan 22, 2025
11 checks passed
@mrLSD mrLSD deleted the feat/eip-7623 branch January 22, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EIP enhancement New feature or request HF-Prague Prague hard fork
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants