Switch the order of `process_deposit_receipt` and `process_execution_layer_withdrawal_request`
This commit is contained in:
parent
ffebf88de5
commit
143b9e623d
|
@ -1034,9 +1034,9 @@ def process_operations(state: BeaconState, body: BeaconBlockBody) -> None:
|
||||||
for_ops(body.deposits, process_deposit) # [Modified in Electra:EIP7251]
|
for_ops(body.deposits, process_deposit) # [Modified in Electra:EIP7251]
|
||||||
for_ops(body.voluntary_exits, process_voluntary_exit) # [Modified in Electra:EIP7251]
|
for_ops(body.voluntary_exits, process_voluntary_exit) # [Modified in Electra:EIP7251]
|
||||||
for_ops(body.bls_to_execution_changes, process_bls_to_execution_change)
|
for_ops(body.bls_to_execution_changes, process_bls_to_execution_change)
|
||||||
|
for_ops(body.execution_payload.deposit_receipts, process_deposit_receipt) # [New in Electra:EIP6110]
|
||||||
# [New in Electra:EIP7002:EIP7251]
|
# [New in Electra:EIP7002:EIP7251]
|
||||||
for_ops(body.execution_payload.withdrawal_requests, process_execution_layer_withdrawal_request)
|
for_ops(body.execution_payload.withdrawal_requests, process_execution_layer_withdrawal_request)
|
||||||
for_ops(body.execution_payload.deposit_receipts, process_deposit_receipt) # [New in Electra:EIP6110]
|
|
||||||
# [New in Electra:EIP7251]
|
# [New in Electra:EIP7251]
|
||||||
for_ops(body.execution_payload.consolidation_requests, process_execution_layer_consolidation_request)
|
for_ops(body.execution_payload.consolidation_requests, process_execution_layer_consolidation_request)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue