diff --git a/.changeset/tender-colts-return.md b/.changeset/tender-colts-return.md new file mode 100644 index 00000000000..16c0b2da1ff --- /dev/null +++ b/.changeset/tender-colts-return.md @@ -0,0 +1,5 @@ +--- +"chainlink": patch +--- + +#updated celo alfajores config diff --git a/ccip/config/evm/Celo_Testnet.toml b/ccip/config/evm/Celo_Testnet.toml index 4f457b103e0..0e4594150dd 100644 --- a/ccip/config/evm/Celo_Testnet.toml +++ b/ccip/config/evm/Celo_Testnet.toml @@ -1,21 +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 -PersistenceEnabled = false +HistoryDepth = 300 + +[NodePool] +SyncThreshold = 10 # recommended for OP stack chains + +[OCR] +ContractConfirmations = 1 # recommended for OP stack chains \ No newline at end of file diff --git a/core/chains/evm/config/toml/defaults/Celo_Testnet.toml b/core/chains/evm/config/toml/defaults/Celo_Testnet.toml index 8bee5323f4d..0e4594150dd 100644 --- a/core/chains/evm/config/toml/defaults/Celo_Testnet.toml +++ b/core/chains/evm/config/toml/defaults/Celo_Testnet.toml @@ -1,21 +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 -FinalizedBlockOffset = 2 -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 \ No newline at end of file diff --git a/docs/CONFIG.md b/docs/CONFIG.md index b28a83d1dfa..b5cc4615588 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -6691,10 +6691,10 @@ AutoCreateKey = true BlockBackfillDepth = 10 BlockBackfillSkip = false ChainType = 'celo' -FinalityDepth = 10 -FinalityTagEnabled = false +FinalityDepth = 2750 +FinalityTagEnabled = true LogBackfillBatchSize = 1000 -LogPollInterval = '5s' +LogPollInterval = '1s' LogKeepBlocksDepth = 100000 LogPrunePageSize = 0 BackupLogPollerBlockDelay = 100 @@ -6705,8 +6705,8 @@ NoNewHeadsThreshold = '1m0s' LogBroadcasterEnabled = true RPCDefaultBatchSize = 250 RPCBlockQueryDelay = 1 -FinalizedBlockOffset = 2 -NoNewFinalizedHeadsThreshold = '1m0s' +FinalizedBlockOffset = 0 +NoNewFinalizedHeadsThreshold = '45m0s' [Transactions] ForwardersEnabled = false @@ -6714,7 +6714,7 @@ MaxInFlight = 16 MaxQueued = 250 ReaperInterval = '1h0m0s' ReaperThreshold = '168h0m0s' -ResendAfterThreshold = '1m0s' +ResendAfterThreshold = '30s' [Transactions.AutoPurge] Enabled = false @@ -6724,25 +6724,25 @@ Enabled = true [GasEstimator] Mode = 'BlockHistory' -PriceDefault = '5 gwei' -PriceMax = '500 gwei' +PriceDefault = '20 gwei' +PriceMax = '1 micro' PriceMin = '5 gwei' LimitDefault = 500000 LimitMax = 500000 LimitMultiplier = '1' LimitTransfer = 21000 EstimateLimit = false -BumpMin = '2 gwei' +BumpMin = '5 gwei' BumpPercent = 20 BumpThreshold = 3 -EIP1559DynamicFees = false +EIP1559DynamicFees = true FeeCapDefault = '100 gwei' TipCapDefault = '1 wei' TipCapMin = '1 wei' [GasEstimator.BlockHistory] BatchSize = 25 -BlockHistorySize = 24 +BlockHistorySize = 200 CheckInclusionBlocks = 12 CheckInclusionPercentile = 90 TransactionPercentile = 60 @@ -6751,7 +6751,7 @@ TransactionPercentile = 60 CacheTimeout = '10s' [HeadTracker] -HistoryDepth = 50 +HistoryDepth = 300 MaxBufferSize = 3 SamplingInterval = '1s' MaxAllowedFinalityDepth = 10000 @@ -6762,7 +6762,7 @@ PersistenceEnabled = true PollFailureThreshold = 5 PollInterval = '10s' SelectionMode = 'HighestHead' -SyncThreshold = 5 +SyncThreshold = 10 LeaseDuration = '0s' NodeIsSyncingEnabled = false FinalizedBlockPollInterval = '5s'