minor reorder to process_epoch calls

This commit is contained in:
Danny Ryan 2021-02-01 07:06:29 -07:00
parent 6ce4b1b0e7
commit ad01c85ff6
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
2 changed files with 3 additions and 4 deletions

View File

@ -483,8 +483,8 @@ def process_epoch(state: BeaconState) -> None:
process_randao_mixes_reset(state)
process_historical_roots_update(state)
# [Added in HF1]
process_sync_committee_updates(state)
process_participation_flag_updates(state)
process_sync_committee_updates(state)
# [Removed in HF1] -- process_participation_record_updates(state)
```

View File

@ -16,9 +16,8 @@ def get_process_calls(spec):
'process_slashings_reset',
'process_randao_mixes_reset',
'process_historical_roots_update',
# LIGHTCLIENT_PATCH replaced `process_participation_record_updates` with
# `process_epoch_participation_updates`
'process_epoch_participation_updates' if is_post_lightclient_patch(spec) else (
# HF1 replaced `process_participation_record_updates` with `process_participation_flag_updates`
'process_participation_flag_updates' if is_post_lightclient_patch(spec) else (
'process_participation_record_updates'
),
'process_sync_committee_updates',