minor reorder to process_epoch calls
This commit is contained in:
parent
6ce4b1b0e7
commit
ad01c85ff6
|
@ -483,8 +483,8 @@ def process_epoch(state: BeaconState) -> None:
|
||||||
process_randao_mixes_reset(state)
|
process_randao_mixes_reset(state)
|
||||||
process_historical_roots_update(state)
|
process_historical_roots_update(state)
|
||||||
# [Added in HF1]
|
# [Added in HF1]
|
||||||
process_sync_committee_updates(state)
|
|
||||||
process_participation_flag_updates(state)
|
process_participation_flag_updates(state)
|
||||||
|
process_sync_committee_updates(state)
|
||||||
# [Removed in HF1] -- process_participation_record_updates(state)
|
# [Removed in HF1] -- process_participation_record_updates(state)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -16,9 +16,8 @@ def get_process_calls(spec):
|
||||||
'process_slashings_reset',
|
'process_slashings_reset',
|
||||||
'process_randao_mixes_reset',
|
'process_randao_mixes_reset',
|
||||||
'process_historical_roots_update',
|
'process_historical_roots_update',
|
||||||
# LIGHTCLIENT_PATCH replaced `process_participation_record_updates` with
|
# HF1 replaced `process_participation_record_updates` with `process_participation_flag_updates`
|
||||||
# `process_epoch_participation_updates`
|
'process_participation_flag_updates' if is_post_lightclient_patch(spec) else (
|
||||||
'process_epoch_participation_updates' if is_post_lightclient_patch(spec) else (
|
|
||||||
'process_participation_record_updates'
|
'process_participation_record_updates'
|
||||||
),
|
),
|
||||||
'process_sync_committee_updates',
|
'process_sync_committee_updates',
|
||||||
|
|
Loading…
Reference in New Issue