Modify testnet spec to have few validators

This commit is contained in:
Age Manning 2019-03-18 17:45:40 +11:00
parent 6b5debe654
commit 2d52d2954d
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ pub fn initialise_test_beacon_chain(
deposit_root: Hash256::zero(), deposit_root: Hash256::zero(),
block_hash: Hash256::zero(), block_hash: Hash256::zero(),
}; };
let keypairs: Vec<Keypair> = (0..50) let keypairs: Vec<Keypair> = (0..8)
.collect::<Vec<usize>>() .collect::<Vec<usize>>()
.iter() .iter()
.map(|_| Keypair::random()) .map(|_| Keypair::random())

View File

@ -259,7 +259,7 @@ impl ChainSpec {
Self { Self {
boot_nodes, boot_nodes,
..ChainSpec::foundation() ..ChainSpec::few_validators()
} }
} }