Skip to content

Commit 2a3e002

Browse files
committed
chore: debug 24611
1 parent 27f7189 commit 2a3e002

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

core/blockchain.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,6 +2279,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool) (int, error)
22792279
statedb.StopPrefetcher()
22802280
return it.index, err
22812281
}
2282+
statedb.DebugPrint(block.NumberU64(), true)
22822283
vtime := time.Since(vstart)
22832284
proctime := time.Since(start) // processing + validation
22842285

core/state/statedb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ func (s *StateDB) handleDestruction(nodes *trienode.MergedNodeSet) (map[common.A
14811481
}
14821482

14831483
func (s *StateDB) DebugPrint(block uint64, deleteEmptyObjects bool) {
1484-
if block != 1084 {
1484+
if block != 24611 {
14851485
return
14861486
}
14871487
log.Info("================== block start ===============", "number", block)

core/state_processor.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
143143
}
144144
bloomProcessors.Close()
145145

146-
statedb.DebugPrint(block.NumberU64(), true)
147146
// Fail if Shanghai not enabled and len(withdrawals) is non-zero.
148147
withdrawals := block.Withdrawals()
149148
if len(withdrawals) > 0 && !p.config.IsShanghai(block.Number(), block.Time()) {

0 commit comments

Comments
 (0)