mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 09:15:17 +00:00
Update 0_fork-choice.md
This commit is contained in:
parent
a6cecaf212
commit
bb5a721707
@ -158,7 +158,7 @@ def on_block(store: Store, block: BeaconBlock) -> None:
|
||||
# Check that block is later than the finalized epoch slot
|
||||
assert block.slot > compute_start_slot_at_epoch(store.finalized_checkpoint.epoch)
|
||||
# Check the block is valid and compute the post-state
|
||||
state = state_transition(pre_state, block)
|
||||
state = state_transition(pre_state, block, true)
|
||||
# Add new state for this block to the store
|
||||
store.block_states[signing_root(block)] = state
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user