Skip to content

Commit

Permalink
[Automation] Update docker scripts (#10516)
Browse files Browse the repository at this point in the history
  • Loading branch information
vreff authored Sep 6, 2023
1 parent b5e6207 commit a15bcd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/scripts/chaincli/command/keeper/launch.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var launchAndTestCmd = &cobra.Command{

func init() {
launchAndTestCmd.Flags().BoolP("withdraw", "w", true, "Specify if funds should be withdrawn and upkeeps should be canceled")
launchAndTestCmd.Flags().BoolP("bootstrap", "b", true, "Specify if launching bootstrap node is required. Default listen ports(5688, 8000) are used, if you need to use custom ports, please use bootstrap command")
launchAndTestCmd.Flags().BoolP("bootstrap", "b", false, "Specify if launching bootstrap node is required. Default listen ports(5688, 8000) are used, if you need to use custom ports, please use bootstrap command")
launchAndTestCmd.Flags().BoolP("export-logs", "l", false, "Specify if container logs should be exported to ./")
launchAndTestCmd.Flags().BoolP("force", "f", false, "Specify if existing containers should be forcefully removed ./")
}
4 changes: 2 additions & 2 deletions core/scripts/chaincli/handler/keeper_verifiable_load.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type upkeepInfo struct {
}

type verifiableLoad interface {
GetActiveUpkeepIDs(opts *bind.CallOpts, startIndex *big.Int, maxCount *big.Int) ([]*big.Int, error)
GetAllActiveUpkeepIDsOnRegistry(opts *bind.CallOpts, startIndex *big.Int, maxCount *big.Int) ([]*big.Int, error)
Counters(opts *bind.CallOpts, upkeepId *big.Int) (*big.Int, error)
GetBucketedDelays(opts *bind.CallOpts, upkeepId *big.Int, bucket uint16) ([]*big.Int, error)
Buckets(opts *bind.CallOpts, arg0 *big.Int) (uint16, error)
Expand Down Expand Up @@ -79,7 +79,7 @@ func (k *Keeper) GetVerifiableLoadStats(ctx context.Context) {
}

// get all active upkeep IDs on this verifiable load contract
upkeepIds, err := v.GetActiveUpkeepIDs(opts, big.NewInt(0), big.NewInt(0))
upkeepIds, err := v.GetAllActiveUpkeepIDsOnRegistry(opts, big.NewInt(0), big.NewInt(0))
if err != nil {
log.Fatalf("failed to get active upkeep IDs from %s: %v", k.cfg.VerifiableLoadContractAddress, err)
}
Expand Down

0 comments on commit a15bcd8

Please sign in to comment.