modify formatting
This commit is contained in:
parent
e2b8a15b4e
commit
730281ed7d
@ -48,7 +48,10 @@ pub fn genesis_beacon_state(spec: &ChainSpec) -> Result<BeaconState, Error> {
|
|||||||
* Randomness and committees
|
* Randomness and committees
|
||||||
*/
|
*/
|
||||||
latest_randao_mixes: vec![spec.zero_hash; spec.latest_randao_mixes_length as usize],
|
latest_randao_mixes: vec![spec.zero_hash; spec.latest_randao_mixes_length as usize],
|
||||||
latest_vdf_outputs: vec![spec.zero_hash; (spec.latest_randao_mixes_length / spec.epoch_length) as usize],
|
latest_vdf_outputs: vec![
|
||||||
|
spec.zero_hash;
|
||||||
|
(spec.latest_randao_mixes_length / spec.epoch_length) as usize
|
||||||
|
],
|
||||||
shard_committees_at_slots: vec![],
|
shard_committees_at_slots: vec![],
|
||||||
/*
|
/*
|
||||||
* Custody challenges
|
* Custody challenges
|
||||||
|
@ -3,7 +3,7 @@ use super::{Attestation, CasperSlashing, Deposit, Exit, ProposerSlashing};
|
|||||||
use crate::test_utils::TestRandom;
|
use crate::test_utils::TestRandom;
|
||||||
use rand::RngCore;
|
use rand::RngCore;
|
||||||
|
|
||||||
// The following types are just dummy classes as they will not be defined until
|
// The following types are just dummy classes as they will not be defined until
|
||||||
// Phase 1 (Sharding phase)
|
// Phase 1 (Sharding phase)
|
||||||
type CustodyReseed = usize;
|
type CustodyReseed = usize;
|
||||||
type CustodyChallenge = usize;
|
type CustodyChallenge = usize;
|
||||||
|
Loading…
Reference in New Issue
Block a user