re-disable assertion creationg failures in research/state_sim; hadn't been set up to run before, either

This commit is contained in:
Dustin Brody 2019-01-17 00:14:55 -08:00
parent 6f103a7bcd
commit ce72c1b4bc

View File

@ -54,10 +54,12 @@ func process_deposit(state: var BeaconState,
custody_commitment: Eth2Digest) : Uint24 =
## Process a deposit from Ethereum 1.0.
# TODO return error
doAssert validate_proof_of_possession(
state, pubkey, proof_of_possession, withdrawal_credentials,
randao_commitment)
if false:
# TODO return error; currently, just fails if ever called
# but hadn't been set up to run at all
doAssert validate_proof_of_possession(
state, pubkey, proof_of_possession, withdrawal_credentials,
randao_commitment)
let validator_pubkeys = state.validator_registry.mapIt(it.pubkey)