File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ pub struct ChainSpec {
220220 */
221221 /// Whether zkVM mode is enabled via CLI flag --activate-zkvm.
222222 /// When true, the node will subscribe to execution proof gossip, verify proofs,
223+ /// TODO(ethproofs): Changed to Electra fork epoch.
223224 /// and optionally generate proofs. zkVM activates at the Fulu fork.
224225 /// Unlike other forks, this is not a network-wide activation but a per-node opt-in.
225226 pub zkvm_enabled : bool ,
@@ -495,12 +496,14 @@ impl ChainSpec {
495496 self . zkvm_enabled
496497 }
497498
499+ /// TODO(ethproofs): Changed to Electra fork epoch.
500+ ///
498501 /// Returns the epoch at which zkVM activates.
499502 /// Currently uses Fulu fork epoch.
500503 /// Returns None if zkVM is disabled or Fulu is not scheduled.
501504 pub fn zkvm_fork_epoch ( & self ) -> Option < Epoch > {
502505 if self . zkvm_enabled {
503- self . fulu_fork_epoch
506+ self . electra_fork_epoch
504507 } else {
505508 None
506509 }
You can’t perform that action at this time.
0 commit comments