-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ccip-develop' into ng/cherry-pick-7bac85f
- Loading branch information
Showing
40 changed files
with
1,450 additions
and
360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"ccip": patch | ||
--- | ||
|
||
Consolidated FinalityDepth setting #internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,30 @@ | ||
ChainID = '44787' | ||
ChainType = 'celo' | ||
FinalityDepth = 10 | ||
LogPollInterval = '5s' | ||
MinIncomingConfirmations = 1 | ||
FinalityTagEnabled = true | ||
FinalityDepth = 2750 # mean finality time of ~37 minutes + 500 block buffer | ||
LogPollInterval = '1s' # 1 sec block rate | ||
NoNewHeadsThreshold = '1m' | ||
OCR.ContractConfirmations = 1 | ||
NoNewFinalizedHeadsThreshold = '1m' | ||
MinIncomingConfirmations = 1 | ||
NoNewFinalizedHeadsThreshold = '45m' # Set slightly higher than mean finality time | ||
|
||
[GasEstimator] | ||
PriceDefault = '5 gwei' | ||
PriceMax = '500 gwei' | ||
PriceMin = '5 gwei' | ||
BumpMin = '2 gwei' | ||
EIP1559DynamicFees = true | ||
PriceMin = '5 gwei' # Mean gas price around 5 gwei and celo txns are extremely cheap at ~0.00088 CELO per txn ($0.000058) | ||
PriceMax = '1000 gwei' # DS&A recommendation | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 24 | ||
# Default is 8, which leads to bumpy gas prices. In CCIP | ||
# we want to smooth out the gas prices, so we increase the sample size. | ||
BlockHistorySize = 200 | ||
|
||
[Transactions] | ||
ResendAfterThreshold = '30s' | ||
|
||
[HeadTracker] | ||
HistoryDepth = 50 | ||
HistoryDepth = 300 | ||
|
||
[NodePool] | ||
SyncThreshold = 10 # recommended for OP stack chains | ||
|
||
[OCR] | ||
ContractConfirmations = 1 # recommended for OP stack chains |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ChainID = "2020" | ||
FinalityTagEnabled = true | ||
LinkContractAddress = "0x3902228D6A3d2Dc44731fD9d45FeE6a61c722D0b" | ||
# Ronin produces blocks every 3 seconds | ||
LogPollInterval = "3s" | ||
NoNewHeadsThreshold = "3m" | ||
|
||
[GasEstimator] | ||
# Ronin uses default gas price of 20 gwei https://docs.skymavis.com/mavis/mpc/guides/estimate-gas#overview | ||
Mode = 'FeeHistory' | ||
PriceMax = "1000 gwei" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ChainID = "2021" | ||
FinalityTagEnabled = true | ||
LinkContractAddress = "0x5bB50A6888ee6a67E22afFDFD9513be7740F1c15" | ||
# Ronin produces blocks every 3 seconds | ||
LogPollInterval = "3s" | ||
NoNewHeadsThreshold = "3m" | ||
|
||
[GasEstimator] | ||
# Ronin uses default gas price of 20 gwei https://docs.skymavis.com/mavis/mpc/guides/estimate-gas#overview | ||
Mode = 'FeeHistory' | ||
PriceMax = "1000 gwei" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ChainID = '60808' | ||
# OP stack https://docs.gobob.xyz/learn/introduction/stack-overview#rollup-layer | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~850 | ||
FinalityDepth = 900 | ||
# block_time was: 2s | ||
LogPollInterval = '5s' | ||
|
||
# finality_depth * block_time / 60 secs = ~30 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '35m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ChainID = '808813' | ||
# OP stack https://docs.gobob.xyz/learn/introduction/stack-overview#rollup-layer | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~850 | ||
FinalityDepth = 900 | ||
# block_time was: 2s | ||
LogPollInterval = '5s' | ||
|
||
# finality_depth * block_time / 60 secs = ~30 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '35m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
19 changes: 19 additions & 0 deletions
19
core/chains/evm/config/toml/defaults/Berachain_Testnet.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ChainID = '80084' | ||
# finality_depth: instant | ||
FinalityDepth = 10 | ||
# block_time: 5s | ||
LogPollInterval = '10s' | ||
|
||
# finality_depth * block_time / 60 secs = ~0.8 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '5m' | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 5s | ||
CacheTimeout = '5s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
23 changes: 23 additions & 0 deletions
23
core/chains/evm/config/toml/defaults/Bsquared_Mainnet.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ChainID = '223' | ||
# OP stack from questionnaire https://docs.google.com/spreadsheets/d/1l8dx1GzxEnjgwH5x3vB60FUr5iFALzPcs6W_wOAiuDs/edit?gid=625078687#gid=625078687 | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~1900 | ||
FinalityDepth = 2000 | ||
# block_time: ~2s | ||
LogPollInterval = '5s' | ||
|
||
# finality_depth * block_time / 60 secs = ~66 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '70m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
23 changes: 23 additions & 0 deletions
23
core/chains/evm/config/toml/defaults/Bsquared_Testnet.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ChainID = '1123' | ||
# OP stack from questionnaire https://docs.google.com/spreadsheets/d/1l8dx1GzxEnjgwH5x3vB60FUr5iFALzPcs6W_wOAiuDs/edit?gid=625078687#gid=625078687 | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~1900 | ||
FinalityDepth = 2000 | ||
# block_time: ~2s | ||
LogPollInterval = '5s' | ||
|
||
# finality_depth * block_time / 60 secs = ~66 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '70m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,33 @@ | ||
ChainID = '44787' | ||
ChainType = 'celo' | ||
FinalityDepth = 10 | ||
LogPollInterval = '5s' | ||
MinIncomingConfirmations = 1 | ||
# FT and FD are both present here because the dev effort rely only on FinalityTagEnabled are still in progress. | ||
# We expect to be able to rely only on FinalityTagEnabled=true in the short future. | ||
# https://chainlink-core.slack.com/archives/C05CS33N08N/p1715102940763339?thread_ts=1715102478.537529&cid=C05CS33N08N | ||
FinalityTagEnabled = true | ||
FinalityDepth = 2750 # mean finality time of ~37 minutes + 500 block buffer | ||
LogPollInterval = '1s' # 1 sec block rate | ||
NoNewHeadsThreshold = '1m' | ||
OCR.ContractConfirmations = 1 | ||
NoNewFinalizedHeadsThreshold = '1m' | ||
MinIncomingConfirmations = 1 | ||
NoNewFinalizedHeadsThreshold = '45m' # Set slightly higher than mean finality time | ||
|
||
[GasEstimator] | ||
PriceDefault = '5 gwei' | ||
PriceMax = '500 gwei' | ||
PriceMin = '5 gwei' | ||
BumpMin = '2 gwei' | ||
EIP1559DynamicFees = true | ||
PriceMin = '5 gwei' # Mean gas price around 5 gwei and celo txns are extremely cheap at ~0.00088 CELO per txn ($0.000058) | ||
PriceMax = '1000 gwei' # DS&A recommendation | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 24 | ||
# Default is 8, which leads to bumpy gas prices. In CCIP | ||
# we want to smooth out the gas prices, so we increase the sample size. | ||
BlockHistorySize = 200 | ||
|
||
[Transactions] | ||
ResendAfterThreshold = '30s' | ||
|
||
[HeadTracker] | ||
HistoryDepth = 50 | ||
HistoryDepth = 300 | ||
|
||
[NodePool] | ||
SyncThreshold = 10 # recommended for OP stack chains | ||
|
||
[OCR] | ||
ContractConfirmations = 1 # recommended for OP stack chains |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ChainID = '59141' | ||
FinalityDepth = 900 | ||
FinalityDepth = 200 | ||
NoNewHeadsThreshold = '0' | ||
|
||
[GasEstimator] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
core/chains/evm/config/toml/defaults/Polygon_Zkevm_Mainnet.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ChainID = "2020" | ||
FinalityTagEnabled = true | ||
LinkContractAddress = "0x3902228D6A3d2Dc44731fD9d45FeE6a61c722D0b" | ||
# Ronin produces blocks every 3 seconds | ||
LogPollInterval = "3s" | ||
NoNewHeadsThreshold = "3m" | ||
|
||
[GasEstimator] | ||
# Ronin uses default gas price of 20 gwei https://docs.skymavis.com/mavis/mpc/guides/estimate-gas#overview | ||
Mode = 'FeeHistory' | ||
PriceMax = "1000 gwei" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ChainID = "2021" | ||
FinalityTagEnabled = true | ||
LinkContractAddress = "0x5bB50A6888ee6a67E22afFDFD9513be7740F1c15" | ||
# Ronin produces blocks every 3 seconds | ||
LogPollInterval = "3s" | ||
NoNewHeadsThreshold = "3m" | ||
|
||
[GasEstimator] | ||
# Ronin uses default gas price of 20 gwei https://docs.skymavis.com/mavis/mpc/guides/estimate-gas#overview | ||
Mode = 'FeeHistory' | ||
PriceMax = "1000 gwei" |
Oops, something went wrong.