mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 21:35:18 -05:00
Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
@@ -457,7 +457,7 @@ def process_attestations(state: BeaconState, block: BeaconBlock, attestations: S
|
||||
### Misc block post-processing
|
||||
|
||||
```python
|
||||
def misc_block_post_process(state: BeaconState, block: BeaconBlock):
|
||||
def misc_block_post_process(state: BeaconState, block: BeaconBlock) -> None:
|
||||
# Verify that a `shard_transition` in a block is empty if an attestation was not processed for it
|
||||
for shard in range(MAX_SHARDS):
|
||||
if state.shard_states[shard].slot != state.slot - 1:
|
||||
|
||||
Reference in New Issue
Block a user