Skip to content

Commit

Permalink
Set new PriceMin value based on pip-35 (#1251)
Browse files Browse the repository at this point in the history
## Motivation
A new mandatory polygon implementing PIP-35 sets a new PriceMin for gas.

maticnetwork/bor@dce4253

https://forum.polygon.technology/t/bor-v1-3-4-and-erigon-v2-60-5-release-for-mainnet-pip-35/19436
https://smartcontract-it.atlassian.net/browse/SHIP-2582

## Solution
Set new default value for PriceMin
  • Loading branch information
Madalosso authored Aug 6, 2024
1 parent 1006a65 commit 6a9f9ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions core/chains/evm/config/toml/defaults/Polygon_Amoy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ MaxQueued = 5000
[GasEstimator]
EIP1559DynamicFees = true
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceDefault = '25 gwei'
PriceMin = '25 gwei'
BumpMin = '20 gwei'
BumpThreshold = 5

Expand Down
3 changes: 2 additions & 1 deletion core/chains/evm/config/toml/defaults/Polygon_Mumbai.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ RPCDefaultBatchSize = 100
MaxQueued = 5000

[GasEstimator]
PriceDefault = '1 gwei'
PriceDefault = '25 gwei'
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceMin = '25 gwei'
BumpMin = '20 gwei'
BumpThreshold = 5

Expand Down
8 changes: 4 additions & 4 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6832,9 +6832,9 @@ Enabled = true

[GasEstimator]
Mode = 'BlockHistory'
PriceDefault = '1 gwei'
PriceDefault = '25 gwei'
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceMin = '1 gwei'
PriceMin = '25 gwei'
LimitDefault = 8000000
LimitMax = 8000000
LimitMultiplier = '1'
Expand Down Expand Up @@ -6924,9 +6924,9 @@ Enabled = true

[GasEstimator]
Mode = 'BlockHistory'
PriceDefault = '20 gwei'
PriceDefault = '25 gwei'
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceMin = '1 gwei'
PriceMin = '25 gwei'
LimitDefault = 8000000
LimitMax = 8000000
LimitMultiplier = '1'
Expand Down

0 comments on commit 6a9f9ef

Please sign in to comment.