Modify testnet spec to have few validators
This commit is contained in:
parent
6b5debe654
commit
2d52d2954d
@ -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())
|
||||||
|
@ -259,7 +259,7 @@ impl ChainSpec {
|
|||||||
|
|
||||||
Self {
|
Self {
|
||||||
boot_nodes,
|
boot_nodes,
|
||||||
..ChainSpec::foundation()
|
..ChainSpec::few_validators()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user