Delay validators and add more log in crosslink asserts (#103)
This commit is contained in:
parent
4747477160
commit
f7feb9a6c9
|
@ -91,9 +91,9 @@ func get_crosslink_committees_at_slot*(state: BeaconState, slot: uint64,
|
|||
previous_epoch = if current_epoch > GENESIS_EPOCH: (current_epoch - 1) else: current_epoch
|
||||
next_epoch = current_epoch + 1
|
||||
|
||||
assert previous_epoch <= epoch
|
||||
assert epoch <= next_epoch
|
||||
# TODO - Hack: used to be "epoch < next_epoch"
|
||||
assert previous_epoch <= epoch, "Previous epoch: " & $previous_epoch & ", epoch: " & $epoch & ", Next epoch: " & $next_epoch
|
||||
assert epoch <= next_epoch, "Previous epoch: " & $previous_epoch & ", epoch: " & $epoch & ", Next epoch: " & $next_epoch
|
||||
# TODO - Hack: used to be "epoch < next_epoch" (exlusive interval)
|
||||
# until https://github.com/status-im/nim-beacon-chain/issues/97
|
||||
|
||||
template get_epoch_specific_params(): auto =
|
||||
|
|
|
@ -32,7 +32,7 @@ if [[ -z "$SKIP_BUILDS" ]]; then
|
|||
fi
|
||||
|
||||
if [ ! -f $STARTUP_FILE ]; then
|
||||
$VALIDATOR_KEYGEN_BIN --validators=$NUMBER_OF_VALIDATORS --outputDir="$SIMULATION_DIR"
|
||||
$VALIDATOR_KEYGEN_BIN --validators=$NUMBER_OF_VALIDATORS --outputDir="$SIMULATION_DIR" --startupDelay=2
|
||||
fi
|
||||
|
||||
if [ ! -f $SNAPSHOT_FILE ]; then
|
||||
|
|
Loading…
Reference in New Issue