mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
Add concurrency to TestBeaconStateBuilder
Specifically to generating the initial validator objects.
This commit is contained in:
@@ -23,7 +23,7 @@ impl TestingBeaconStateBuilder {
|
||||
.collect();
|
||||
|
||||
let validators = keypairs
|
||||
.iter()
|
||||
.par_iter()
|
||||
.map(|keypair| {
|
||||
let withdrawal_credentials = Hash256::from_slice(&get_withdrawal_credentials(
|
||||
&keypair.pk,
|
||||
|
||||
Reference in New Issue
Block a user