From 486ea00173b1d3726c3b1f22d78c83bec682351f Mon Sep 17 00:00:00 2001 From: envestcc Date: Fri, 3 Jan 2025 16:15:15 +0800 Subject: [PATCH] log level --- action/protocol/execution/evm/erigonadapter.go | 2 +- state/factory/history.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action/protocol/execution/evm/erigonadapter.go b/action/protocol/execution/evm/erigonadapter.go index 54c0532d6e..d99dc77f6e 100644 --- a/action/protocol/execution/evm/erigonadapter.go +++ b/action/protocol/execution/evm/erigonadapter.go @@ -102,7 +102,7 @@ func (s *ErigonStateDBAdapter) Selfdestruct6780(evmAddr common.Address) { } func (s *ErigonStateDBAdapter) CommitContracts() error { - log.L().Info("intraBlockState Committing contracts", zap.Uint64("height", s.StateDBAdapter.blockHeight)) + log.L().Debug("intraBlockState Committing contracts", zap.Uint64("height", s.StateDBAdapter.blockHeight)) err := s.intra.FinalizeTx(s.chainRules, s.rw) if err != nil { return errors.Wrap(err, "failed to finalize tx") diff --git a/state/factory/history.go b/state/factory/history.go index 2c81f8f816..83d0136ee3 100644 --- a/state/factory/history.go +++ b/state/factory/history.go @@ -149,7 +149,7 @@ func (h *HistoryStateIndex) PutBlock(ctx context.Context, blk *block.Block) erro chainRules := chainCfg.Rules(big.NewInt(int64(blk.Height())), g.IsSumatra(blk.Height()), uint64(blk.Timestamp().Unix())) rules := evm.NewErigonRules(&chainRules) - log.L().Info("intraBlockState Commit block", zap.Uint64("height", blk.Height())) + log.L().Debug("intraBlockState Commit block", zap.Uint64("height", blk.Height())) err = intraBlockState.CommitBlock(rules, tsw) if err != nil { return err