Skip to content

Commit

Permalink
log trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
wentzeld committed Feb 16, 2024
1 parent 228a4ea commit f8b0d2b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/scripts/chaincli/DEBUGGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ Execute the following command based on your upkeep type:
```
### Common issues with Upkeeps and how to resolve them
#### All upkeeps
- Upkeep is underfunded
- Underfunded upkeeps will not perform. Fund your upkeep in the Automation [app](https://automation.chain.link/)
- Upkeep is paused
Expand All @@ -120,4 +122,13 @@ Execute the following command based on your upkeep type:
- Use the Automation [app](https://automation.chain.link/) and increase the gas limit of your upkeep
- The maximum supported perform gas is 5,000,000
#### Log-trigger upkeeps
Log-trigger upkeeps require that you also supply the txn hash containing the log and the index of the log that would have triggered your upkeep. You can find both in the block scanner of the chain in question. For example the txn hash is in the URL and the block number in the green circle on the left.
![Txn Hash and Log Index Number](/core/scripts/chaincli/images/txnHash_and_index.png "Find txn hash and log index in block scanner")
- Log doesn't match the trigger config
- Log-trigger upkeeps come with a filter (aka trigger config), if the emitted log doesn't match the filter, the upkeep won't run.
- ![Log doesn't match](/core/scripts/chaincli/images/log_trigger_log_doesnt_match.png "Log doesn't match trigger config")
- Use the Automation [app](https://automation.chain.link/) to update the upkeep's trigger config to match the log.
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f8b0d2b

Please sign in to comment.