From 272d58d363ecd8bbb7cf57c4dad9beb645228af0 Mon Sep 17 00:00:00 2001 From: sudeep Date: Fri, 17 May 2024 15:21:28 +0300 Subject: [PATCH] add deposits and withdrawals requests in execution payload (#219) * add deposits and withdrawals requests in execution payload * remove plural s --- types/types.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/types/types.proto b/types/types.proto index 7a0c30d..873138b 100644 --- a/types/types.proto +++ b/types/types.proto @@ -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 {