Skip to content

feat(eip1559): Support Optimism Canyon hardfork#1010

Merged
mattsse merged 2 commits intoalloy-rs:mainfrom
moricho:fix-op-param
Jul 4, 2024
Merged

feat(eip1559): Support Optimism Canyon hardfork#1010
mattsse merged 2 commits intoalloy-rs:mainfrom
moricho:fix-op-param

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
@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

Comments