From 1ad7d16b3b2dbe9e42199e05905a9e019fadf7f3 Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Sun, 5 May 2024 23:22:36 +0200 Subject: [PATCH 01/13] Adds Mode Sepolia config --- .../config/toml/defaults/Mode_Sepolia.toml | 25 ++++++ docs/CONFIG.md | 85 +++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 core/chains/evm/config/toml/defaults/Mode_Sepolia.toml diff --git a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml new file mode 100644 index 00000000000..d12d2af1671 --- /dev/null +++ b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml @@ -0,0 +1,25 @@ +ChainID = '919' +FinalityTagEnabled = true + +[GasEstimator] +EIP1559DynamicFees = true +BumpThreshold = 60 +BumpPercent = 20 +BumpMin = '100 wei' +PriceMax = '120 gwei' +LimitDefault = 8000000 +FeeCapDefault = '120 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 +# The formula for FeeCap is (current block base fee * (1.125 ^ EIP1559FeeCapBufferBlocks) + tipcap) +# where tipcap is managed by the block history estimators. In the context of CCIP, +# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values. +# So we set this to zero so FeeCap = baseFee + tipcap. +EIP1559FeeCapBufferBlocks = 0 + +[NodePool] +PollFailureThreshold = 2 +PollInterval = '3s' diff --git a/docs/CONFIG.md b/docs/CONFIG.md index 61ba9256d9d..0223e1290e7 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -3771,6 +3771,91 @@ GasLimit = 5400000

+
Mode Sepolia (919)

+ +```toml +AutoCreateKey = true +BlockBackfillDepth = 10 +BlockBackfillSkip = false +FinalityDepth = 50 +FinalityTagEnabled = true +LogBackfillBatchSize = 1000 +LogPollInterval = '15s' +LogKeepBlocksDepth = 100000 +LogPrunePageSize = 0 +BackupLogPollerBlockDelay = 100 +MinIncomingConfirmations = 3 +MinContractPayment = '0.00001 link' +NonceAutoSync = true +NoNewHeadsThreshold = '3m0s' +RPCDefaultBatchSize = 250 +RPCBlockQueryDelay = 1 + +[Transactions] +ForwardersEnabled = false +MaxInFlight = 16 +MaxQueued = 250 +ReaperInterval = '1h0m0s' +ReaperThreshold = '168h0m0s' +ResendAfterThreshold = '1m0s' + +[BalanceMonitor] +Enabled = true + +[GasEstimator] +Mode = 'BlockHistory' +PriceDefault = '20 gwei' +PriceMax = '120 gwei' +PriceMin = '1 gwei' +LimitDefault = 8000000 +LimitMax = 500000 +LimitMultiplier = '1' +LimitTransfer = 21000 +BumpMin = '100 wei' +BumpPercent = 20 +BumpThreshold = 60 +EIP1559DynamicFees = true +FeeCapDefault = '120 gwei' +TipCapDefault = '1 wei' +TipCapMin = '1 wei' + +[GasEstimator.BlockHistory] +BatchSize = 25 +BlockHistorySize = 200 +CheckInclusionBlocks = 12 +CheckInclusionPercentile = 90 +EIP1559FeeCapBufferBlocks = 0 +TransactionPercentile = 60 + +[HeadTracker] +HistoryDepth = 100 +MaxBufferSize = 3 +SamplingInterval = '1s' + +[NodePool] +PollFailureThreshold = 2 +PollInterval = '3s' +SelectionMode = 'HighestHead' +SyncThreshold = 5 +LeaseDuration = '0s' +NodeIsSyncingEnabled = false +FinalizedBlockPollInterval = '5s' + +[OCR] +ContractConfirmations = 4 +ContractTransmitterTransmitTimeout = '10s' +DatabaseTimeout = '10s' +DeltaCOverride = '168h0m0s' +DeltaCJitterOverride = '1h0m0s' +ObservationGracePeriod = '1s' + +[OCR2] +[OCR2.Automation] +GasLimit = 5400000 +``` + +

+
Klaytn Testnet (1001)

```toml From d7b4d4aec2185a7811801a9c6d4796775267e96d Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Mon, 6 May 2024 13:30:33 +0200 Subject: [PATCH 02/13] Adds chaintype OP --- core/chains/evm/config/toml/defaults/Mode_Sepolia.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml index d12d2af1671..7aba3aa2542 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml @@ -1,5 +1,6 @@ ChainID = '919' FinalityTagEnabled = true +ChainType = 'optimismBedrock' [GasEstimator] EIP1559DynamicFees = true From cb6414c9e1265409f9c526c58e853d065398f7e3 Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Mon, 6 May 2024 13:31:23 +0200 Subject: [PATCH 03/13] Adds changeset --- .changeset/neat-pears-fly.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/neat-pears-fly.md diff --git a/.changeset/neat-pears-fly.md b/.changeset/neat-pears-fly.md new file mode 100644 index 00000000000..dab7d62d12f --- /dev/null +++ b/.changeset/neat-pears-fly.md @@ -0,0 +1,5 @@ +--- +"chainlink": minor +--- + +Adds Mode Sepolia config From eae1f1d10d4d7eb07a67a92c5c9e15313049c9cc Mon Sep 17 00:00:00 2001 From: stackman27 Date: Thu, 30 May 2024 13:29:29 -0700 Subject: [PATCH 04/13] Added mode mainnet --- .../config/toml/defaults/Mode_Mainnet.toml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 core/chains/evm/config/toml/defaults/Mode_Mainnet.toml diff --git a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml new file mode 100644 index 00000000000..8bb4a5e4e42 --- /dev/null +++ b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml @@ -0,0 +1,26 @@ +ChainID = '34443' +FinalityTagEnabled = true +ChainType = 'optimismBedrock' + +[GasEstimator] +EIP1559DynamicFees = true +BumpThreshold = 60 +BumpPercent = 20 +BumpMin = '100 wei' +PriceMax = '120 gwei' +LimitDefault = 8000000 +FeeCapDefault = '120 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 +# The formula for FeeCap is (current block base fee * (1.125 ^ EIP1559FeeCapBufferBlocks) + tipcap) +# where tipcap is managed by the block history estimators. In the context of CCIP, +# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values. +# So we set this to zero so FeeCap = baseFee + tipcap. +EIP1559FeeCapBufferBlocks = 0 + +[NodePool] +PollFailureThreshold = 2 +PollInterval = '3s' \ No newline at end of file From f4ee1cd799a1cf7ffb745e85e3c9e23084d1db17 Mon Sep 17 00:00:00 2001 From: stackman27 Date: Thu, 30 May 2024 14:14:53 -0700 Subject: [PATCH 05/13] update --- .../config/toml/defaults/Mode_Mainnet.toml | 1 + .../config/toml/defaults/Mode_Sepolia.toml | 1 + docs/CONFIG.md | 87 +++++++++++++++++++ 3 files changed, 89 insertions(+) diff --git a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml index 8bb4a5e4e42..b9969b326e5 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml @@ -1,4 +1,5 @@ ChainID = '34443' +FinalityDepth = 200 FinalityTagEnabled = true ChainType = 'optimismBedrock' diff --git a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml index 7aba3aa2542..644f6cbd455 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml @@ -1,4 +1,5 @@ ChainID = '919' +FinalityDepth = 200 FinalityTagEnabled = true ChainType = 'optimismBedrock' diff --git a/docs/CONFIG.md b/docs/CONFIG.md index 0223e1290e7..b566013c3c3 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -3777,6 +3777,7 @@ GasLimit = 5400000 AutoCreateKey = true BlockBackfillDepth = 10 BlockBackfillSkip = false +ChainType = 'optimismBedrock' FinalityDepth = 50 FinalityTagEnabled = true LogBackfillBatchSize = 1000 @@ -4955,6 +4956,92 @@ GasLimit = 5400000

+
Mode Mainnet (34443)

+ +```toml +AutoCreateKey = true +BlockBackfillDepth = 10 +BlockBackfillSkip = false +ChainType = 'optimismBedrock' +FinalityDepth = 50 +FinalityTagEnabled = true +LogBackfillBatchSize = 1000 +LogPollInterval = '15s' +LogKeepBlocksDepth = 100000 +LogPrunePageSize = 0 +BackupLogPollerBlockDelay = 100 +MinIncomingConfirmations = 3 +MinContractPayment = '0.00001 link' +NonceAutoSync = true +NoNewHeadsThreshold = '3m0s' +RPCDefaultBatchSize = 250 +RPCBlockQueryDelay = 1 + +[Transactions] +ForwardersEnabled = false +MaxInFlight = 16 +MaxQueued = 250 +ReaperInterval = '1h0m0s' +ReaperThreshold = '168h0m0s' +ResendAfterThreshold = '1m0s' + +[BalanceMonitor] +Enabled = true + +[GasEstimator] +Mode = 'BlockHistory' +PriceDefault = '20 gwei' +PriceMax = '120 gwei' +PriceMin = '1 gwei' +LimitDefault = 8000000 +LimitMax = 500000 +LimitMultiplier = '1' +LimitTransfer = 21000 +BumpMin = '100 wei' +BumpPercent = 20 +BumpThreshold = 60 +EIP1559DynamicFees = true +FeeCapDefault = '120 gwei' +TipCapDefault = '1 wei' +TipCapMin = '1 wei' + +[GasEstimator.BlockHistory] +BatchSize = 25 +BlockHistorySize = 200 +CheckInclusionBlocks = 12 +CheckInclusionPercentile = 90 +EIP1559FeeCapBufferBlocks = 0 +TransactionPercentile = 60 + +[HeadTracker] +HistoryDepth = 100 +MaxBufferSize = 3 +SamplingInterval = '1s' + +[NodePool] +PollFailureThreshold = 2 +PollInterval = '3s' +SelectionMode = 'HighestHead' +SyncThreshold = 5 +LeaseDuration = '0s' +NodeIsSyncingEnabled = false +FinalizedBlockPollInterval = '5s' + +[OCR] +ContractConfirmations = 4 +ContractTransmitterTransmitTimeout = '10s' +DatabaseTimeout = '10s' +DeltaCOverride = '168h0m0s' +DeltaCJitterOverride = '1h0m0s' +ObservationGracePeriod = '1s' + +[OCR2] +[OCR2.Automation] +GasLimit = 5400000 +``` + +

+
Arbitrum Mainnet (42161)

```toml From 955a3ceb8fbdc1201ef193b43b2f7010c7b53829 Mon Sep 17 00:00:00 2001 From: stackman27 Date: Thu, 30 May 2024 14:19:40 -0700 Subject: [PATCH 06/13] nit --- .changeset/neat-pears-fly.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/neat-pears-fly.md b/.changeset/neat-pears-fly.md index dab7d62d12f..6996e98a8c7 100644 --- a/.changeset/neat-pears-fly.md +++ b/.changeset/neat-pears-fly.md @@ -2,4 +2,4 @@ "chainlink": minor --- -Adds Mode Sepolia config +#added Mode Sepolia config From 92041f77dbcf911d344d45bffd747016fe534800 Mon Sep 17 00:00:00 2001 From: stackman27 Date: Thu, 30 May 2024 14:24:49 -0700 Subject: [PATCH 07/13] historydepth --- core/chains/evm/config/toml/defaults/Mode_Mainnet.toml | 3 +++ core/chains/evm/config/toml/defaults/Mode_Sepolia.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml index b9969b326e5..539499751fd 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml @@ -22,6 +22,9 @@ BlockHistorySize = 200 # So we set this to zero so FeeCap = baseFee + tipcap. EIP1559FeeCapBufferBlocks = 0 +[HeadTracker] +HistoryDepth = 300 + [NodePool] PollFailureThreshold = 2 PollInterval = '3s' \ No newline at end of file diff --git a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml index 644f6cbd455..f7398869beb 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml @@ -22,6 +22,9 @@ BlockHistorySize = 200 # So we set this to zero so FeeCap = baseFee + tipcap. EIP1559FeeCapBufferBlocks = 0 +[HeadTracker] +HistoryDepth = 300 + [NodePool] PollFailureThreshold = 2 PollInterval = '3s' From bd770bd138bf8491d2d315ad56665ad40c76fb2b Mon Sep 17 00:00:00 2001 From: stackman27 Date: Thu, 30 May 2024 14:32:39 -0700 Subject: [PATCH 08/13] updated config docs --- docs/CONFIG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/CONFIG.md b/docs/CONFIG.md index b566013c3c3..616f9f22f78 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -3778,7 +3778,7 @@ AutoCreateKey = true BlockBackfillDepth = 10 BlockBackfillSkip = false ChainType = 'optimismBedrock' -FinalityDepth = 50 +FinalityDepth = 200 FinalityTagEnabled = true LogBackfillBatchSize = 1000 LogPollInterval = '15s' @@ -3829,7 +3829,7 @@ EIP1559FeeCapBufferBlocks = 0 TransactionPercentile = 60 [HeadTracker] -HistoryDepth = 100 +HistoryDepth = 300 MaxBufferSize = 3 SamplingInterval = '1s' @@ -4963,7 +4963,7 @@ AutoCreateKey = true BlockBackfillDepth = 10 BlockBackfillSkip = false ChainType = 'optimismBedrock' -FinalityDepth = 50 +FinalityDepth = 200 FinalityTagEnabled = true LogBackfillBatchSize = 1000 LogPollInterval = '15s' @@ -5014,7 +5014,7 @@ EIP1559FeeCapBufferBlocks = 0 TransactionPercentile = 60 [HeadTracker] -HistoryDepth = 100 +HistoryDepth = 300 MaxBufferSize = 3 SamplingInterval = '1s' From 100c6b5e8fd01ea7dc5818e42454b3375053e86a Mon Sep 17 00:00:00 2001 From: stackman27 Date: Thu, 30 May 2024 14:40:47 -0700 Subject: [PATCH 09/13] nit --- core/chains/evm/config/toml/defaults/Mode_Mainnet.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml index 539499751fd..69a8e93fecd 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml @@ -27,4 +27,4 @@ HistoryDepth = 300 [NodePool] PollFailureThreshold = 2 -PollInterval = '3s' \ No newline at end of file +PollInterval = '3s' From cb29123d425f5c01fc3aaeb06ca27cb61cdba045 Mon Sep 17 00:00:00 2001 From: stackman27 Date: Thu, 30 May 2024 15:35:26 -0700 Subject: [PATCH 10/13] nit --- core/chains/evm/config/toml/defaults/Mode_Mainnet.toml | 6 +++--- core/chains/evm/config/toml/defaults/Mode_Sepolia.toml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml index 69a8e93fecd..7a20f2674c6 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml @@ -14,12 +14,12 @@ FeeCapDefault = '120 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. +# we want to smooth out the gas prices, so we increase the sample size BlockHistorySize = 200 # The formula for FeeCap is (current block base fee * (1.125 ^ EIP1559FeeCapBufferBlocks) + tipcap) # where tipcap is managed by the block history estimators. In the context of CCIP, -# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values. -# So we set this to zero so FeeCap = baseFee + tipcap. +# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values +# So we set this to zero so FeeCap = baseFee + tipcap EIP1559FeeCapBufferBlocks = 0 [HeadTracker] diff --git a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml index f7398869beb..6fb61c7091a 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml @@ -14,12 +14,12 @@ FeeCapDefault = '120 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. +# we want to smooth out the gas prices, so we increase the sample size BlockHistorySize = 200 # The formula for FeeCap is (current block base fee * (1.125 ^ EIP1559FeeCapBufferBlocks) + tipcap) # where tipcap is managed by the block history estimators. In the context of CCIP, -# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values. -# So we set this to zero so FeeCap = baseFee + tipcap. +# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values +# So we set this to zero so FeeCap = baseFee + tipcap EIP1559FeeCapBufferBlocks = 0 [HeadTracker] From 81e6ee70f409f095b41a3a70bd9826c23a5fba2f Mon Sep 17 00:00:00 2001 From: stackman27 Date: Thu, 30 May 2024 15:40:42 -0700 Subject: [PATCH 11/13] cleanup --- docs/CONFIG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/CONFIG.md b/docs/CONFIG.md index 1a8855b8476..b83b0afe451 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -3920,6 +3920,9 @@ ReaperInterval = '1h0m0s' ReaperThreshold = '168h0m0s' ResendAfterThreshold = '1m0s' +[Transactions.AutoPurge] +Enabled = false + [BalanceMonitor] Enabled = true @@ -3952,6 +3955,8 @@ TransactionPercentile = 60 HistoryDepth = 300 MaxBufferSize = 3 SamplingInterval = '1s' +MaxAllowedFinalityDepth = 10000 +FinalityTagBypass = true [NodePool] PollFailureThreshold = 2 @@ -5173,6 +5178,9 @@ ReaperInterval = '1h0m0s' ReaperThreshold = '168h0m0s' ResendAfterThreshold = '1m0s' +[Transactions.AutoPurge] +Enabled = false + [BalanceMonitor] Enabled = true @@ -5205,6 +5213,8 @@ TransactionPercentile = 60 HistoryDepth = 300 MaxBufferSize = 3 SamplingInterval = '1s' +MaxAllowedFinalityDepth = 10000 +FinalityTagBypass = true [NodePool] PollFailureThreshold = 2 From e36a9c88e38305cc04365527befe86c649048ef0 Mon Sep 17 00:00:00 2001 From: stackman27 Date: Fri, 31 May 2024 15:24:50 -0700 Subject: [PATCH 12/13] amits feedback --- .../config/toml/defaults/Blast_Mainnet.toml | 20 ++ .../config/toml/defaults/Blast_Sepolia.toml | 20 ++ .../config/toml/defaults/Mode_Mainnet.toml | 10 - .../config/toml/defaults/Mode_Sepolia.toml | 10 - docs/CONFIG.md | 186 +++++++++++++++++- 5 files changed, 222 insertions(+), 24 deletions(-) create mode 100644 core/chains/evm/config/toml/defaults/Blast_Mainnet.toml create mode 100644 core/chains/evm/config/toml/defaults/Blast_Sepolia.toml diff --git a/core/chains/evm/config/toml/defaults/Blast_Mainnet.toml b/core/chains/evm/config/toml/defaults/Blast_Mainnet.toml new file mode 100644 index 00000000000..42427530357 --- /dev/null +++ b/core/chains/evm/config/toml/defaults/Blast_Mainnet.toml @@ -0,0 +1,20 @@ +ChainID = '81457' +FinalityDepth = 200 +FinalityTagEnabled = true +ChainType = 'optimismBedrock' + +[GasEstimator] +EIP1559DynamicFees = true +BumpThreshold = 60 +BumpPercent = 20 +BumpMin = '100 wei' +PriceMax = '120 gwei' +LimitDefault = 8000000 +FeeCapDefault = '120 gwei' + +[HeadTracker] +HistoryDepth = 300 + +[NodePool] +PollFailureThreshold = 2 +PollInterval = '3s' diff --git a/core/chains/evm/config/toml/defaults/Blast_Sepolia.toml b/core/chains/evm/config/toml/defaults/Blast_Sepolia.toml new file mode 100644 index 00000000000..69d1d10ce9e --- /dev/null +++ b/core/chains/evm/config/toml/defaults/Blast_Sepolia.toml @@ -0,0 +1,20 @@ +ChainID = '168587773' +FinalityDepth = 200 +FinalityTagEnabled = true +ChainType = 'optimismBedrock' + +[GasEstimator] +EIP1559DynamicFees = true +BumpThreshold = 60 +BumpPercent = 20 +BumpMin = '100 wei' +PriceMax = '120 gwei' +LimitDefault = 8000000 +FeeCapDefault = '120 gwei' + +[HeadTracker] +HistoryDepth = 300 + +[NodePool] +PollFailureThreshold = 2 +PollInterval = '3s' diff --git a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml index 7a20f2674c6..581d2509518 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Mainnet.toml @@ -12,16 +12,6 @@ PriceMax = '120 gwei' LimitDefault = 8000000 FeeCapDefault = '120 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 -# The formula for FeeCap is (current block base fee * (1.125 ^ EIP1559FeeCapBufferBlocks) + tipcap) -# where tipcap is managed by the block history estimators. In the context of CCIP, -# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values -# So we set this to zero so FeeCap = baseFee + tipcap -EIP1559FeeCapBufferBlocks = 0 - [HeadTracker] HistoryDepth = 300 diff --git a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml index 6fb61c7091a..fbc637a47d8 100644 --- a/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml +++ b/core/chains/evm/config/toml/defaults/Mode_Sepolia.toml @@ -12,16 +12,6 @@ PriceMax = '120 gwei' LimitDefault = 8000000 FeeCapDefault = '120 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 -# The formula for FeeCap is (current block base fee * (1.125 ^ EIP1559FeeCapBufferBlocks) + tipcap) -# where tipcap is managed by the block history estimators. In the context of CCIP, -# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values -# So we set this to zero so FeeCap = baseFee + tipcap -EIP1559FeeCapBufferBlocks = 0 - [HeadTracker] HistoryDepth = 300 diff --git a/docs/CONFIG.md b/docs/CONFIG.md index b83b0afe451..279d72e6247 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -3945,10 +3945,9 @@ TipCapMin = '1 wei' [GasEstimator.BlockHistory] BatchSize = 25 -BlockHistorySize = 200 +BlockHistorySize = 8 CheckInclusionBlocks = 12 CheckInclusionPercentile = 90 -EIP1559FeeCapBufferBlocks = 0 TransactionPercentile = 60 [HeadTracker] @@ -5203,10 +5202,9 @@ TipCapMin = '1 wei' [GasEstimator.BlockHistory] BatchSize = 25 -BlockHistorySize = 200 +BlockHistorySize = 8 CheckInclusionBlocks = 12 CheckInclusionPercentile = 90 -EIP1559FeeCapBufferBlocks = 0 TransactionPercentile = 60 [HeadTracker] @@ -6227,6 +6225,96 @@ GasLimit = 5400000

+
Blast Mainnet (81457)

+ +```toml +AutoCreateKey = true +BlockBackfillDepth = 10 +BlockBackfillSkip = false +ChainType = 'optimismBedrock' +FinalityDepth = 200 +FinalityTagEnabled = true +LogBackfillBatchSize = 1000 +LogPollInterval = '15s' +LogKeepBlocksDepth = 100000 +LogPrunePageSize = 0 +BackupLogPollerBlockDelay = 100 +MinIncomingConfirmations = 3 +MinContractPayment = '0.00001 link' +NonceAutoSync = true +NoNewHeadsThreshold = '3m0s' +RPCDefaultBatchSize = 250 +RPCBlockQueryDelay = 1 + +[Transactions] +ForwardersEnabled = false +MaxInFlight = 16 +MaxQueued = 250 +ReaperInterval = '1h0m0s' +ReaperThreshold = '168h0m0s' +ResendAfterThreshold = '1m0s' + +[Transactions.AutoPurge] +Enabled = false + +[BalanceMonitor] +Enabled = true + +[GasEstimator] +Mode = 'BlockHistory' +PriceDefault = '20 gwei' +PriceMax = '120 gwei' +PriceMin = '1 gwei' +LimitDefault = 8000000 +LimitMax = 500000 +LimitMultiplier = '1' +LimitTransfer = 21000 +BumpMin = '100 wei' +BumpPercent = 20 +BumpThreshold = 60 +EIP1559DynamicFees = true +FeeCapDefault = '120 gwei' +TipCapDefault = '1 wei' +TipCapMin = '1 wei' + +[GasEstimator.BlockHistory] +BatchSize = 25 +BlockHistorySize = 8 +CheckInclusionBlocks = 12 +CheckInclusionPercentile = 90 +TransactionPercentile = 60 + +[HeadTracker] +HistoryDepth = 300 +MaxBufferSize = 3 +SamplingInterval = '1s' +MaxAllowedFinalityDepth = 10000 +FinalityTagBypass = true + +[NodePool] +PollFailureThreshold = 2 +PollInterval = '3s' +SelectionMode = 'HighestHead' +SyncThreshold = 5 +LeaseDuration = '0s' +NodeIsSyncingEnabled = false +FinalizedBlockPollInterval = '5s' + +[OCR] +ContractConfirmations = 4 +ContractTransmitterTransmitTimeout = '10s' +DatabaseTimeout = '10s' +DeltaCOverride = '168h0m0s' +DeltaCJitterOverride = '1h0m0s' +ObservationGracePeriod = '1s' + +[OCR2] +[OCR2.Automation] +GasLimit = 5400000 +``` + +

+
Base Goerli (84531)

```toml @@ -7039,6 +7127,96 @@ GasLimit = 6500000

+
Blast Sepolia (168587773)

+ +```toml +AutoCreateKey = true +BlockBackfillDepth = 10 +BlockBackfillSkip = false +ChainType = 'optimismBedrock' +FinalityDepth = 200 +FinalityTagEnabled = true +LogBackfillBatchSize = 1000 +LogPollInterval = '15s' +LogKeepBlocksDepth = 100000 +LogPrunePageSize = 0 +BackupLogPollerBlockDelay = 100 +MinIncomingConfirmations = 3 +MinContractPayment = '0.00001 link' +NonceAutoSync = true +NoNewHeadsThreshold = '3m0s' +RPCDefaultBatchSize = 250 +RPCBlockQueryDelay = 1 + +[Transactions] +ForwardersEnabled = false +MaxInFlight = 16 +MaxQueued = 250 +ReaperInterval = '1h0m0s' +ReaperThreshold = '168h0m0s' +ResendAfterThreshold = '1m0s' + +[Transactions.AutoPurge] +Enabled = false + +[BalanceMonitor] +Enabled = true + +[GasEstimator] +Mode = 'BlockHistory' +PriceDefault = '20 gwei' +PriceMax = '120 gwei' +PriceMin = '1 gwei' +LimitDefault = 8000000 +LimitMax = 500000 +LimitMultiplier = '1' +LimitTransfer = 21000 +BumpMin = '100 wei' +BumpPercent = 20 +BumpThreshold = 60 +EIP1559DynamicFees = true +FeeCapDefault = '120 gwei' +TipCapDefault = '1 wei' +TipCapMin = '1 wei' + +[GasEstimator.BlockHistory] +BatchSize = 25 +BlockHistorySize = 8 +CheckInclusionBlocks = 12 +CheckInclusionPercentile = 90 +TransactionPercentile = 60 + +[HeadTracker] +HistoryDepth = 300 +MaxBufferSize = 3 +SamplingInterval = '1s' +MaxAllowedFinalityDepth = 10000 +FinalityTagBypass = true + +[NodePool] +PollFailureThreshold = 2 +PollInterval = '3s' +SelectionMode = 'HighestHead' +SyncThreshold = 5 +LeaseDuration = '0s' +NodeIsSyncingEnabled = false +FinalizedBlockPollInterval = '5s' + +[OCR] +ContractConfirmations = 4 +ContractTransmitterTransmitTimeout = '10s' +DatabaseTimeout = '10s' +DeltaCOverride = '168h0m0s' +DeltaCJitterOverride = '1h0m0s' +ObservationGracePeriod = '1s' + +[OCR2] +[OCR2.Automation] +GasLimit = 5400000 +``` + +

+
Harmony Mainnet (1666600000)

```toml From 4548e46fcbe4c84c9f6ca9d0bd5c00d40a0173ad Mon Sep 17 00:00:00 2001 From: stackman27 Date: Fri, 31 May 2024 15:54:17 -0700 Subject: [PATCH 13/13] updated changeset --- .changeset/neat-pears-fly.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/neat-pears-fly.md b/.changeset/neat-pears-fly.md index 6996e98a8c7..8d6619101ec 100644 --- a/.changeset/neat-pears-fly.md +++ b/.changeset/neat-pears-fly.md @@ -2,4 +2,4 @@ "chainlink": minor --- -#added Mode Sepolia config +#added Mode & Blast chain config tomls