1. 15 Feb, 2023 2 commits
    • Joshua Gutow's avatar
      txmgr: Don't enforce price bump if new price is not larger · 551aaee4
      Joshua Gutow authored
      This handles the case that a transaction is being resubmitted while
      the L1 Basefee & Tip have not increased. In this case we reuse the
      previous values. If the new values are between the old values & the
      threshold, we then increase that value to the threshold. If it is
      larger than the threshold, we then use the suggested value.
      
      We need to not always bump the transaction price to ensure that we
      don't go exponential when resubmitting transactions.
      551aaee4
    • Joshua Gutow's avatar
      txmgr: Don't submit underpriced replacements · 33da2e1f
      Joshua Gutow authored
      This prevents the transaction manager from resubmiting transactions that do
      not have a price increase that is large enough to pass geth's checks. The
      other option is to increase the gas price bump, but because the gas price
      has not changed much in the intervening period, it seems better to leave
      the currently existing transaction in the mempool.
      33da2e1f
  2. 14 Feb, 2023 24 commits
  3. 13 Feb, 2023 14 commits