pr feedback
This commit is contained in:
parent
7b9c033578
commit
c9a2f9258e
|
@ -1689,7 +1689,7 @@ Define the following helpers to process attestation inclusion rewards and inclus
|
||||||
|
|
||||||
If `next_epoch % ETH1_DATA_VOTING_PERIOD == 0`:
|
If `next_epoch % ETH1_DATA_VOTING_PERIOD == 0`:
|
||||||
|
|
||||||
* Set `state.latest_eth1_data = eth1_data_vote.data` if `eth1_data_vote.vote_count * 2 > ETH1_DATA_VOTING_PERIOD * EPOCH_LENGTH` for some `eth1_data_vote` in `state.eth1_data_votes`.
|
* If `eth1_data_vote.vote_count * 2 > ETH1_DATA_VOTING_PERIOD * EPOCH_LENGTH` for some `eth1_data_vote` in `state.eth1_data_votes` (ie. more than half the votes in this voting period were for that value), set `state.latest_eth1_data = eth1_data_vote.data`.
|
||||||
* Set `state.eth1_data_votes = []`.
|
* Set `state.eth1_data_votes = []`.
|
||||||
|
|
||||||
### Justification
|
### Justification
|
||||||
|
|
Loading…
Reference in New Issue