Skip to content

feat: add Electra consensus types #1763

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

Closed
wants to merge 2 commits into from
Closed

Conversation

ogenev
Copy link
Member

@ogenev ogenev commented Apr 16, 2025

What was wrong?

How was it fixed?

To-Do

blob_gas_used: Some(payload.blob_gas_used),
excess_blob_gas: Some(payload.excess_blob_gas),
parent_beacon_block_root: Some(self.message.parent_root),
requests_hash: None,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
requests_hash: None,
requests_hash: None,

To calculate the requests_hash, you can take the execution_requests from the BeaconBlockBody convert them to this alloy type https://github.com/alloy-rs/alloy/blob/main/crates/eips/src/eip7685.rs then call .requests_hash()

I am not sure if this is helpful, but I hope it is

@morph-dev morph-dev mentioned this pull request May 2, 2025
1 task
@KolbyML
Copy link
Member

KolbyML commented May 2, 2025

superceded by #1799

@KolbyML KolbyML closed this May 2, 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.

2 participants