Skip to content

Commit f8486db

Browse files
yperbasissudeepdino008
authored andcommitted
add deposits and withdrawals requests in execution payload (erigontech#219) (erigontech#236)
* add deposits and withdrawals requests in execution payload * remove plural s Co-authored-by: sudeep <[email protected]>
1 parent 5b9c2c7 commit f8486db

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

types/types.proto

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,22 @@ message ExecutionPayload {
7777
repeated Withdrawal withdrawals = 16;
7878
optional uint64 blob_gas_used = 17;
7979
optional uint64 excess_blob_gas = 18;
80+
repeated DepositRequest deposit_requests = 19;
81+
repeated WithdrawalRequest withdrawal_requests = 20;
82+
}
83+
84+
message DepositRequest {
85+
bytes pubkey = 1;
86+
H256 withdrawal_credentials = 2;
87+
uint64 amount = 3;
88+
bytes signature = 4;
89+
uint64 index = 5;
90+
}
91+
92+
message WithdrawalRequest {
93+
H160 source_address = 1;
94+
bytes validator_pubkey = 2;
95+
uint64 amount = 3;
8096
}
8197

8298
message Withdrawal {

0 commit comments

Comments
 (0)