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

fix: make l1_fee_scalar f64 #209

Merged
merged 2 commits into from
Feb 13, 2024
Merged

fix: make l1_fee_scalar f64 #209

merged 2 commits into from
Feb 13, 2024

Conversation

0xZerohero
Copy link
Contributor

Motivation

Related to paradigmxyz/reth#6547
In op-geth l1FeeScalar is represented as a float and is serialized to string

FeeScalar  *big.Float `json:"l1FeeScalar,omitempty"` // always nil after Ecotone hardfork
if receipt.FeeScalar != nil { // removed in Ecotone
	fields["l1FeeScalar"] = receipt.FeeScalar.String()
}

This introduces a breaking change in reth and need to be synchronized with paradigmxyz/reth#6575

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

0xZerohero added a commit to 0xZerohero/reth that referenced this pull request Feb 13, 2024
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.

lgtm, 1 nit

@mattsse mattsse merged commit a4453d4 into alloy-rs:main Feb 13, 2024
14 checks passed
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