@@ -29,7 +29,6 @@ import (
29
29
"github.com/ethereum/go-ethereum/core/types"
30
30
"github.com/ethereum/go-ethereum/core/vm"
31
31
"github.com/ethereum/go-ethereum/crypto"
32
- "github.com/ethereum/go-ethereum/log"
33
32
"github.com/ethereum/go-ethereum/params"
34
33
)
35
34
@@ -105,15 +104,12 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
105
104
systemTxs := make ([]* types.Transaction , 0 , 2 )
106
105
107
106
for i , tx := range block .Transactions () {
108
- log .Info ("%%%%%%%%%%%%%%" )
109
107
if isPoSA {
110
108
if isSystemTx , err := posa .IsSystemTransaction (tx , block .Header ()); err != nil {
111
109
bloomProcessors .Close ()
112
110
return statedb , nil , nil , 0 , err
113
111
} else if isSystemTx {
114
112
systemTxs = append (systemTxs , tx )
115
- log .Info ("tx process" , "idx" , i , "hash" , tx .Hash ().String ())
116
- log .Info ("%%%%%%%%%%%%%%" )
117
113
continue
118
114
}
119
115
}
@@ -136,8 +132,6 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
136
132
bloomProcessors .Close ()
137
133
return statedb , nil , nil , 0 , fmt .Errorf ("could not apply tx %d [%v]: %w" , i , tx .Hash ().Hex (), err )
138
134
}
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 ("%%%%%%%%%%%%%%" )
141
135
commonTxs = append (commonTxs , tx )
142
136
receipts = append (receipts , receipt )
143
137
}
0 commit comments