mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 07:05:04 -05:00
Update specs/core/1_new_shards.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
@@ -494,7 +494,7 @@ def process_light_client_signatures(state: BeaconState, block: BeaconBlock) -> N
|
||||
### Epoch transition
|
||||
|
||||
```python
|
||||
def phase_1_epoch_transition(state):
|
||||
def phase_1_epoch_transition(state: BeaconState) -> None:
|
||||
# Slowly remove validators from the "online" set if they do not show up
|
||||
for index in range(len(state.validators)):
|
||||
if state.online_countdown[index] != 0:
|
||||
|
||||
Reference in New Issue
Block a user