Skip to content

Commit

Permalink
updated types as per review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
deepan95dev committed Nov 29, 2023
1 parent db62d69 commit b5c92c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x/scheduler/types/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (

//go:generate mockery --name=Keeper
type Keeper interface {
AddNewJob(ctx sdk.Context, job *Job) error
AddNewJob(ctx context.Context, job *Job) error
GetAccount(ctx context.Context, addr sdk.AccAddress) types.AccountI
GetJob(ctx sdk.Context, jobID string) (*Job, error)
GetJob(ctx context.Context, jobID string) (*Job, error)
Logger(ctx context.Context) log.Logger
PreJobExecution(ctx context.Context, job *Job) error
ScheduleNow(ctx sdk.Context, jobID string, in []byte, senderAddress sdk.AccAddress, contractAddress sdk.AccAddress) (uint64, error)
ExecuteJob(ctx sdk.Context, jobID string, payload []byte, senderAddress sdk.AccAddress, contractAddr sdk.AccAddress) (uint64, error)
ScheduleNow(ctx context.Context, jobID string, in []byte, senderAddress sdk.AccAddress, contractAddress sdk.AccAddress) (uint64, error)
ExecuteJob(ctx context.Context, jobID string, payload []byte, senderAddress sdk.AccAddress, contractAddr sdk.AccAddress) (uint64, error)
}

0 comments on commit b5c92c6

Please sign in to comment.