Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add deposits and withdrawals requests in execution payload #236

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading