From e9f9f4fbe908d25a5fae54aa348e8f1e8f1b1e86 Mon Sep 17 00:00:00 2001 From: bizk Date: Wed, 25 Oct 2023 11:11:38 -0300 Subject: [PATCH] run gci write on testutil --- testutil/testdata/animal.go | 3 ++- testutil/testdata/codec.go | 3 ++- testutil/testdata/grpc_query.go | 5 +++-- testutil/testdata/tx.go | 5 +++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/testutil/testdata/animal.go b/testutil/testdata/animal.go index b3333dd1406..7d5afa61528 100644 --- a/testutil/testdata/animal.go +++ b/testutil/testdata/animal.go @@ -3,8 +3,9 @@ package testdata import ( "fmt" - "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/gogoproto/proto" + + "github.com/cosmos/cosmos-sdk/codec/types" ) type Animal interface { diff --git a/testutil/testdata/codec.go b/testutil/testdata/codec.go index d05d3873410..6e4dcc253b5 100644 --- a/testutil/testdata/codec.go +++ b/testutil/testdata/codec.go @@ -1,11 +1,12 @@ package testdata import ( + amino "github.com/tendermint/go-amino" + "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/msgservice" tx "github.com/cosmos/cosmos-sdk/types/tx" - amino "github.com/tendermint/go-amino" ) func NewTestInterfaceRegistry() types.InterfaceRegistry { diff --git a/testutil/testdata/grpc_query.go b/testutil/testdata/grpc_query.go index 7a3bbafafce..510e554d433 100644 --- a/testutil/testdata/grpc_query.go +++ b/testutil/testdata/grpc_query.go @@ -5,11 +5,12 @@ import ( "fmt" "testing" - "github.com/cosmos/cosmos-sdk/codec/types" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" "gotest.tools/v3/assert" + + "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" ) // iterCount defines the number of iterations to run on each query to test diff --git a/testutil/testdata/tx.go b/testutil/testdata/tx.go index e75b14b0aee..3abc02d61c6 100644 --- a/testutil/testdata/tx.go +++ b/testutil/testdata/tx.go @@ -3,6 +3,9 @@ package testdata import ( "testing" + "gotest.tools/v3/assert" + "pgregory.net/rapid" + "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" @@ -10,8 +13,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/query" - "gotest.tools/v3/assert" - "pgregory.net/rapid" ) // AddressGenerator creates and returns a random address generator using rapid.