From 79913c8a4f833a1d3f7603ccb22311dc1a74eae6 Mon Sep 17 00:00:00 2001 From: Andrew Ashikhmin <34320705+yperbasis@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:41:55 +0200 Subject: [PATCH] add deposits and withdrawals requests in execution payload (#219) (#236) * add deposits and withdrawals requests in execution payload * remove plural s Co-authored-by: sudeep --- 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 {