Skip to content

Commit

Permalink
add deposits and withdrawals requests in execution payload
Browse files Browse the repository at this point in the history
  • Loading branch information
sudeepdino008 committed May 17, 2024
1 parent 51e2d4c commit dab28ed
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,22 @@ message ExecutionPayload {
repeated Withdrawal withdrawals = 16;
optional uint64 blob_gas_used = 17;
optional uint64 excess_blob_gas = 18;
repeated DepositRequests deposit_requests = 19;
repeated WithdrawalRequests withdrawal_requests = 20;
}

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

message WithdrawalRequests {
H160 source_address = 1;
bytes validator_pubkey = 2;
uint64 amount = 3;
}

message Withdrawal {
Expand Down

0 comments on commit dab28ed

Please sign in to comment.