diff --git a/x/session/keeper/msg_server_update_param.go b/x/session/keeper/msg_server_update_param.go index e64d10b7b..4cb9ec545 100644 --- a/x/session/keeper/msg_server_update_param.go +++ b/x/session/keeper/msg_server_update_param.go @@ -3,16 +3,16 @@ package keeper import ( "context" - "github.com/pokt-network/poktroll/x/session/types" sdk "github.com/cosmos/cosmos-sdk/types" -) + "github.com/pokt-network/poktroll/x/session/types" +) -func (k msgServer) UpdateParam(goCtx context.Context, msg *types.MsgUpdateParam) (*types.MsgUpdateParamResponse, error) { +func (k msgServer) UpdateParam(goCtx context.Context, msg *types.MsgUpdateParam) (*types.MsgUpdateParamResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) - // TODO: Handling the message - _ = ctx + // TODO: Handling the message + _ = ctx return &types.MsgUpdateParamResponse{}, nil } diff --git a/x/session/simulation/update_param.go b/x/session/simulation/update_param.go index 327598ad4..fec520abc 100644 --- a/x/session/simulation/update_param.go +++ b/x/session/simulation/update_param.go @@ -3,11 +3,12 @@ package simulation import ( "math/rand" - "github.com/pokt-network/poktroll/x/session/keeper" - "github.com/pokt-network/poktroll/x/session/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + + "github.com/pokt-network/poktroll/x/session/keeper" + "github.com/pokt-network/poktroll/x/session/types" ) func SimulateMsgUpdateParam( diff --git a/x/session/types/message_update_param.go b/x/session/types/message_update_param.go index 1c2ab4f08..38d848878 100644 --- a/x/session/types/message_update_param.go +++ b/x/session/types/message_update_param.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) -var _ sdk.Msg = &MsgUpdateParam{} +var _ sdk.Msg = (*MsgUpdateParam)(nil) func NewMsgUpdateParam(authority string, name string, asType isMsgUpdateParam_AsType) *MsgUpdateParam { return &MsgUpdateParam{ diff --git a/x/session/types/message_update_param_test.go b/x/session/types/message_update_param_test.go index 406337ff2..b72a6147b 100644 --- a/x/session/types/message_update_param_test.go +++ b/x/session/types/message_update_param_test.go @@ -5,6 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" + "github.com/pokt-network/poktroll/testutil/sample" ) diff --git a/x/supplier/module/abci.go b/x/supplier/module/abci.go index f448fd5f0..65416b0c1 100644 --- a/x/supplier/module/abci.go +++ b/x/supplier/module/abci.go @@ -4,6 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" cosmostelemetry "github.com/cosmos/cosmos-sdk/telemetry" + "github.com/pokt-network/poktroll/x/supplier/keeper" "github.com/pokt-network/poktroll/x/supplier/types" )