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(eip1559): Support Optimism Canyon hardfork #1010

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

moricho
Copy link
Contributor

@moricho moricho commented Jul 4, 2024

Motivation

The new base fee denominator introduced at Optimism Canyon has not been exported to alloy from reth https://github.com/paradigmxyz/reth/blob/e95c6dba9d6b2cb4a729bdf3f1f02f4577e9e0a2/crates/primitives-traits/src/constants/mod.rs#L69-L71

Reth requires it in the OP_MAINNET spec, but according to this comment, OP_* consts may be removed from reth with the next alloy release. Hence it’d be better to export the Canyon base fee to this repository.

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

thanks!

@mattsse mattsse merged commit 629b496 into alloy-rs:main Jul 4, 2024
22 checks passed
@moricho moricho deleted the fix-op-param branch July 4, 2024 07:11
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
* feat(eip1559): Support Optimism Canyon harfork

* fix
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.

2 participants