Skip to content

Commit

Permalink
add deposits and withdrawals requests in execution payload (#219) (#236)
Browse files Browse the repository at this point in the history
* add deposits and withdrawals requests in execution payload

* remove plural s

Co-authored-by: sudeep <sudeepdino008@gmail.com>
  • Loading branch information
yperbasis and sudeepdino008 authored Oct 1, 2024
1 parent 2daafd7 commit 79913c8
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 DepositRequest deposit_requests = 19;
repeated WithdrawalRequest withdrawal_requests = 20;
}

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

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

message Withdrawal {
Expand Down

0 comments on commit 79913c8

Please sign in to comment.