Skip to content

Commit

Permalink
block processor
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Mar 11, 2024
1 parent 627fcc6 commit d1f96a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arbos/block_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,11 +425,11 @@ func ProduceBlockAdvanced(
hooks.TxErrors = append(hooks.TxErrors, err)

if err != nil {
logLevel := log.Debug
if chainConfig.DebugMode() {
logLevel = log.Warn
}
logLevel("error applying transaction", "tx", printTxAsJson{tx}, "err", err)
// logLevel := log.Debug
// if chainConfig.DebugMode() {
// logLevel = log.Warn
// }
// logLevel("error applying transaction", "tx", printTxAsJson{tx}, "err", err)
if !hooks.DiscardInvalidTxsEarly {
// we'll still deduct a TxGas's worth from the block-local rate limiter even if the tx was invalid
blockGasLeft = arbmath.SaturatingUSub(blockGasLeft, params.TxGas)
Expand Down

0 comments on commit d1f96a0

Please sign in to comment.