From d3c72257b2d9ed9826ff5b6594ce22fe733947fd Mon Sep 17 00:00:00 2001 From: Lautaro Fernandez Date: Wed, 20 Nov 2024 16:26:41 -0300 Subject: [PATCH] BOB fixing finality depth in mainnet --- core/chains/evm/config/toml/defaults/BOB_Mainnet.toml | 8 ++++---- core/chains/evm/config/toml/defaults/BOB_Testnet.toml | 8 ++++---- docs/CONFIG.md | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/core/chains/evm/config/toml/defaults/BOB_Mainnet.toml b/core/chains/evm/config/toml/defaults/BOB_Mainnet.toml index f6a14df5b9b..3211ee9caa7 100644 --- a/core/chains/evm/config/toml/defaults/BOB_Mainnet.toml +++ b/core/chains/evm/config/toml/defaults/BOB_Mainnet.toml @@ -1,13 +1,13 @@ ChainID = '60808' # OP stack https://docs.gobob.xyz/learn/introduction/stack-overview#rollup-layer ChainType = 'optimismBedrock' -# finality_depth was: ~850 -FinalityDepth = 900 +# FinalityDepth in mainnet showed more than 3k +FinalityDepth = 3150 # block_time was: 2s, adding 1 second buffer LogPollInterval = '3s' -# finality_depth * block_time / 60 secs = ~30 min (finality time) -NoNewFinalizedHeadsThreshold = '35m' +# finality_depth * block_time / 60 secs = ~105 min (finality time) +NoNewFinalizedHeadsThreshold = '110m' FinalityTagEnabled = true diff --git a/core/chains/evm/config/toml/defaults/BOB_Testnet.toml b/core/chains/evm/config/toml/defaults/BOB_Testnet.toml index 0ba35cee0a4..064137f97c7 100644 --- a/core/chains/evm/config/toml/defaults/BOB_Testnet.toml +++ b/core/chains/evm/config/toml/defaults/BOB_Testnet.toml @@ -1,13 +1,13 @@ ChainID = '808813' # OP stack https://docs.gobob.xyz/learn/introduction/stack-overview#rollup-layer ChainType = 'optimismBedrock' -# finality_depth was: ~850 -FinalityDepth = 900 +# FinalityDepth in mainnet showed more than 3k +FinalityDepth = 3150 # block_time was: 2s, adding 1 second buffer LogPollInterval = '3s' -# finality_depth * block_time / 60 secs = ~30 min (finality time) -NoNewFinalizedHeadsThreshold = '35m' +# finality_depth * block_time / 60 secs = ~105 min (finality time) +NoNewFinalizedHeadsThreshold = '110m' FinalityTagEnabled = true diff --git a/docs/CONFIG.md b/docs/CONFIG.md index bb295c819b1..b6af5ed40d5 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -7970,7 +7970,7 @@ AutoCreateKey = true BlockBackfillDepth = 10 BlockBackfillSkip = false ChainType = 'optimismBedrock' -FinalityDepth = 900 +FinalityDepth = 3150 FinalityTagEnabled = true LogBackfillBatchSize = 1000 LogPollInterval = '3s' @@ -7985,7 +7985,7 @@ LogBroadcasterEnabled = true RPCDefaultBatchSize = 250 RPCBlockQueryDelay = 1 FinalizedBlockOffset = 0 -NoNewFinalizedHeadsThreshold = '35m0s' +NoNewFinalizedHeadsThreshold = '1h50m0s' [Transactions] ForwardersEnabled = false @@ -9143,7 +9143,7 @@ AutoCreateKey = true BlockBackfillDepth = 10 BlockBackfillSkip = false ChainType = 'optimismBedrock' -FinalityDepth = 900 +FinalityDepth = 3150 FinalityTagEnabled = true LogBackfillBatchSize = 1000 LogPollInterval = '3s' @@ -9158,7 +9158,7 @@ LogBroadcasterEnabled = true RPCDefaultBatchSize = 250 RPCBlockQueryDelay = 1 FinalizedBlockOffset = 0 -NoNewFinalizedHeadsThreshold = '35m0s' +NoNewFinalizedHeadsThreshold = '1h50m0s' [Transactions] ForwardersEnabled = false