Skip to content

Commit ccd9ce0

Browse files
committed
chore: delete processer debug log
1 parent ec24451 commit ccd9ce0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

core/state_processor.go

-6
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)