From b5c92c6e23dfbf88eb566fad36403cabb592ad2c Mon Sep 17 00:00:00 2001 From: deepan95dev Date: Wed, 29 Nov 2023 14:26:01 +0530 Subject: [PATCH] updated types as per review comments --- x/scheduler/types/keeper.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x/scheduler/types/keeper.go b/x/scheduler/types/keeper.go index 09d39a6db..0d06bf1ac 100644 --- a/x/scheduler/types/keeper.go +++ b/x/scheduler/types/keeper.go @@ -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) }