Skip to content

Commit

Permalink
disable Go CCC for MPT sequencer
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Jan 20, 2025
1 parent 7f40166 commit b568657
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions miner/scroll_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,10 @@ func (w *worker) newWork(now time.Time, parentHash common.Hash, reorging bool, r

vmConfig := *w.chain.GetVMConfig()
cccLogger := ccc.NewLogger()
vmConfig.Debug = true
vmConfig.Tracer = cccLogger

if w.chainConfig.Scroll.UseZktrie {
vmConfig.Debug = true
vmConfig.Tracer = cccLogger
}
deadline := time.Unix(int64(header.Time), 0)
if w.chainConfig.Clique != nil && w.chainConfig.Clique.RelaxedPeriod {
// clique with relaxed period uses time.Now() as the header.Time, calculate the deadline
Expand Down

0 comments on commit b568657

Please sign in to comment.