Skip to content

Commit

Permalink
fix: remove unneeded commit
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov committed Oct 29, 2024
1 parent d0fcdc5 commit eee60e6
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions zk/stages/stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,22 +334,22 @@ func DefaultZkStages(
return stages.PruneHashStateStage(p, tx, hashState, ctx)
},
},
// {
// ID: stages2.IntermediateHashes,
// Description: "Generate intermediate hashes and computing state root",
// Disabled: false,
// Forward: func(firstCycle bool, badBlockUnwind bool, s *stages.StageState, u stages.Unwinder, txc wrap.TxContainer, logger log.Logger) error {
// _, err := SpawnZkIntermediateHashesStage(s, u, txc.Tx, zkInterHashesCfg, ctx)
// return err
// },
// Unwind: func(firstCycle bool, u *stages.UnwindState, s *stages.StageState, txc wrap.TxContainer, logger log.Logger) error {
// return UnwindZkIntermediateHashesStage(u, s, txc.Tx, zkInterHashesCfg, ctx, false)
// },
// Prune: func(firstCycle bool, p *stages.PruneState, tx kv.RwTx, logger log.Logger) error {
// // TODO: implement this in zk interhashes
// return nil
// },
// },
{
ID: stages2.IntermediateHashes,
Description: "Generate intermediate hashes and computing state root",
Disabled: false,
Forward: func(firstCycle bool, badBlockUnwind bool, s *stages.StageState, u stages.Unwinder, txc wrap.TxContainer, logger log.Logger) error {
_, err := SpawnZkIntermediateHashesStage(s, u, txc.Tx, zkInterHashesCfg, ctx)
return err
},
Unwind: func(firstCycle bool, u *stages.UnwindState, s *stages.StageState, txc wrap.TxContainer, logger log.Logger) error {
return UnwindZkIntermediateHashesStage(u, s, txc.Tx, zkInterHashesCfg, ctx, false)
},
Prune: func(firstCycle bool, p *stages.PruneState, tx kv.RwTx, logger log.Logger) error {
// TODO: implement this in zk interhashes
return nil
},
},
{
ID: stages2.CallTraces,
Description: "Generate call traces index",
Expand Down

0 comments on commit eee60e6

Please sign in to comment.