Skip to content

Commit

Permalink
Enable AutoPurge feature on all affected chains
Browse files Browse the repository at this point in the history
  • Loading branch information
friedemannf committed Nov 8, 2024
1 parent ab7fa09 commit a27167d
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 11 deletions.
5 changes: 5 additions & 0 deletions core/chains/evm/config/toml/defaults/Linea_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ ResendAfterThreshold = '3m'
# set greater than finality depth
[HeadTracker]
HistoryDepth = 350

[Transactions.AutoPurge]
Enabled = true
Threshold = 50 # 50 blocks at 3s block time ~2.5 minutes
MinAttempts = 3
7 changes: 6 additions & 1 deletion core/chains/evm/config/toml/defaults/Linea_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ PriceMin = '1 wei'
ResendAfterThreshold = '3m'

[HeadTracker]
HistoryDepth = 1000
HistoryDepth = 1000

[Transactions.AutoPurge]
Enabled = true
Threshold = 50 # 50 blocks at 3s block time ~2.5 minutes
MinAttempts = 3
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ CacheTimeout = '4s'

[HeadTracker]
HistoryDepth = 2000

[Transactions.AutoPurge]
Enabled = true
MinAttempts = 3
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ CacheTimeout = '4s'
[HeadTracker]
# Polygon suffers from a tremendous number of re-orgs, we need to set this to something very large to be conservative enough
HistoryDepth = 2000

[Transactions.AutoPurge]
Enabled = true
MinAttempts = 3
4 changes: 4 additions & 0 deletions core/chains/evm/config/toml/defaults/Scroll_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ HistoryDepth = 50

[OCR]
ContractConfirmations = 1

[Transactions.AutoPurge]
Enabled = true
DetectionApiUrl = 'https://venus.scroll.io'
4 changes: 4 additions & 0 deletions core/chains/evm/config/toml/defaults/Scroll_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ HistoryDepth = 50

[OCR]
ContractConfirmations = 1

[Transactions.AutoPurge]
Enabled = true
DetectionApiUrl = 'https://sepolia-venus.scroll.io'
4 changes: 4 additions & 0 deletions core/chains/evm/config/toml/defaults/XLayer_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ BlockHistorySize = 12

[HeadTracker]
HistoryDepth = 2000

[Transactions.AutoPurge]
Enabled = true
MinAttempts = 3
4 changes: 4 additions & 0 deletions core/chains/evm/config/toml/defaults/XLayer_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ BlockHistorySize = 12

[HeadTracker]
HistoryDepth = 2000

[Transactions.AutoPurge]
Enabled = true
MinAttempts = 3
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Zircuit_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ GasLimit = 6500000
[Transactions.AutoPurge]
Enabled = true
Threshold = 90 # 90 blocks at 2s block time ~3 minutes
MinAttempts = 3
MinAttempts = 3
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Zircuit_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ GasLimit = 6500000
[Transactions.AutoPurge]
Enabled = true
Threshold = 90 # 90 blocks at 2s block time ~3 minutes
MinAttempts = 3
MinAttempts = 3
26 changes: 18 additions & 8 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3640,7 +3640,8 @@ ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '3m0s'

[Transactions.AutoPurge]
Enabled = false
Enabled = true
MinAttempts = 3

[BalanceMonitor]
Enabled = true
Expand Down Expand Up @@ -3743,7 +3744,8 @@ ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '3m0s'

[Transactions.AutoPurge]
Enabled = false
Enabled = true
MinAttempts = 3

[BalanceMonitor]
Enabled = true
Expand Down Expand Up @@ -5186,7 +5188,8 @@ ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '3m0s'

[Transactions.AutoPurge]
Enabled = false
Enabled = true
MinAttempts = 3

[BalanceMonitor]
Enabled = true
Expand Down Expand Up @@ -6216,7 +6219,8 @@ ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '3m0s'

[Transactions.AutoPurge]
Enabled = false
Enabled = true
MinAttempts = 3

[BalanceMonitor]
Enabled = true
Expand Down Expand Up @@ -8078,7 +8082,9 @@ ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '3m0s'

[Transactions.AutoPurge]
Enabled = false
Enabled = true
Threshold = 50
MinAttempts = 3

[BalanceMonitor]
Enabled = true
Expand Down Expand Up @@ -8180,7 +8186,9 @@ ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '3m0s'

[Transactions.AutoPurge]
Enabled = false
Enabled = true
Threshold = 50
MinAttempts = 3

[BalanceMonitor]
Enabled = true
Expand Down Expand Up @@ -9522,7 +9530,8 @@ ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '1m0s'

[Transactions.AutoPurge]
Enabled = false
Enabled = true
DetectionApiUrl = 'https://sepolia-venus.scroll.io'

[BalanceMonitor]
Enabled = true
Expand Down Expand Up @@ -9625,7 +9634,8 @@ ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '1m0s'

[Transactions.AutoPurge]
Enabled = false
Enabled = true
DetectionApiUrl = 'https://venus.scroll.io'

[BalanceMonitor]
Enabled = true
Expand Down

0 comments on commit a27167d

Please sign in to comment.