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

Som/pectra4 engine api #244

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ message BlockBody {
repeated bytes transactions = 3;
repeated Header uncles = 4;
repeated types.Withdrawal withdrawals = 5; // added in Shapella (EIP-4895)
repeated bytes requests = 6; // added in Pectra (EIP-7685)
}

message Block {
Expand Down Expand Up @@ -143,6 +142,7 @@ message AssembledBlockData {
types.ExecutionPayload execution_payload = 1;
types.H256 block_value = 2;
types.BlobsBundleV1 blobs_bundle = 3;
types.RequestsBundle requests = 4;
}

message GetAssembledBlockResponse {
Expand Down
23 changes: 4 additions & 19 deletions types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,25 +77,6 @@ message ExecutionPayload {
repeated Withdrawal withdrawals = 16;
optional uint64 blob_gas_used = 17;
optional uint64 excess_blob_gas = 18;
repeated DepositRequest deposit_requests = 19;
repeated WithdrawalRequest withdrawal_requests = 20;
repeated ConsolidationRequest consolidation_requests = 21;
}

message DepositRequest {
bytes pubkey = 1;
H256 withdrawal_credentials = 2;
uint64 amount = 3;
bytes signature = 4;
uint64 index = 5;
}

message WithdrawalRequest {
bytes request_data = 1;
}

message ConsolidationRequest {
bytes request_data = 1;
}

message Withdrawal {
Expand All @@ -113,6 +94,10 @@ message BlobsBundleV1 {
repeated bytes proofs = 3;
}

message RequestsBundle {
repeated bytes requests = 1;
}

// End of Engine API types
// ------------------------------------------------------------------------

Expand Down
Loading