Commit 24e3db15 authored by Roberto Bayardo's avatar Roberto Bayardo Committed by GitHub

change gas re-estimation difference logging to debug (#9420)

parent 51713257
......@@ -651,7 +651,10 @@ func (m *SimpleTxManager) increaseGasPrice(ctx context.Context, tx *types.Transa
return nil, err
}
if tx.Gas() != gas {
m.l.Info("re-estimated gas differs", "tx", tx.Hash(), "oldgas", tx.Gas(), "newgas", gas,
// non-determinism in gas limit estimation happens regularly due to underlying state
// changes across calls, and is even more common now that geth uses an in-exact estimation
// approach as of v1.13.6.
m.l.Debug("re-estimated gas differs", "tx", tx.Hash(), "oldgas", tx.Gas(), "newgas", gas,
"gasFeeCap", bumpedFee, "gasTipCap", bumpedTip)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment