From 80094743df471a04521d9598a70f60a97196a913 Mon Sep 17 00:00:00 2001 From: swelf Date: Wed, 3 Jul 2024 13:23:44 +0300 Subject: [PATCH] lint --- app/app.go | 3 ++- testutil/contractmanager/network/network.go | 7 +++++-- testutil/cron/network/network.go | 3 ++- testutil/interchainqueries/network/network.go | 3 ++- testutil/interchaintxs/network/network.go | 3 ++- testutil/test_helpers.go | 10 ++++++---- 6 files changed, 19 insertions(+), 10 deletions(-) diff --git a/app/app.go b/app/app.go index 2daceff3a..db0f38b43 100644 --- a/app/app.go +++ b/app/app.go @@ -3,7 +3,6 @@ package app import ( "context" "fmt" - tendermint "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" "io" "io/fs" "net/http" @@ -11,6 +10,8 @@ import ( "path/filepath" "time" + tendermint "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint" + "github.com/neutron-org/neutron/v4/x/dynamicfees" dynamicfeestypes "github.com/neutron-org/neutron/v4/x/dynamicfees/types" diff --git a/testutil/contractmanager/network/network.go b/testutil/contractmanager/network/network.go index 701a442af..19312b6e4 100644 --- a/testutil/contractmanager/network/network.go +++ b/testutil/contractmanager/network/network.go @@ -2,12 +2,14 @@ package network import ( "fmt" + "testing" + "time" + "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/x/staking" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + "github.com/neutron-org/neutron/v4/testutil" - "testing" - "time" db "github.com/cosmos/cosmos-db" "github.com/stretchr/testify/require" @@ -22,6 +24,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/neutron-org/neutron/v4/app/params" "github.com/neutron-org/neutron/v4/app" diff --git a/testutil/cron/network/network.go b/testutil/cron/network/network.go index c60d398e8..b8dba2ad3 100644 --- a/testutil/cron/network/network.go +++ b/testutil/cron/network/network.go @@ -2,10 +2,11 @@ package network import ( "fmt" - "github.com/neutron-org/neutron/v4/testutil" "testing" "time" + "github.com/neutron-org/neutron/v4/testutil" + "github.com/neutron-org/neutron/v4/app/config" "cosmossdk.io/log" diff --git a/testutil/interchainqueries/network/network.go b/testutil/interchainqueries/network/network.go index 4dfa03fb1..ac4154e98 100644 --- a/testutil/interchainqueries/network/network.go +++ b/testutil/interchainqueries/network/network.go @@ -2,10 +2,11 @@ package network import ( "fmt" - "github.com/neutron-org/neutron/v4/testutil" "testing" "time" + "github.com/neutron-org/neutron/v4/testutil" + "cosmossdk.io/log" pruningtypes "cosmossdk.io/store/pruning/types" db "github.com/cosmos/cosmos-db" diff --git a/testutil/interchaintxs/network/network.go b/testutil/interchaintxs/network/network.go index 5840b1358..fc1020e51 100644 --- a/testutil/interchaintxs/network/network.go +++ b/testutil/interchaintxs/network/network.go @@ -2,10 +2,11 @@ package network import ( "fmt" - "github.com/neutron-org/neutron/v4/testutil" "testing" "time" + "github.com/neutron-org/neutron/v4/testutil" + "cosmossdk.io/log" pruningtypes "cosmossdk.io/store/pruning/types" db "github.com/cosmos/cosmos-db" diff --git a/testutil/test_helpers.go b/testutil/test_helpers.go index 9e30fb072..98bc32916 100644 --- a/testutil/test_helpers.go +++ b/testutil/test_helpers.go @@ -2,17 +2,19 @@ package testutil import ( "bytes" - "cosmossdk.io/errors" "encoding/json" "fmt" - "github.com/cosmos/cosmos-sdk/testutil/network" - "github.com/cosmos/cosmos-sdk/x/genutil" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" "os" "path" "testing" "time" + "cosmossdk.io/errors" + + "github.com/cosmos/cosmos-sdk/testutil/network" + "github.com/cosmos/cosmos-sdk/x/genutil" + genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + tmrand "github.com/cometbft/cometbft/libs/rand" "github.com/neutron-org/neutron/v4/utils"