Set genesis time for testing state builder
This commit is contained in:
parent
00b546e6b8
commit
9224558e06
@ -120,8 +120,10 @@ impl TestingBeaconStateBuilder {
|
||||
})
|
||||
.collect();
|
||||
|
||||
let genesis_time = 1549929600; // 12/2/2019 (arbitrary)
|
||||
|
||||
let mut state = BeaconState::genesis(
|
||||
0,
|
||||
genesis_time,
|
||||
Eth1Data {
|
||||
deposit_root: Hash256::zero(),
|
||||
block_hash: Hash256::zero(),
|
||||
|
Loading…
Reference in New Issue
Block a user