Skip to content

Commit

Permalink
Add shibarium and corn testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
HelloKashif committed Jan 15, 2025
1 parent 0a18b72 commit ded11f0
Show file tree
Hide file tree
Showing 5 changed files with 512 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-needles-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

added default configs for new chains
11 changes: 11 additions & 0 deletions core/chains/evm/config/toml/defaults/Corn_Testnet.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ChainID = '21000001'
FinalityTagEnabled = true
ChainType = 'arbitrum'

[GasEstimator]
Mode = 'Arbitrum'
LimitMax = 1_000_000_000
# Arbitrum uses the suggested gas price, so we don't want to place any limits on the minimum
PriceMin = '0'
PriceDefault = '0.1 gwei'
PriceMax = '1000 gwei'
38 changes: 38 additions & 0 deletions core/chains/evm/config/toml/defaults/Shibarium_Mainnet.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
ChainID = '109'
FinalityTagEnabled = true
LinkContractAddress = '0x71052BAe71C25C78E37fD12E5ff1101A71d9018F'
LogPollInterval = '1s'
MinIncomingConfirmations = 5
NoNewHeadsThreshold = '30s'
RPCBlockQueryDelay = 10
RPCDefaultBatchSize = 100

[Transactions]
ResendAfterThreshold = '1m'

[BalanceMonitor]
Enabled = true

[GasEstimator]
EIP1559DynamicFees = true
PriceDefault = '10 gwei'
PriceMin = '2 gwei'
BumpMin = '5 gwei'
BumpThreshold = 5
PriceMax = '10000 gwei'
LimitDefault = 8000000
FeeCapDefault = '10000 gwei'

[GasEstimator.BlockHistory]
# Default is 24, which leads to bumpy gas prices. In CCIP
# we want to smooth out the gas prices, so we increase the sample size.
BlockHistorySize = 200

[HeadTracker]
HistoryDepth = 300
SamplingInterval = '1s'

[NodePool]
PollFailureThreshold = 2
PollInterval = '3s'
SyncThreshold = 10
38 changes: 38 additions & 0 deletions core/chains/evm/config/toml/defaults/Shibarium_Testnet.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
ChainID = '157'
FinalityTagEnabled = true
LinkContractAddress = '0x44637eEfD71A090990f89faEC7022fc74B2969aD'
LogPollInterval = '1s'
MinIncomingConfirmations = 5
NoNewHeadsThreshold = '30s'
RPCBlockQueryDelay = 10
RPCDefaultBatchSize = 100

[Transactions]
ResendAfterThreshold = '1m'

[BalanceMonitor]
Enabled = true

[GasEstimator]
EIP1559DynamicFees = true
PriceDefault = '10 gwei'
PriceMin = '2 gwei'
BumpMin = '5 gwei'
BumpThreshold = 5
PriceMax = '10000 gwei'
LimitDefault = 8000000
FeeCapDefault = '10000 gwei'

[GasEstimator.BlockHistory]
# Default is 24, which leads to bumpy gas prices. In CCIP
# we want to smooth out the gas prices, so we increase the sample size.
BlockHistorySize = 200

[HeadTracker]
HistoryDepth = 300
SamplingInterval = '1s'

[NodePool]
PollFailureThreshold = 2
PollInterval = '3s'
SyncThreshold = 10
Loading

0 comments on commit ded11f0

Please sign in to comment.