mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Enable bulk signature verification (#739)
* Change verification strategy * Update EF tests
This commit is contained in:
@@ -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,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user