-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
write keeper debugging script (#10808)
- Loading branch information
Showing
28 changed files
with
1,649 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 8 additions & 3 deletions
11
contracts/src/v0.8/automation/interfaces/v2_1/IKeeperRegistryMaster.sol
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
234 changes: 177 additions & 57 deletions
234
...rs/generated/i_keeper_registry_master_wrapper_2_1/i_keeper_registry_master_wrapper_2_1.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package keeper | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
|
||
"github.com/smartcontractkit/chainlink/core/scripts/chaincli/config" | ||
"github.com/smartcontractkit/chainlink/core/scripts/chaincli/handler" | ||
) | ||
|
||
// jobCmd represents the command to run the service | ||
var debugCmd = &cobra.Command{ | ||
Use: "debug", | ||
Short: "Debug an upkeep", | ||
Long: `This command debugs an upkeep on the povided registry to figure out why it is not performing`, | ||
Run: func(cmd *cobra.Command, args []string) { | ||
cfg := config.New() | ||
hdlr := handler.NewKeeper(cfg) | ||
hdlr.Debug(cmd.Context(), args) | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.