Skip to content

Commit

Permalink
Refactor BlockHistoryEstimator check to halt excessive bumping (#13297)
Browse files Browse the repository at this point in the history
* Refactored BlockHistoryEstimator check to halt excessive bumping

* Added changeset

* Fixed linting

* Addressed feedback

* Reverted halt bumping check to prevent bumping on nil max gas price or tip cap

* Updated comment

* Fixed test

* Cleaned up gwei formatting
  • Loading branch information
amit-momin committed Jun 10, 2024
1 parent 9f6e454 commit e55e042
Show file tree
Hide file tree
Showing 4 changed files with 523 additions and 226 deletions.
6 changes: 6 additions & 0 deletions .changeset/shiny-poems-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"chainlink": minor
---

#changed Refactored the BlockHistoryEstimator check to prevent excessively bumping transactions. Check no longer waits for CheckInclusionBlocks to pass before assessing an attempt.
#bugfix Fixed a bug that would use the oldest blocks in the cached history instead of the latest to perform gas estimations.
Loading

0 comments on commit e55e042

Please sign in to comment.