Closed Reinis-FRP closed 7 months ago
Motivation
GasEstimator is using hardcoded maxPriorityFeePerGas for some of networks. This can cause errors if estimated maxFeePerGas gets below this.
Summary
Enforce that maxFeePerGas is not set below maxPriorityFeePerGas.
Details
We experienced the error recently on Polygon where estimated maxFeePerGas got below hardcoded 50 GWei maxPriorityFeePerGas
Testing
Check a box to describe how you tested these changes and list the steps for reviewers to test.
Issue(s)
Fixes #XXXX
Motivation
GasEstimator is using hardcoded maxPriorityFeePerGas for some of networks. This can cause errors if estimated maxFeePerGas gets below this.
Summary
Enforce that maxFeePerGas is not set below maxPriorityFeePerGas.
Details
We experienced the error recently on Polygon where estimated maxFeePerGas got below hardcoded 50 GWei maxPriorityFeePerGas
Testing
Check a box to describe how you tested these changes and list the steps for reviewers to test.
Issue(s)
Fixes #XXXX