Skip to content

Commit 8498ecb

Browse files
committed
fix: change enabled for to electra
1 parent 1dd8480 commit 8498ecb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

consensus/types/src/chain_spec.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,11 @@ impl ChainSpec {
515515
.is_some_and(|zkvm_fork_epoch| epoch >= zkvm_fork_epoch)
516516
}
517517

518+
/// TODO(ethproofs): Changed to Electra fork epoch.
519+
///
518520
/// Returns true if zkVM mode can be used at the given fork.
519521
pub fn is_zkvm_enabled_for_fork(&self, fork_name: ForkName) -> bool {
520-
self.is_zkvm_enabled() && fork_name.fulu_enabled()
522+
self.is_zkvm_enabled() && fork_name.electra_enabled()
521523
}
522524

523525
/// Returns the minimum number of execution proofs required.

0 commit comments

Comments
 (0)