Set genesis time for testing state builder

This commit is contained in:
Paul Hauner 2019-03-26 15:53:49 +11:00
parent 00b546e6b8
commit 9224558e06
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -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(),