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

Add parent_beacon_block_root (EIP-4788) #187

Merged
merged 5 commits into from
Aug 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ message Header {
types.H256 ommer_hash = 15;
types.H256 transaction_hash = 16;
optional types.H256 base_fee_per_gas = 17;
optional types.H256 withdrawal_hash = 18;
optional uint64 blob_gas_used = 19;
optional uint64 excess_blob_gas = 20;
optional types.H256 withdrawal_hash = 18; // added in Shapella (EIP-4895)
optional uint64 blob_gas_used = 19; // added in Dencun (EIP-4844)
optional uint64 excess_blob_gas = 20; // added in Dencun (EIP-4844)
optional types.H256 parent_beacon_block_root = 21; // added in Dencun (EIP-4788)
}

// Body is a block body for execution
Expand Down Expand Up @@ -113,11 +114,12 @@ message ValidationRequest {
}

message AssembleBlockRequest {
types.H256 parentHash = 1;
types.H256 parent_hash = 1;
uint64 timestamp = 2;
types.H256 mixDigest = 3;
types.H160 suggestedFeeRecipent = 4;
repeated types.Withdrawal withdrawals = 5;
types.H256 prev_randao = 3;
types.H160 suggested_fee_recipient = 4;
repeated types.Withdrawal withdrawals = 5; // added in Shapella (EIP-4895)
optional types.H256 parent_beacon_block_root = 6; // added in Dencun (EIP-4788)
}

message AssembleBlockResponse {
Expand Down
Loading