Minor clean up

This commit is contained in:
Hsiao-Wei Wang 2022-11-07 09:09:09 -05:00
parent 3fc1ebce06
commit dac756efee
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
3 changed files with 4 additions and 4 deletions

View File

@ -8,5 +8,5 @@ MAX_BLS_TO_EXECUTION_CHANGES: 16
# Execution # Execution
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 2**2 (= 4) # [customized] 2**2 (= 4)
MAX_WITHDRAWALS_PER_PAYLOAD: 4 MAX_WITHDRAWALS_PER_PAYLOAD: 4

View File

@ -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_execution_payload(state, block.body.execution_payload, EXECUTION_ENGINE) # [Modified in Capella]
process_randao(state, block.body) process_randao(state, block.body)
process_eth1_data(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) process_sync_aggregate(state, block.body.sync_aggregate)
``` ```

View File

@ -741,8 +741,8 @@ def run_random_partial_withdrawals_test(spec, state, rng):
execution_payload = build_empty_execution_payload(spec, state) execution_payload = build_empty_execution_payload(spec, state)
# Note: due to the randomness and other epoch processing, some of these set as "partially withdrawable" # 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_partial_withdrawals``, # may not be partially withdrawable once we get to ``process_withdrawals``,
# thus *not* using the optional third param in this call # thus *not* using the optional third param in this call
yield from run_withdrawals_processing(spec, state, execution_payload) yield from run_withdrawals_processing(spec, state, execution_payload)