Fix typing problem in `sharding.process_block`

This commit is contained in:
ericsson 2021-05-18 14:14:43 +03:00
parent f4aa9f8c65
commit 441992c779
1 changed files with 3 additions and 1 deletions

View File

@ -459,7 +459,9 @@ def process_block(state: BeaconState, block: BeaconBlock) -> None:
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) # [Modified in Sharding] process_operations(state, block.body) # [Modified in Sharding]
process_execution_payload(state, block.body) # [New in Merge] # Pre-merge, skip execution payload processing
if is_execution_enabled(state, block):
process_execution_payload(state, block.body.execution_payload, EXECUTION_ENGINE) # [New in Merge]
``` ```
#### Operations #### Operations