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: use empty requests hash when isthmus enabled #951

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

meyer9
Copy link
Contributor

@meyer9 meyer9 commented Jan 24, 2025

If Isthmus is enabled, pass empty SHA-256 hash as the requests root. Checked that this matches op-geth when passing in an empty array.

Wasn't totally sure where to put the constant for empty sha-256, but let me know if I should move it.

Spec: https://eips.ethereum.org/EIPS/eip-7685#block-header

Fixes #949

Copy link
Collaborator

@clabby clabby 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 to me. Thanks @meyer9! I'll handle moving the constant soon, not super important.

@clabby clabby added this pull request to the merge queue Jan 25, 2025
Merged via the queue into op-rs:main with commit 61e0039 Jan 25, 2025
13 of 14 checks passed
This was referenced Jan 24, 2025
refcell pushed a commit to meyer9/kona that referenced this pull request Jan 28, 2025
@github-actions github-actions bot mentioned this pull request Jan 28, 2025
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.

feat(executor): EIP-7685 no-op
2 participants