Withdrawals are CL → EL communication, whereas deposits, exits, and partial withdrawals are EL → CL communication (a request).
Makes sense, thanks for the clarification.
Considering that it gets transformed to a deposit_receipts
list in the CL ExecutionPayload
, maybe still simpler to just match that in the EL block header, as in, make it a deposit_receipts
list there as well, instead of the list of prefixed opaque blocks.
How would JSON-RPC look for these? Would it return the prefixed opaque data, or something sensible (as is the case for withdrawals/receipts/transactions atm)?