From ccd9ce03bce92bfcaf57f5340eed75414dbc753f Mon Sep 17 00:00:00 2001 From: joeycli Date: Fri, 16 Aug 2024 23:21:01 +0800 Subject: [PATCH] chore: delete processer debug log --- core/state_processor.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/state_processor.go b/core/state_processor.go index 4269062c12..2af0d514fe 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -29,7 +29,6 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/params" ) @@ -105,15 +104,12 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg systemTxs := make([]*types.Transaction, 0, 2) for i, tx := range block.Transactions() { - log.Info("%%%%%%%%%%%%%%") if isPoSA { if isSystemTx, err := posa.IsSystemTransaction(tx, block.Header()); err != nil { bloomProcessors.Close() return statedb, nil, nil, 0, err } else if isSystemTx { systemTxs = append(systemTxs, tx) - log.Info("tx process", "idx", i, "hash", tx.Hash().String()) - log.Info("%%%%%%%%%%%%%%") continue } } @@ -136,8 +132,6 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg bloomProcessors.Close() return statedb, nil, nil, 0, fmt.Errorf("could not apply tx %d [%v]: %w", i, tx.Hash().Hex(), err) } - log.Info("tx process", "idx", i, "hash", receipt.TxHash.String(), "status", receipt.Status, "GasUsed", receipt.GasUsed, "CumulativeGasUsed", receipt.CumulativeGasUsed, "postRoot", common.Bytes2Hex(receipt.PostState)) - log.Info("%%%%%%%%%%%%%%") commonTxs = append(commonTxs, tx) receipts = append(receipts, receipt) }