From a0a8a78b3e7d7823b60ce6ded724e162a9e48929 Mon Sep 17 00:00:00 2001 From: ltacker Date: Wed, 10 Aug 2022 14:07:55 +0200 Subject: [PATCH] format --- testutil/gen_app.go | 5 +++-- x/claim/types/decay_test.go | 6 ++++-- x/claim/types/params.go | 1 + x/mint/keeper/integration_test.go | 6 ++++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/testutil/gen_app.go b/testutil/gen_app.go index 6a2d73cac..913b9efb9 100644 --- a/testutil/gen_app.go +++ b/testutil/gen_app.go @@ -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) { diff --git a/x/claim/types/decay_test.go b/x/claim/types/decay_test.go index 6fe05d117..ab68b2bb0 100644 --- a/x/claim/types/decay_test.go +++ b/x/claim/types/decay_test.go @@ -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) { diff --git a/x/claim/types/params.go b/x/claim/types/params.go index fb93bdca9..29cf213bc 100644 --- a/x/claim/types/params.go +++ b/x/claim/types/params.go @@ -2,6 +2,7 @@ package types import ( "fmt" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "gopkg.in/yaml.v2" ) diff --git a/x/mint/keeper/integration_test.go b/x/mint/keeper/integration_test.go index f1c14b0a8..34b7234d4 100644 --- a/x/mint/keeper/integration_test.go +++ b/x/mint/keeper/integration_test.go @@ -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