rm debug code

This commit is contained in:
Sina Mahmoodi 2025-02-05 15:35:01 +01:00
parent 6ade175b11
commit b2693ab8e2

View file

@ -120,7 +120,6 @@ func newSupplyTracer(cfg json.RawMessage) (*tracing.Hooks, error) {
OnGenesisBlock: t.onGenesisBlock, OnGenesisBlock: t.onGenesisBlock,
OnTxStart: t.onTxStart, OnTxStart: t.onTxStart,
OnBalanceChange: t.onBalanceChange, OnBalanceChange: t.onBalanceChange,
OnNonceChange: t.onNonceChange,
OnEnter: t.onEnter, OnEnter: t.onEnter,
OnExit: t.onExit, OnExit: t.onExit,
OnClose: t.onClose, OnClose: t.onClose,
@ -327,6 +326,3 @@ func (s *supplyTracer) write(data any) {
log.Warn("failed to write to supply tracer log file", "error", err) log.Warn("failed to write to supply tracer log file", "error", err)
} }
} }
func (t *supplyTracer) onNonceChange(addr common.Address, prev, new uint64) {
fmt.Printf("Nonce change for %s: %d -> %d\n", addr, prev, new)
}