Skip to content

Commit

Permalink
fix: linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Nov 8, 2024
1 parent 0130d6e commit 9eba3b1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
10 changes: 5 additions & 5 deletions x/session/keeper/msg_server_update_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
5 changes: 3 additions & 2 deletions x/session/simulation/update_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion x/session/types/message_update_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
1 change: 1 addition & 0 deletions x/session/types/message_update_param_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
1 change: 1 addition & 0 deletions x/supplier/module/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 9eba3b1

Please sign in to comment.