Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit a0a8a78

Browse files
committed
format
1 parent 1d00d0c commit a0a8a78

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

testutil/gen_app.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ import (
1313
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
1414
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
1515
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
16-
spnapp "github.com/tendermint/spn/app"
17-
"github.com/tendermint/spn/cmd"
1816
"github.com/tendermint/tendermint/libs/log"
1917
tmtypes "github.com/tendermint/tendermint/types"
2018
dbm "github.com/tendermint/tm-db"
19+
20+
spnapp "github.com/tendermint/spn/app"
21+
"github.com/tendermint/spn/cmd"
2122
)
2223

2324
func GenApp(withGenesis bool, invCheckPeriod uint) (*spnapp.App, spnapp.GenesisState) {

x/claim/types/decay_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
package types_test
22

33
import (
4+
"testing"
5+
"time"
6+
47
sdk "github.com/cosmos/cosmos-sdk/types"
58
"github.com/stretchr/testify/require"
9+
610
tc "github.com/tendermint/spn/testutil/constructor"
711
"github.com/tendermint/spn/x/claim/types"
8-
"testing"
9-
"time"
1012
)
1113

1214
func TestNewDisabledDecay(t *testing.T) {

x/claim/types/params.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package types
22

33
import (
44
"fmt"
5+
56
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
67
"gopkg.in/yaml.v2"
78
)

x/mint/keeper/integration_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ package keeper_test
22

33
import (
44
"encoding/json"
5+
56
"github.com/cosmos/cosmos-sdk/simapp"
67
sdk "github.com/cosmos/cosmos-sdk/types"
8+
abci "github.com/tendermint/tendermint/abci/types"
9+
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
10+
711
spnapp "github.com/tendermint/spn/app"
812
"github.com/tendermint/spn/testutil"
913
"github.com/tendermint/spn/x/mint/types"
10-
abci "github.com/tendermint/tendermint/abci/types"
11-
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
1214
)
1315

1416
// returns context and an app with updated mint keeper

0 commit comments

Comments
 (0)