mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
re-disable assertion creationg failures in research/state_sim; hadn't been set up to run before, either
This commit is contained in:
parent
6f103a7bcd
commit
ce72c1b4bc
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user