remove non-implemented mock genesis arg

The `initGenesisState` function to mock genesis states for testing was
originally introduced with a `genesis_time` parameter in #326. However,
this parameter was never respected and genesis state was always mocked
with `genesis_time` assumed to be 0. Since there is no test overriding
`genesis_time`, the parameter is removed until needed.
This commit is contained in:
Etan Kissling 2021-09-13 13:29:42 +02:00 committed by zah
parent 97b0070774
commit 6826ddb45d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import
# Mocking procs
./mock_deposits
proc initGenesisState*(num_validators: uint64, genesis_time: uint64 = 0): phase0.HashedBeaconState =
proc initGenesisState*(num_validators: uint64): phase0.HashedBeaconState =
let deposits = mockGenesisBalancedDeposits(
validatorCount = num_validators,
amountInEth = 32, # We create canonical validators with 32 Eth