mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 03:12:41 +00:00
Add support for electra fields in getPayloadBodies
This commit is contained in:
@@ -580,6 +580,14 @@ pub async fn handle_rpc<E: EthSpec>(
|
||||
.withdrawals()
|
||||
.ok()
|
||||
.map(|withdrawals| VariableList::from(withdrawals.clone())),
|
||||
deposit_receipts: block.deposit_receipts().ok().map(
|
||||
|deposit_receipts| VariableList::from(deposit_receipts.clone()),
|
||||
),
|
||||
withdrawal_requests: block.withdrawal_requests().ok().map(
|
||||
|withdrawal_requests| {
|
||||
VariableList::from(withdrawal_requests.clone())
|
||||
},
|
||||
),
|
||||
}));
|
||||
}
|
||||
None => response.push(None),
|
||||
|
||||
Reference in New Issue
Block a user