Skip to content

Commit

Permalink
update price min for bsc to 1 gwei (#16115)
Browse files Browse the repository at this point in the history
* update price min for bsc to 1 gwei

* docs update

* removed repeated overrides
  • Loading branch information
simsonraj authored Jan 30, 2025
1 parent 9fc290e commit c9671d8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 58 deletions.
24 changes: 0 additions & 24 deletions ccip/config/evm/BSC_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,3 @@
ChainID = '56'
# Keeping this >> 11 because it's not expensive and gives us a safety margin
FinalityDepth = 50
FinalityTagEnabled = true
LinkContractAddress = '0x404460C6A5EdE2D891e8297795264fDe62ADBB75'
LogPollInterval = '3s'
NoNewHeadsThreshold = '30s'
RPCBlockQueryDelay = 2
NoNewFinalizedHeadsThreshold = '45s'

[GasEstimator]
PriceDefault = '5 gwei'
# Set to the BSC node's default Eth.Miner.GasPrice config
PriceMin = '3 gwei'
# 15s delay since feeds update every minute in volatile situations
BumpThreshold = 5

[GasEstimator.BlockHistory]
BlockHistorySize = 24

[OCR]
DatabaseTimeout = '2s'
ContractTransmitterTransmitTimeout = '2s'
ObservationGracePeriod = '500ms'

[NodePool]
SyncThreshold = 10
27 changes: 0 additions & 27 deletions ccip/config/evm/BSC_Testnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,3 @@
ChainID = '97'
# Keeping this >> 11 because it's not expensive and gives us a safety margin
FinalityDepth = 50
FinalityTagEnabled = true
LinkContractAddress = '0x84b9B910527Ad5C03A9Ca831909E21e236EA7b06'
LogPollInterval = '3s'
NoNewHeadsThreshold = '30s'
RPCBlockQueryDelay = 2
NoNewFinalizedHeadsThreshold = '40s'

[GasEstimator]
PriceDefault = '5 gwei'
# 15s delay since feeds update every minute in volatile situations
BumpThreshold = 5

[GasEstimator.BlockHistory]
BlockHistorySize = 24

[HeadTracker]
HistoryDepth = 100
SamplingInterval = '1s'
FinalityTagBypass = false

[OCR]
DatabaseTimeout = '2s'
ContractTransmitterTransmitTimeout = '2s'
ObservationGracePeriod = '500ms'

[NodePool]
SyncThreshold = 10
6 changes: 3 additions & 3 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2989,9 +2989,9 @@ Enabled = true

[GasEstimator]
Mode = 'BlockHistory'
PriceDefault = '5 gwei'
PriceDefault = '1 gwei'
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceMin = '3 gwei'
PriceMin = '1 gwei'
LimitDefault = 500000
LimitMax = 500000
LimitMultiplier = '1'
Expand Down Expand Up @@ -3419,7 +3419,7 @@ Enabled = true

[GasEstimator]
Mode = 'BlockHistory'
PriceDefault = '5 gwei'
PriceDefault = '1 gwei'
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceMin = '1 gwei'
LimitDefault = 500000
Expand Down
4 changes: 1 addition & 3 deletions evm/config/toml/defaults/BSC_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ FinalizedBlockOffset = 2
NoNewFinalizedHeadsThreshold = '45s'

[GasEstimator]
PriceDefault = '5 gwei'
# Set to the BSC node's default Eth.Miner.GasPrice config
PriceMin = '3 gwei'
PriceDefault = '1 gwei'
# 15s delay since feeds update every minute in volatile situations
BumpThreshold = 5

Expand Down
2 changes: 1 addition & 1 deletion evm/config/toml/defaults/BSC_Testnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FinalizedBlockOffset = 2
NoNewFinalizedHeadsThreshold = '40s'

[GasEstimator]
PriceDefault = '5 gwei'
PriceDefault = '1 gwei'
# 15s delay since feeds update every minute in volatile situations
BumpThreshold = 5

Expand Down

0 comments on commit c9671d8

Please sign in to comment.