Fix the json build; Don't long the non-attesting indices in the testnets

This commit is contained in:
Zahary Karadjov 2019-08-21 14:21:08 +03:00
parent 180e8ed02b
commit 912563648e
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import
deques, options, sequtils, tables,
chronicles, stew/bitseqs,
chronicles, stew/bitseqs, json_serialization/std/sets,
./spec/[beaconstate, datatypes, crypto, digest, helpers, validator],
./extras, ./beacon_chain_db, ./ssz, ./block_pool,
beacon_node_types

View File

@ -226,7 +226,7 @@ proc process_justification_and_finalization(
## and
## 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.
debug "Non-attesting indices in previous epoch: ",
trace "Non-attesting indices in previous epoch",
missing_all_validators=
difference(active_validator_indices,
toSet(mapIt(get_attesting_indices(state,