Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable AutoPurge feature on all affected chains #1524

Merged
merged 3 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Loading