Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Sep 23, 2023
1 parent 5f0797e commit 3084258
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion exported/onft.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package exported

import (
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
"time"

paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"

sdk "github.com/cosmos/cosmos-sdk/types"
)

Expand Down
1 change: 1 addition & 0 deletions keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package keeper

import (
"context"

govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"

errorsmod "cosmossdk.io/errors"
Expand Down
2 changes: 2 additions & 0 deletions module.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"fmt"

"github.com/OmniFlix/onft/exported"

"github.com/OmniFlix/onft/simulation"
Expand Down Expand Up @@ -134,6 +135,7 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
gs := ExportGenesis(ctx, am.keeper)
return cdc.MustMarshalJSON(gs)
}

func (AppModule) ConsensusVersion() uint64 {
return ConsensusVersion
}
Expand Down
6 changes: 2 additions & 4 deletions types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
)

var (
//DefaultDenomCreationFee Default period for closing bids for an auction
DefaultDenomCreationFee = sdk.NewInt64Coin("uflix", 100_000_000) // 100FLIX
)
// DefaultDenomCreationFee Default period for closing bids for an auction
var DefaultDenomCreationFee = sdk.NewInt64Coin("uflix", 100_000_000) // 100FLIX

func NewONFTParams(denomCreationFee sdk.Coin) Params {
return Params{
Expand Down
4 changes: 1 addition & 3 deletions types/params_legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import (
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
)

var (
ParamStoreKeyDenomCreationFee = []byte("DenomCreationFee")
)
var ParamStoreKeyDenomCreationFee = []byte("DenomCreationFee")

var _ paramtypes.ParamSet = (*Params)(nil)

Expand Down

0 comments on commit 3084258

Please sign in to comment.