From 96ed6ecd8b4bea1d43d843fae4b679b89fe41f32 Mon Sep 17 00:00:00 2001
From: Aditya vadhavkar
Date: Wed, 6 Nov 2024 11:38:23 -0500
Subject: [PATCH] SHIP-2006 Consolidate All FinalityDepth Settings to default
TOML files (#1151)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Motivation
[Ticket](https://smartcontract-it.atlassian.net/browse/SHIP-2006)
## Solution
Updated the values of FinalityDepth setting to make it the same as the
values set in infra-k8s repo.
---------
Co-authored-by: Otávio Migliavacca Madalosso
---
.changeset/old-bees-kiss.md | 5 +
.../config/toml/defaults/Celo_Mainnet.toml | 4 +
.../config/toml/defaults/Celo_Testnet.toml | 4 +
.../config/toml/defaults/Kroma_Mainnet.toml | 5 +-
.../config/toml/defaults/Kroma_Sepolia.toml | 5 +-
.../config/toml/defaults/Linea_Mainnet.toml | 4 +-
.../config/toml/defaults/Linea_Sepolia.toml | 2 +-
.../config/toml/defaults/Mantle_Sepolia.toml | 8 +-
.../config/toml/defaults/Metis_Mainnet.toml | 8 +-
.../config/toml/defaults/Metis_Rinkeby.toml | 16 --
.../config/toml/defaults/Metis_Sepolia.toml | 5 +-
.../toml/defaults/Polygon_Zkevm_Mainnet.toml | 2 +-
.../config/toml/defaults/XLayer_Mainnet.toml | 2 +-
.../config/toml/defaults/zkSync_Goerli.toml | 14 --
.../config/toml/defaults/zkSync_Sepolia.toml | 10 +-
docs/CONFIG.md | 230 +-----------------
pnpm-lock.yaml | 62 +++--
17 files changed, 100 insertions(+), 286 deletions(-)
create mode 100644 .changeset/old-bees-kiss.md
delete mode 100644 core/chains/evm/config/toml/defaults/Metis_Rinkeby.toml
delete mode 100644 core/chains/evm/config/toml/defaults/zkSync_Goerli.toml
diff --git a/.changeset/old-bees-kiss.md b/.changeset/old-bees-kiss.md
new file mode 100644
index 0000000000..70e0c7ef4c
--- /dev/null
+++ b/.changeset/old-bees-kiss.md
@@ -0,0 +1,5 @@
+---
+"ccip": patch
+---
+
+Consolidated FinalityDepth setting #internal
diff --git a/core/chains/evm/config/toml/defaults/Celo_Mainnet.toml b/core/chains/evm/config/toml/defaults/Celo_Mainnet.toml
index a494862037..e33f97750b 100644
--- a/core/chains/evm/config/toml/defaults/Celo_Mainnet.toml
+++ b/core/chains/evm/config/toml/defaults/Celo_Mainnet.toml
@@ -1,6 +1,10 @@
ChainID = '42220'
ChainType = 'celo'
+# 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
FinalityDepth = 10
+FinalityTagEnabled = true
LogPollInterval = '5s'
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '1m'
diff --git a/core/chains/evm/config/toml/defaults/Celo_Testnet.toml b/core/chains/evm/config/toml/defaults/Celo_Testnet.toml
index eb43f080b7..55ee9fa930 100644
--- a/core/chains/evm/config/toml/defaults/Celo_Testnet.toml
+++ b/core/chains/evm/config/toml/defaults/Celo_Testnet.toml
@@ -1,6 +1,10 @@
ChainID = '44787'
ChainType = 'celo'
+# 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
FinalityDepth = 10
+FinalityTagEnabled = true
LogPollInterval = '5s'
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '1m'
diff --git a/core/chains/evm/config/toml/defaults/Kroma_Mainnet.toml b/core/chains/evm/config/toml/defaults/Kroma_Mainnet.toml
index 3a48aa8ae1..38af765684 100644
--- a/core/chains/evm/config/toml/defaults/Kroma_Mainnet.toml
+++ b/core/chains/evm/config/toml/defaults/Kroma_Mainnet.toml
@@ -1,6 +1,9 @@
ChainID = '255'
ChainType = 'kroma' # Kroma is based on the Optimism Bedrock architechture
-FinalityDepth = 400
+# 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
+FinalityDepth = 700
FinalityTagEnabled = true
LogPollInterval = '2s'
NoNewHeadsThreshold = '40s'
diff --git a/core/chains/evm/config/toml/defaults/Kroma_Sepolia.toml b/core/chains/evm/config/toml/defaults/Kroma_Sepolia.toml
index 9609a09e07..b1e505df22 100644
--- a/core/chains/evm/config/toml/defaults/Kroma_Sepolia.toml
+++ b/core/chains/evm/config/toml/defaults/Kroma_Sepolia.toml
@@ -1,6 +1,9 @@
ChainID = '2358'
ChainType = 'kroma' # Kroma is based on the Optimism Bedrock architechture
-FinalityDepth = 400
+# 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
+FinalityDepth = 700
FinalityTagEnabled = true
LogPollInterval = '2s'
NoNewHeadsThreshold = '40s'
diff --git a/core/chains/evm/config/toml/defaults/Linea_Mainnet.toml b/core/chains/evm/config/toml/defaults/Linea_Mainnet.toml
index 94d8bedc44..97570a0d21 100644
--- a/core/chains/evm/config/toml/defaults/Linea_Mainnet.toml
+++ b/core/chains/evm/config/toml/defaults/Linea_Mainnet.toml
@@ -1,6 +1,6 @@
ChainID = '59144'
-# Block time 12s, finality < 60m
-FinalityDepth = 300
+#3s block time ~ 20m finality based on committee decision
+FinalityDepth = 600
# Blocks are only emitted when a transaction happens / no empty blocks
NoNewHeadsThreshold = '0'
diff --git a/core/chains/evm/config/toml/defaults/Linea_Sepolia.toml b/core/chains/evm/config/toml/defaults/Linea_Sepolia.toml
index ac5e18a09b..af70f7ceba 100644
--- a/core/chains/evm/config/toml/defaults/Linea_Sepolia.toml
+++ b/core/chains/evm/config/toml/defaults/Linea_Sepolia.toml
@@ -1,5 +1,5 @@
ChainID = '59141'
-FinalityDepth = 900
+FinalityDepth = 200
NoNewHeadsThreshold = '0'
[GasEstimator]
diff --git a/core/chains/evm/config/toml/defaults/Mantle_Sepolia.toml b/core/chains/evm/config/toml/defaults/Mantle_Sepolia.toml
index ee994a7182..45fbfc5e0d 100644
--- a/core/chains/evm/config/toml/defaults/Mantle_Sepolia.toml
+++ b/core/chains/evm/config/toml/defaults/Mantle_Sepolia.toml
@@ -1,6 +1,10 @@
ChainID = '5003'
ChainType = 'optimismBedrock'
-FinalityDepth = 500
+# 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
+FinalityDepth = 1200
+FinalityTagEnabled = true
LogPollInterval = '2s'
NoNewHeadsThreshold = '0'
MinIncomingConfirmations = 1
@@ -8,7 +12,7 @@ MinIncomingConfirmations = 1
[HeadTracker]
HistoryDepth = 600
-[GasEstimator]
+[GasEstimator]
Mode = 'L2Suggested'
PriceMax = '200 gwei'
LimitDefault = 100000000
diff --git a/core/chains/evm/config/toml/defaults/Metis_Mainnet.toml b/core/chains/evm/config/toml/defaults/Metis_Mainnet.toml
index 388b9f00b0..d6bfe2cd5a 100644
--- a/core/chains/evm/config/toml/defaults/Metis_Mainnet.toml
+++ b/core/chains/evm/config/toml/defaults/Metis_Mainnet.toml
@@ -2,7 +2,13 @@
ChainID = '1088'
ChainType = 'optimismBedrock'
# Sequencer offers absolute finality
-FinalityDepth = 10
+# High variation on finality depth triggered a commitee to investigate
+# and set 500 as a secure finality depth.
+# https://chainlink-core.slack.com/archives/C0725LNLJLA/p1717118469587219
+FinalityDepth = 500
+# 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
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '0'
diff --git a/core/chains/evm/config/toml/defaults/Metis_Rinkeby.toml b/core/chains/evm/config/toml/defaults/Metis_Rinkeby.toml
deleted file mode 100644
index e481282abf..0000000000
--- a/core/chains/evm/config/toml/defaults/Metis_Rinkeby.toml
+++ /dev/null
@@ -1,16 +0,0 @@
-ChainID = '588'
-ChainType = 'metis'
-FinalityDepth = 10
-MinIncomingConfirmations = 1
-NoNewHeadsThreshold = '0'
-OCR.ContractConfirmations = 1
-
-[GasEstimator]
-Mode = 'SuggestedPrice'
-PriceMin = '0'
-
-[GasEstimator.BlockHistory]
-BlockHistorySize = 0
-
-[NodePool]
-SyncThreshold = 10
diff --git a/core/chains/evm/config/toml/defaults/Metis_Sepolia.toml b/core/chains/evm/config/toml/defaults/Metis_Sepolia.toml
index 4ff4056c75..65247991d3 100644
--- a/core/chains/evm/config/toml/defaults/Metis_Sepolia.toml
+++ b/core/chains/evm/config/toml/defaults/Metis_Sepolia.toml
@@ -1,6 +1,9 @@
ChainID = '59902'
ChainType = 'optimismBedrock'
-FinalityDepth = 10
+# 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
+FinalityDepth = 3000
FinalityTagEnabled = true
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '0'
diff --git a/core/chains/evm/config/toml/defaults/Polygon_Zkevm_Mainnet.toml b/core/chains/evm/config/toml/defaults/Polygon_Zkevm_Mainnet.toml
index 2fef7874d1..7402d54835 100644
--- a/core/chains/evm/config/toml/defaults/Polygon_Zkevm_Mainnet.toml
+++ b/core/chains/evm/config/toml/defaults/Polygon_Zkevm_Mainnet.toml
@@ -1,6 +1,6 @@
ChainID = '1101'
ChainType = 'zkevm'
-FinalityDepth = 500
+FinalityDepth = 1000
NoNewHeadsThreshold = '6m'
MinIncomingConfirmations = 1
LogPollInterval = '30s'
diff --git a/core/chains/evm/config/toml/defaults/XLayer_Mainnet.toml b/core/chains/evm/config/toml/defaults/XLayer_Mainnet.toml
index 4096a4db24..426c0204e9 100644
--- a/core/chains/evm/config/toml/defaults/XLayer_Mainnet.toml
+++ b/core/chains/evm/config/toml/defaults/XLayer_Mainnet.toml
@@ -1,6 +1,6 @@
ChainID = '196'
ChainType = 'xlayer'
-FinalityDepth = 500
+FinalityDepth = 1000
NoNewHeadsThreshold = '6m'
MinIncomingConfirmations = 1
LogPollInterval = '30s'
diff --git a/core/chains/evm/config/toml/defaults/zkSync_Goerli.toml b/core/chains/evm/config/toml/defaults/zkSync_Goerli.toml
deleted file mode 100644
index 05d85cfe24..0000000000
--- a/core/chains/evm/config/toml/defaults/zkSync_Goerli.toml
+++ /dev/null
@@ -1,14 +0,0 @@
-ChainID = '280'
-ChainType = 'zksync'
-FinalityDepth = 10
-LogPollInterval = '5s'
-MinIncomingConfirmations = 1
-NoNewHeadsThreshold = '1m'
-
-[GasEstimator]
-LimitDefault = 100_000_000
-PriceMax = 18446744073709551615
-PriceMin = 0
-
-[HeadTracker]
-HistoryDepth = 50
diff --git a/core/chains/evm/config/toml/defaults/zkSync_Sepolia.toml b/core/chains/evm/config/toml/defaults/zkSync_Sepolia.toml
index f3bc594886..6c36ac0ebb 100644
--- a/core/chains/evm/config/toml/defaults/zkSync_Sepolia.toml
+++ b/core/chains/evm/config/toml/defaults/zkSync_Sepolia.toml
@@ -1,23 +1,23 @@
ChainID = '300'
ChainType = 'zksync'
# 200block ~ 20min concurrent with the l1_committed tag
-FinalityDepth = 200
+FinalityDepth = 200
# block rate is ~2-5sec, so this ensures blocks are polled correctly
LogPollInterval = '5s'
# sufficient time for RPC to be labelled out of sync, since blockRate is pretty fast
NoNewHeadsThreshold = '1m'
[GasEstimator]
-# no EIP1559 to ensure our estimator doesnot estimate gas with MaxPriorityFee which will break minFunding requirement
-EIP1559DynamicFees = false
-# high LimitDefault for worst case pubdata bytes with BatchGasLimit reduced to 4M in OCR2Config
+# no EIP1559 to ensure our estimator doesnot estimate gas with MaxPriorityFee which will break minFunding requirement
+EIP1559DynamicFees = false
+# high LimitDefault for worst case pubdata bytes with BatchGasLimit reduced to 4M in OCR2Config
LimitDefault = 2_500_000_000
FeeCapDefault = '500 mwei'
PriceDefault = '25 mwei'
# p999 value for gasPrice based on historical data
PriceMax = '500 mwei'
# avg gasPrices are at 0.025 gwei
-PriceMin = '25 mwei'
+PriceMin = '25 mwei'
[GasEstimator.BlockHistory]
# increasing this to smooth out gas estimation
diff --git a/docs/CONFIG.md b/docs/CONFIG.md
index 059a0e3002..53154468f7 100644
--- a/docs/CONFIG.md
+++ b/docs/CONFIG.md
@@ -3717,7 +3717,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'xlayer'
-FinalityDepth = 500
+FinalityDepth = 1000
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '30s'
@@ -3923,7 +3923,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'kroma'
-FinalityDepth = 400
+FinalityDepth = 700
FinalityTagEnabled = true
LogBackfillBatchSize = 1000
LogPollInterval = '2s'
@@ -4019,109 +4019,6 @@ GasLimitDefault = 400000
-zkSync Goerli (280)
-
-```toml
-AutoCreateKey = true
-BlockBackfillDepth = 10
-BlockBackfillSkip = false
-ChainType = 'zksync'
-FinalityDepth = 10
-FinalityTagEnabled = false
-LogBackfillBatchSize = 1000
-LogPollInterval = '5s'
-LogKeepBlocksDepth = 100000
-LogPrunePageSize = 10000
-BackupLogPollerBlockDelay = 100
-MinIncomingConfirmations = 1
-MinContractPayment = '0.00001 link'
-NonceAutoSync = true
-NoNewHeadsThreshold = '1m0s'
-LogBroadcasterEnabled = true
-RPCDefaultBatchSize = 250
-RPCBlockQueryDelay = 1
-FinalizedBlockOffset = 0
-NoNewFinalizedHeadsThreshold = '0s'
-
-[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 = '18.446744073709551615 ether'
-PriceMin = '0'
-LimitDefault = 100000000
-LimitMax = 8000000
-LimitMultiplier = '1'
-LimitTransfer = 21000
-EstimateLimit = false
-BumpMin = '5 gwei'
-BumpPercent = 20
-BumpThreshold = 3
-EIP1559DynamicFees = false
-FeeCapDefault = '100 gwei'
-TipCapDefault = '1 wei'
-TipCapMin = '1 wei'
-
-[GasEstimator.BlockHistory]
-BatchSize = 25
-BlockHistorySize = 8
-CheckInclusionBlocks = 12
-CheckInclusionPercentile = 90
-TransactionPercentile = 60
-
-[GasEstimator.FeeHistory]
-CacheTimeout = '10s'
-
-[HeadTracker]
-HistoryDepth = 50
-MaxBufferSize = 3
-SamplingInterval = '1s'
-MaxAllowedFinalityDepth = 10000
-FinalityTagBypass = true
-
-[NodePool]
-PollFailureThreshold = 5
-PollInterval = '10s'
-SelectionMode = 'HighestHead'
-SyncThreshold = 5
-LeaseDuration = '0s'
-NodeIsSyncingEnabled = false
-FinalizedBlockPollInterval = '5s'
-EnforceRepeatableRead = false
-DeathDeclarationDelay = '10s'
-NewHeadsPollInterval = '0s'
-
-[OCR]
-ContractConfirmations = 4
-ContractTransmitterTransmitTimeout = '10s'
-DatabaseTimeout = '10s'
-DeltaCOverride = '168h0m0s'
-DeltaCJitterOverride = '1h0m0s'
-ObservationGracePeriod = '1s'
-
-[OCR2]
-[OCR2.Automation]
-GasLimit = 5400000
-
-[Workflow]
-GasLimitDefault = 400000
-```
-
-
-
Hedera Mainnet (295)
```toml
@@ -4638,109 +4535,6 @@ GasLimitDefault = 400000
-Metis Rinkeby (588)
-
-```toml
-AutoCreateKey = true
-BlockBackfillDepth = 10
-BlockBackfillSkip = false
-ChainType = 'metis'
-FinalityDepth = 10
-FinalityTagEnabled = false
-LogBackfillBatchSize = 1000
-LogPollInterval = '15s'
-LogKeepBlocksDepth = 100000
-LogPrunePageSize = 10000
-BackupLogPollerBlockDelay = 100
-MinIncomingConfirmations = 1
-MinContractPayment = '0.00001 link'
-NonceAutoSync = true
-NoNewHeadsThreshold = '0s'
-LogBroadcasterEnabled = true
-RPCDefaultBatchSize = 250
-RPCBlockQueryDelay = 1
-FinalizedBlockOffset = 0
-NoNewFinalizedHeadsThreshold = '0s'
-
-[Transactions]
-ForwardersEnabled = false
-MaxInFlight = 16
-MaxQueued = 250
-ReaperInterval = '1h0m0s'
-ReaperThreshold = '168h0m0s'
-ResendAfterThreshold = '1m0s'
-
-[Transactions.AutoPurge]
-Enabled = false
-
-[BalanceMonitor]
-Enabled = true
-
-[GasEstimator]
-Mode = 'SuggestedPrice'
-PriceDefault = '20 gwei'
-PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
-PriceMin = '0'
-LimitDefault = 8000000
-LimitMax = 8000000
-LimitMultiplier = '1'
-LimitTransfer = 21000
-EstimateLimit = false
-BumpMin = '5 gwei'
-BumpPercent = 20
-BumpThreshold = 3
-EIP1559DynamicFees = false
-FeeCapDefault = '100 gwei'
-TipCapDefault = '1 wei'
-TipCapMin = '1 wei'
-
-[GasEstimator.BlockHistory]
-BatchSize = 25
-BlockHistorySize = 0
-CheckInclusionBlocks = 12
-CheckInclusionPercentile = 90
-TransactionPercentile = 60
-
-[GasEstimator.FeeHistory]
-CacheTimeout = '10s'
-
-[HeadTracker]
-HistoryDepth = 100
-MaxBufferSize = 3
-SamplingInterval = '1s'
-MaxAllowedFinalityDepth = 10000
-FinalityTagBypass = true
-
-[NodePool]
-PollFailureThreshold = 5
-PollInterval = '10s'
-SelectionMode = 'HighestHead'
-SyncThreshold = 10
-LeaseDuration = '0s'
-NodeIsSyncingEnabled = false
-FinalizedBlockPollInterval = '5s'
-EnforceRepeatableRead = false
-DeathDeclarationDelay = '10s'
-NewHeadsPollInterval = '0s'
-
-[OCR]
-ContractConfirmations = 1
-ContractTransmitterTransmitTimeout = '10s'
-DatabaseTimeout = '10s'
-DeltaCOverride = '168h0m0s'
-DeltaCJitterOverride = '1h0m0s'
-ObservationGracePeriod = '1s'
-
-[OCR2]
-[OCR2.Automation]
-GasLimit = 5400000
-
-[Workflow]
-GasLimitDefault = 400000
-```
-
-
-
Astar Mainnet (592)
```toml
@@ -5057,7 +4851,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'optimismBedrock'
-FinalityDepth = 10
+FinalityDepth = 500
FinalityTagEnabled = true
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
@@ -5160,7 +4954,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'zkevm'
-FinalityDepth = 500
+FinalityDepth = 1000
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '30s'
@@ -5675,7 +5469,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'kroma'
-FinalityDepth = 400
+FinalityDepth = 700
FinalityTagEnabled = true
LogBackfillBatchSize = 1000
LogPollInterval = '2s'
@@ -5984,8 +5778,8 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'optimismBedrock'
-FinalityDepth = 500
-FinalityTagEnabled = false
+FinalityDepth = 1200
+FinalityTagEnabled = true
LogBackfillBatchSize = 1000
LogPollInterval = '2s'
LogKeepBlocksDepth = 100000
@@ -6813,7 +6607,7 @@ BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'celo'
FinalityDepth = 10
-FinalityTagEnabled = false
+FinalityTagEnabled = true
LogBackfillBatchSize = 1000
LogPollInterval = '5s'
LogKeepBlocksDepth = 100000
@@ -7122,7 +6916,7 @@ BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'celo'
FinalityDepth = 10
-FinalityTagEnabled = false
+FinalityTagEnabled = true
LogBackfillBatchSize = 1000
LogPollInterval = '5s'
LogKeepBlocksDepth = 100000
@@ -7537,7 +7331,7 @@ GasLimitDefault = 400000
AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
-FinalityDepth = 900
+FinalityDepth = 200
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
@@ -7639,7 +7433,7 @@ GasLimitDefault = 400000
AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
-FinalityDepth = 300
+FinalityDepth = 600
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
@@ -7742,7 +7536,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'optimismBedrock'
-FinalityDepth = 10
+FinalityDepth = 3000
FinalityTagEnabled = true
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 874c04248c..be922b2856 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -4,19 +4,22 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: true
-devDependencies:
- '@changesets/changelog-github':
- specifier: ^0.4.8
- version: 0.4.8
- '@changesets/cli':
- specifier: ~2.26.2
- version: 2.26.2
- husky:
- specifier: ^9.0.11
- version: 9.0.11
- semver:
- specifier: ^7.6.1
- version: 7.6.1
+importers:
+
+ .:
+ devDependencies:
+ '@changesets/changelog-github':
+ specifier: ^0.4.8
+ version: 0.4.8
+ '@changesets/cli':
+ specifier: ~2.26.2
+ version: 2.26.2
+ husky:
+ specifier: ^9.0.11
+ version: 9.0.11
+ semver:
+ specifier: ^7.6.1
+ version: 7.6.1
packages:
@@ -461,12 +464,21 @@ packages:
resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
engines: {node: '>= 0.4'}
+ hasown@2.0.2:
+ resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
+ engines: {node: '>= 0.4'}
+
hosted-git-info@2.8.9:
resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
human-id@1.0.2:
resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==}
+ husky@9.0.11:
+ resolution: {integrity: sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==}
+ engines: {node: '>=18'}
+ hasBin: true
+
iconv-lite@0.4.24:
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
engines: {node: '>=0.10.0'}
@@ -513,6 +525,10 @@ packages:
resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==}
engines: {node: '>= 0.4'}
+ is-data-view@1.0.1:
+ resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==}
+ engines: {node: '>= 0.4'}
+
is-date-object@1.0.5:
resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==}
engines: {node: '>= 0.4'}
@@ -1190,7 +1206,7 @@ snapshots:
'@changesets/get-version-range-type@0.3.2': {}
'@changesets/git@2.0.0':
- dependencies:
+ dependencies
'@babel/runtime': 7.25.6
'@changesets/errors': 0.1.4
'@changesets/types': 5.2.1
@@ -1689,19 +1705,17 @@ snapshots:
dependencies:
function-bind: 1.1.2
+ hasown@2.0.2:
+ dependencies:
+ function-bind: 1.1.2
+
hosted-git-info@2.8.9: {}
human-id@1.0.2: {}
- /husky@9.0.11:
- resolution: {integrity: sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==}
- engines: {node: '>=18'}
- hasBin: true
- dev: true
+ husky@9.0.11: {}
- /iconv-lite@0.4.24:
- resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
- engines: {node: '>=0.10.0'}
+ iconv-lite@0.4.24:
dependencies:
safer-buffer: 2.1.2
@@ -1745,6 +1759,10 @@ snapshots:
dependencies:
is-typed-array: 1.1.13
+ is-data-view@1.0.1:
+ dependencies:
+ is-typed-array: 1.1.13
+
is-date-object@1.0.5:
dependencies:
has-tostringtag: 1.0.2