-
Notifications
You must be signed in to change notification settings - Fork 613
Add eip1559 params to executable payload #1480
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -332,6 +332,8 @@ pub struct ExecutionPayloadV3 { | |
| /// See <https://github.com/ethereum/execution-apis/blob/fe8e13c288c592ec154ce25c534e26cb7ce0530d/src/engine/cancun.md#ExecutionPayloadV3> | ||
| #[cfg_attr(feature = "serde", serde(with = "alloy_serde::quantity"))] | ||
| pub excess_blob_gas: u64, | ||
| /// Array of hex[`u64`] representing the EIP-1559 parameters, enabled with V3 | ||
| pub eip_1559_params: B64, | ||
|
Comment on lines
+335
to
+336
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we can't do this, this is an op specific change.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I just realized as well, I should add this in |
||
| } | ||
|
|
||
| impl ExecutionPayloadV3 { | ||
|
|
@@ -397,6 +399,7 @@ impl ssz::Decode for ExecutionPayloadV3 { | |
| }, | ||
| blob_gas_used: decoder.decode_next()?, | ||
| excess_blob_gas: decoder.decode_next()?, | ||
| eip_1559_params: decoder.decode_next()?, | ||
| }) | ||
| } | ||
| } | ||
|
|
@@ -538,6 +541,7 @@ impl ssz::Decode for ExecutionPayloadV4 { | |
| }, | ||
| blob_gas_used: decoder.decode_next()?, | ||
| excess_blob_gas: decoder.decode_next()?, | ||
| eip_1559_params: decoder.decode_next()?, | ||
| }, | ||
| deposit_requests: decoder.decode_next()?, | ||
| withdrawal_requests: decoder.decode_next()?, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how will this be rolled out, will this just be a default value until this is activated?