Skip to content

Commit

Permalink
[R4R]-[txpool]fix: add some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tri-stone committed Mar 13, 2024
1 parent 65ade91 commit efbb093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/txpool/txpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,8 @@ func (pool *TxPool) validateTx(tx *types.Transaction, local bool) error {
log.Info("validateTx", "tx.Gas()", tx.Gas(), "tokenRatio", tokenRatio, "intrGas", intrGas)
if l1Cost != nil {
log.Info("validateTx", "l1Cost", l1Cost.String())
} else {
log.Info("validateTx no l1Cost")
}

if tx.Gas() < intrGas*tokenRatio {
Expand Down

0 comments on commit efbb093

Please sign in to comment.