mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-03 12:54:27 +00:00
Modify testnet spec to have few validators
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user