Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww authored and ralexstokes committed Aug 31, 2019
1 parent 46da42c commit 64919df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions eth2/beacon/state_machines/forks/serenity/epoch_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,15 +698,14 @@ def _compute_next_historical_roots(
def process_final_updates(state: BeaconState, config: Eth2Config) -> BeaconState:
new_eth1_data_votes = _determine_next_eth1_votes(state, config)
new_validators = _update_effective_balances(state, config)
new_start_shard = _compute_next_start_shard(state, config)
new_active_index_roots = _compute_next_active_index_roots(state, config)
new_compact_committees_roots = _compute_next_compact_committees_roots(
state.copy(validators=new_validators, start_shard=new_start_shard), config
state.copy(validators=new_validators), config
)
new_slashings = _compute_next_slashings(state, config)
new_randao_mixes = _compute_next_randao_mixes(state, config)
new_historical_roots = _compute_next_historical_roots(state, config)

new_start_shard = _compute_next_start_shard(state, config)
return state.copy(
eth1_data_votes=new_eth1_data_votes,
validators=new_validators,
Expand Down

0 comments on commit 64919df

Please sign in to comment.