mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-30 16:06:30 +00:00
Add concurrency to TestBeaconStateBuilder
Specifically to generating the initial validator objects.
This commit is contained in:
parent
36085f63e9
commit
5e5cfb782e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user