Add a FIXME comment.

This commit is contained in:
Hsiao-Wei Wang 2020-12-16 15:10:54 +08:00 committed by GitHub
parent acfe49e3f3
commit e63c96416a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ def get_inactivity_penalty_deltas(state: BeaconState) -> Tuple[Sequence[Gwei], S
```python
def process_final_updates(state: BeaconState) -> None:
# FIXME: unfold the full `process_final_updates` to avoid side effects.
phase0.process_final_updates(state)
next_epoch = get_current_epoch(state) + Epoch(1)
if next_epoch % EPOCHS_PER_SYNC_COMMITTEE_PERIOD == 0: