@@ -29,7 +29,6 @@ import (
2929 "github.com/ethereum/go-ethereum/core/types"
3030 "github.com/ethereum/go-ethereum/core/vm"
3131 "github.com/ethereum/go-ethereum/crypto"
32- "github.com/ethereum/go-ethereum/log"
3332 "github.com/ethereum/go-ethereum/params"
3433)
3534
@@ -105,15 +104,12 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
105104 systemTxs := make ([]* types.Transaction , 0 , 2 )
106105
107106 for i , tx := range block .Transactions () {
108- log .Info ("%%%%%%%%%%%%%%" )
109107 if isPoSA {
110108 if isSystemTx , err := posa .IsSystemTransaction (tx , block .Header ()); err != nil {
111109 bloomProcessors .Close ()
112110 return statedb , nil , nil , 0 , err
113111 } else if isSystemTx {
114112 systemTxs = append (systemTxs , tx )
115- log .Info ("tx process" , "idx" , i , "hash" , tx .Hash ().String ())
116- log .Info ("%%%%%%%%%%%%%%" )
117113 continue
118114 }
119115 }
@@ -136,8 +132,6 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
136132 bloomProcessors .Close ()
137133 return statedb , nil , nil , 0 , fmt .Errorf ("could not apply tx %d [%v]: %w" , i , tx .Hash ().Hex (), err )
138134 }
139- log .Info ("tx process" , "idx" , i , "hash" , receipt .TxHash .String (), "status" , receipt .Status , "GasUsed" , receipt .GasUsed , "CumulativeGasUsed" , receipt .CumulativeGasUsed , "postRoot" , common .Bytes2Hex (receipt .PostState ))
140- log .Info ("%%%%%%%%%%%%%%" )
141135 commonTxs = append (commonTxs , tx )
142136 receipts = append (receipts , receipt )
143137 }
0 commit comments