Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 4653d09

Browse files
authored
Enable AutoPurge feature on all affected chains (#1524)
## Motivation Same as smartcontractkit/chainlink#15157 ## Solution
1 parent 0d44194 commit 4653d09

File tree

11 files changed

+55
-11
lines changed

11 files changed

+55
-11
lines changed

core/chains/evm/config/toml/defaults/Linea_Mainnet.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ ResendAfterThreshold = '3m'
1515
# set greater than finality depth
1616
[HeadTracker]
1717
HistoryDepth = 350
18+
19+
[Transactions.AutoPurge]
20+
Enabled = true
21+
Threshold = 50 # 50 blocks at 3s block time ~2.5 minutes
22+
MinAttempts = 3

core/chains/evm/config/toml/defaults/Linea_Sepolia.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ PriceMin = '1 wei'
1010
ResendAfterThreshold = '3m'
1111

1212
[HeadTracker]
13-
HistoryDepth = 1000
13+
HistoryDepth = 1000
14+
15+
[Transactions.AutoPurge]
16+
Enabled = true
17+
Threshold = 50 # 50 blocks at 3s block time ~2.5 minutes
18+
MinAttempts = 3

core/chains/evm/config/toml/defaults/Polygon_Zkevm_Cardona.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ CacheTimeout = '4s'
2424

2525
[HeadTracker]
2626
HistoryDepth = 2000
27+
28+
[Transactions.AutoPurge]
29+
Enabled = true
30+
MinAttempts = 3

core/chains/evm/config/toml/defaults/Polygon_Zkevm_Mainnet.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ CacheTimeout = '4s'
2626
[HeadTracker]
2727
# Polygon suffers from a tremendous number of re-orgs, we need to set this to something very large to be conservative enough
2828
HistoryDepth = 2000
29+
30+
[Transactions.AutoPurge]
31+
Enabled = true
32+
MinAttempts = 3

core/chains/evm/config/toml/defaults/Scroll_Mainnet.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ HistoryDepth = 50
2020

2121
[OCR]
2222
ContractConfirmations = 1
23+
24+
[Transactions.AutoPurge]
25+
Enabled = true
26+
DetectionApiUrl = 'https://venus.scroll.io'

core/chains/evm/config/toml/defaults/Scroll_Sepolia.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ HistoryDepth = 50
2020

2121
[OCR]
2222
ContractConfirmations = 1
23+
24+
[Transactions.AutoPurge]
25+
Enabled = true
26+
DetectionApiUrl = 'https://sepolia-venus.scroll.io'

core/chains/evm/config/toml/defaults/XLayer_Mainnet.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ BlockHistorySize = 12
2323

2424
[HeadTracker]
2525
HistoryDepth = 2000
26+
27+
[Transactions.AutoPurge]
28+
Enabled = true
29+
MinAttempts = 3

core/chains/evm/config/toml/defaults/XLayer_Sepolia.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ BlockHistorySize = 12
2323

2424
[HeadTracker]
2525
HistoryDepth = 2000
26+
27+
[Transactions.AutoPurge]
28+
Enabled = true
29+
MinAttempts = 3

core/chains/evm/config/toml/defaults/Zircuit_Mainnet.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ GasLimit = 6500000
3333
[Transactions.AutoPurge]
3434
Enabled = true
3535
Threshold = 90 # 90 blocks at 2s block time ~3 minutes
36-
MinAttempts = 3
36+
MinAttempts = 3

core/chains/evm/config/toml/defaults/Zircuit_Sepolia.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ GasLimit = 6500000
3333
[Transactions.AutoPurge]
3434
Enabled = true
3535
Threshold = 90 # 90 blocks at 2s block time ~3 minutes
36-
MinAttempts = 3
36+
MinAttempts = 3

0 commit comments

Comments
 (0)