Skip to content

Commit

Permalink
log level
Browse files Browse the repository at this point in the history
  • Loading branch information
envestcc committed Jan 3, 2025
1 parent 268d694 commit 486ea00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action/protocol/execution/evm/erigonadapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion state/factory/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 486ea00

Please sign in to comment.