Skip to content

Commit

Permalink
Updated DetectionApiUrl config example
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-momin committed May 22, 2024
1 parent 90ec4a3 commit d81da52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/config/docs/chains-evm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ ResendAfterThreshold = '1m' # Default
# Enabled enables or disables automatically purging transactions that have been idenitified as terminally stuck (will never be included on-chain). This feature is only expected to be used by ZK chains.
Enabled = false # Default
# DetectionApiUrl configures the base url of a custom endpoint used to identify terminally stuck transactions.
DetectionApiUrl = 'https://venus.scroll.io' # Example
DetectionApiUrl = 'https://example.api.io' # Example
# Threshold configures the number of blocks a transaction has to remain unconfirmed before it is evaluated for being terminally stuck. This threshold is only applied if there is no custom API to identify stuck transactions provided by the chain.
Threshold = 5 # Example
# MinAttempts configures the minimum number of broadcasted attempts a transaction has to have before it is evaluated further for being terminally stuck. This threshold is only applied if there is no custom API to identify stuck transactions provided by the chain. Ensure the gas estimator configs take more bump attempts before reaching the configured max gas price.
Expand Down
4 changes: 2 additions & 2 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7155,7 +7155,7 @@ ResendAfterThreshold controls how long to wait before re-broadcasting a transact
```toml
[EVM.Transactions.AutoPurge]
Enabled = false # Default
DetectionApiUrl = 'https://venus.scroll.io' # Example
DetectionApiUrl = 'https://example.api.io' # Example
Threshold = 5 # Example
MinAttempts = 3 # Example
```
Expand All @@ -7169,7 +7169,7 @@ Enabled enables or disables automatically purging transactions that have been id

### DetectionApiUrl
```toml
DetectionApiUrl = 'https://venus.scroll.io' # Example
DetectionApiUrl = 'https://example.api.io' # Example
```
DetectionApiUrl configures the base url of a custom endpoint used to identify terminally stuck transactions.

Expand Down

0 comments on commit d81da52

Please sign in to comment.