mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-15 00:18:20 +00:00
Enable bulk signature verification (#739)
* Change verification strategy * Update EF tests
This commit is contained in:
parent
03ed66e933
commit
e9149f4580
@ -1271,7 +1271,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
|||||||
&mut state,
|
&mut state,
|
||||||
&block,
|
&block,
|
||||||
Some(block_root),
|
Some(block_root),
|
||||||
BlockSignatureStrategy::VerifyIndividual,
|
BlockSignatureStrategy::VerifyBulk,
|
||||||
&self.spec,
|
&self.spec,
|
||||||
) {
|
) {
|
||||||
Err(BlockProcessingError::BeaconStateError(e)) => {
|
Err(BlockProcessingError::BeaconStateError(e)) => {
|
||||||
|
@ -84,7 +84,7 @@ impl<E: EthSpec> Case for SanityBlocks<E> {
|
|||||||
&mut state,
|
&mut state,
|
||||||
block,
|
block,
|
||||||
None,
|
None,
|
||||||
BlockSignatureStrategy::VerifyIndividual,
|
BlockSignatureStrategy::VerifyBulk,
|
||||||
spec,
|
spec,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user