Skip to content

Commit

Permalink
changed mode to FeeHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
amaechiokolobi committed Nov 4, 2024
1 parent 691c87d commit 7421db7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ccip/config/evm/Ronin_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ LogPollInterval = "6s"
NoNewHeadsThreshold = "10m"

[GasEstimator]
Mode = 'FeeHistory'
PriceMax = "1000 gwei"
# Ronin gas price is 20gwei by default but setting to 21gwei due to some issues faced during local testing https://docs.skymavis.com/mavis/mpc/guides/estimate-gas#overview.
PriceDefault = "21 gwei"
PriceMin = "20 gwei"
2 changes: 2 additions & 0 deletions ccip/config/evm/Ronin_Saigon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ LogPollInterval = "6s"
NoNewHeadsThreshold = "10m"

[GasEstimator]
Mode = 'FeeHistory'
PriceMax = "1000 gwei"
# Ronin gas price is 20gwei by default but setting to 21gwei due to some issues faced during local testing https://docs.skymavis.com/mavis/mpc/guides/estimate-gas#overview.
PriceDefault = "21 gwei"
PriceMin = "20 gwei"
2 changes: 2 additions & 0 deletions core/chains/evm/config/toml/defaults/Ronin_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ LogPollInterval = "6s"
NoNewHeadsThreshold = "10m"

[GasEstimator]
Mode = 'FeeHistory'
PriceMax = "1000 gwei"
# Ronin gas price is 20gwei by default but setting to 21gwei due to some issues faced during local testing https://docs.skymavis.com/mavis/mpc/guides/estimate-gas#overview.
PriceDefault = "21 gwei"
PriceMin = "20 gwei"
2 changes: 2 additions & 0 deletions core/chains/evm/config/toml/defaults/Ronin_Saigon.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ LogPollInterval = "6s"
NoNewHeadsThreshold = "10m"

[GasEstimator]
Mode = 'FeeHistory'
PriceMax = "1000 gwei"
# Ronin gas price is 20gwei by default but setting to 21gwei due to some issues faced during local testing https://docs.skymavis.com/mavis/mpc/guides/estimate-gas#overview.
PriceDefault = "21 gwei"
PriceMin = "20 gwei"
4 changes: 2 additions & 2 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5707,7 +5707,7 @@ Enabled = false
Enabled = true

[GasEstimator]
Mode = 'BlockHistory'
Mode = 'FeeHistory'
PriceDefault = '21 gwei'
PriceMax = '1 micro'
PriceMin = '20 gwei'
Expand Down Expand Up @@ -5810,7 +5810,7 @@ Enabled = false
Enabled = true

[GasEstimator]
Mode = 'BlockHistory'
Mode = 'FeeHistory'
PriceDefault = '21 gwei'
PriceMax = '1 micro'
PriceMin = '20 gwei'
Expand Down

0 comments on commit 7421db7

Please sign in to comment.