Minor clean up
This commit is contained in:
parent
3fc1ebce06
commit
dac756efee
|
@ -8,5 +8,5 @@ MAX_BLS_TO_EXECUTION_CHANGES: 16
|
|||
|
||||
# Execution
|
||||
# ---------------------------------------------------------------
|
||||
# 2**2 (= 4)
|
||||
# [customized] 2**2 (= 4)
|
||||
MAX_WITHDRAWALS_PER_PAYLOAD: 4
|
||||
|
|
|
@ -276,7 +276,7 @@ def process_block(state: BeaconState, block: BeaconBlock) -> None:
|
|||
process_execution_payload(state, block.body.execution_payload, EXECUTION_ENGINE) # [Modified in Capella]
|
||||
process_randao(state, block.body)
|
||||
process_eth1_data(state, block.body)
|
||||
process_operations(state, block.body)
|
||||
process_operations(state, block.body) # [Modified in Capella]
|
||||
process_sync_aggregate(state, block.body.sync_aggregate)
|
||||
```
|
||||
|
||||
|
|
|
@ -741,8 +741,8 @@ def run_random_partial_withdrawals_test(spec, state, rng):
|
|||
|
||||
execution_payload = build_empty_execution_payload(spec, state)
|
||||
|
||||
# Note: due to the randomness and other epoch processing, some of these set as "partially withdrawable"
|
||||
# may not be partially withdrawable once we get to ``process_partial_withdrawals``,
|
||||
# Note: due to the randomness and other block processing, some of these set as "partially withdrawable"
|
||||
# may not be partially withdrawable once we get to ``process_withdrawals``,
|
||||
# thus *not* using the optional third param in this call
|
||||
yield from run_withdrawals_processing(spec, state, execution_payload)
|
||||
|
||||
|
|
Loading…
Reference in New Issue