Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Aug 10, 2022
1 parent 1d00d0c commit a0a8a78
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 3 additions & 2 deletions testutil/gen_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
spnapp "github.com/tendermint/spn/app"
"github.com/tendermint/spn/cmd"
"github.com/tendermint/tendermint/libs/log"
tmtypes "github.com/tendermint/tendermint/types"
dbm "github.com/tendermint/tm-db"

spnapp "github.com/tendermint/spn/app"
"github.com/tendermint/spn/cmd"
)

func GenApp(withGenesis bool, invCheckPeriod uint) (*spnapp.App, spnapp.GenesisState) {
Expand Down
6 changes: 4 additions & 2 deletions x/claim/types/decay_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package types_test

import (
"testing"
"time"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"

tc "github.com/tendermint/spn/testutil/constructor"
"github.com/tendermint/spn/x/claim/types"
"testing"
"time"
)

func TestNewDisabledDecay(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions x/claim/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package types

import (
"fmt"

paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
"gopkg.in/yaml.v2"
)
Expand Down
6 changes: 4 additions & 2 deletions x/mint/keeper/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ package keeper_test

import (
"encoding/json"

"github.com/cosmos/cosmos-sdk/simapp"
sdk "github.com/cosmos/cosmos-sdk/types"
abci "github.com/tendermint/tendermint/abci/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"

spnapp "github.com/tendermint/spn/app"
"github.com/tendermint/spn/testutil"
"github.com/tendermint/spn/x/mint/types"
abci "github.com/tendermint/tendermint/abci/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
)

// returns context and an app with updated mint keeper
Expand Down

0 comments on commit a0a8a78

Please sign in to comment.