Fix the json build; Don't long the non-attesting indices in the testnets
This commit is contained in:
parent
180e8ed02b
commit
912563648e
|
@ -1,6 +1,6 @@
|
||||||
import
|
import
|
||||||
deques, options, sequtils, tables,
|
deques, options, sequtils, tables,
|
||||||
chronicles, stew/bitseqs,
|
chronicles, stew/bitseqs, json_serialization/std/sets,
|
||||||
./spec/[beaconstate, datatypes, crypto, digest, helpers, validator],
|
./spec/[beaconstate, datatypes, crypto, digest, helpers, validator],
|
||||||
./extras, ./beacon_chain_db, ./ssz, ./block_pool,
|
./extras, ./beacon_chain_db, ./ssz, ./block_pool,
|
||||||
beacon_node_types
|
beacon_node_types
|
||||||
|
|
|
@ -226,7 +226,7 @@ proc process_justification_and_finalization(
|
||||||
## and
|
## and
|
||||||
## https://github.com/ethereum/eth2.0-specs/blob/v0.8.2/specs/core/0_beacon-chain.md#final-updates
|
## https://github.com/ethereum/eth2.0-specs/blob/v0.8.2/specs/core/0_beacon-chain.md#final-updates
|
||||||
## after which the state.previous_epoch_attestations is replaced.
|
## after which the state.previous_epoch_attestations is replaced.
|
||||||
debug "Non-attesting indices in previous epoch: ",
|
trace "Non-attesting indices in previous epoch",
|
||||||
missing_all_validators=
|
missing_all_validators=
|
||||||
difference(active_validator_indices,
|
difference(active_validator_indices,
|
||||||
toSet(mapIt(get_attesting_indices(state,
|
toSet(mapIt(get_attesting_indices(state,
|
||||||
|
|
Loading…
Reference in New Issue