diff --git a/x/nft/keys.go b/x/nft/keys.go index da03362d7..b3c11046e 100644 --- a/x/nft/keys.go +++ b/x/nft/keys.go @@ -1,7 +1,7 @@ package nft const ( - // module name + // ModuleName module name ModuleName = "nft" // StoreKey is the default store key for nft diff --git a/x/nft/msgs.go b/x/nft/msgs.go index 85fbc1ba4..4b85199cd 100644 --- a/x/nft/msgs.go +++ b/x/nft/msgs.go @@ -14,7 +14,7 @@ var ( _ sdk.Msg = &MsgSend{} ) -// GetSigners implements the Msg.ValidateBasic method. +// ValidateBasic implements the Msg.ValidateBasic method. func (m MsgSend) ValidateBasic() error { if err := ValidateClassID(m.ClassId); err != nil { return sdkerrors.Wrapf(ErrInvalidID, "Invalid class id (%s)", m.ClassId) diff --git a/x/nft/simulation/operations.go b/x/nft/simulation/operations.go index e793e86dc..d430c3c12 100644 --- a/x/nft/simulation/operations.go +++ b/x/nft/simulation/operations.go @@ -18,12 +18,12 @@ import ( ) const ( - // Simulation operation weights constants + // OpWeightMsgSend Simulation operation weights constants OpWeightMsgSend = "op_weight_msg_send" ) const ( - // nft operations weights + // WeightSend nft operations weights WeightSend = 100 ) diff --git a/x/nft/validation.go b/x/nft/validation.go index 189b6621e..65d684716 100644 --- a/x/nft/validation.go +++ b/x/nft/validation.go @@ -1,7 +1,7 @@ package nft import ( - fmt "fmt" + "fmt" "regexp" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"