From 4357a65532cbf5d3a688ce7216d5c32330fcd046 Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Thu, 28 Jun 2018 16:01:08 -0700 Subject: [PATCH] Fix crypto imports --- client/lcd/test_helpers.go | 2 +- cmd/gaia/app/genesis.go | 2 +- cmd/gaia/app/genesis_test.go | 2 +- cmd/gaia/cli_test/cli_test.go | 2 +- cmd/gaia/cmd/gaiadebug/hack.go | 2 +- cmd/gaia/cmd/gaiadebug/main.go | 2 +- crypto/amino.go | 4 ++-- crypto/keys/wire.go | 2 +- examples/basecoin/app/app_test.go | 2 +- examples/democoin/app/app_test.go | 2 +- examples/democoin/x/cool/app_test.go | 2 +- examples/democoin/x/pow/app_test.go | 2 +- examples/democoin/x/pow/mine.go | 2 +- examples/democoin/x/pow/types.go | 2 +- examples/democoin/x/simplestake/client/cli/commands.go | 2 +- examples/democoin/x/simplestake/keeper.go | 2 +- examples/democoin/x/simplestake/keeper_test.go | 2 +- examples/democoin/x/simplestake/msgs.go | 2 +- examples/democoin/x/simplestake/msgs_test.go | 2 +- examples/democoin/x/simplestake/types.go | 2 +- server/init.go | 2 +- server/mock/app.go | 2 +- types/account.go | 2 +- types/stake.go | 2 +- x/auth/account.go | 2 +- x/auth/account_test.go | 2 +- x/auth/ante_test.go | 2 +- x/auth/mapper.go | 2 +- x/auth/mock/app.go | 2 +- x/auth/mock/auth_app_test.go | 2 +- x/auth/mock/simulate_block.go | 2 +- x/auth/stdtx.go | 2 +- x/auth/stdtx_test.go | 2 +- x/bank/app_test.go | 2 +- x/gov/tally_test.go | 2 +- x/gov/test_common.go | 2 +- x/ibc/app_test.go | 2 +- x/ibc/ibc_test.go | 2 +- x/slashing/app_test.go | 2 +- x/slashing/keeper.go | 2 +- x/slashing/test_common.go | 2 +- x/stake/app_test.go | 2 +- x/stake/handler_test.go | 2 +- x/stake/keeper/key.go | 2 +- x/stake/keeper/slash.go | 2 +- x/stake/keeper/test_common.go | 2 +- x/stake/keeper/validator.go | 2 +- x/stake/types/msg.go | 2 +- x/stake/types/msg_test.go | 2 +- x/stake/types/test_common.go | 2 +- x/stake/types/validator.go | 2 +- 51 files changed, 52 insertions(+), 52 deletions(-) diff --git a/client/lcd/test_helpers.go b/client/lcd/test_helpers.go index 7fea0cb7d8d3..0d5d7cad2f91 100644 --- a/client/lcd/test_helpers.go +++ b/client/lcd/test_helpers.go @@ -18,7 +18,7 @@ import ( crkeys "github.com/cosmos/cosmos-sdk/crypto/keys" abci "github.com/tendermint/tendermint/abci/types" tmcfg "github.com/tendermint/tendermint/config" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" nm "github.com/tendermint/tendermint/node" pvm "github.com/tendermint/tendermint/privval" "github.com/tendermint/tendermint/proxy" diff --git a/cmd/gaia/app/genesis.go b/cmd/gaia/app/genesis.go index d5ef56773c8c..ce4b6ccfcac7 100644 --- a/cmd/gaia/app/genesis.go +++ b/cmd/gaia/app/genesis.go @@ -5,7 +5,7 @@ import ( "errors" "github.com/spf13/pflag" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" tmtypes "github.com/tendermint/tendermint/types" "github.com/cosmos/cosmos-sdk/server" diff --git a/cmd/gaia/app/genesis_test.go b/cmd/gaia/app/genesis_test.go index fd6836416855..90677e8ff114 100644 --- a/cmd/gaia/app/genesis_test.go +++ b/cmd/gaia/app/genesis_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" "github.com/stretchr/testify/assert" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) func TestToAccount(t *testing.T) { diff --git a/cmd/gaia/cli_test/cli_test.go b/cmd/gaia/cli_test/cli_test.go index 7727119a9c3b..f8937c42dc4f 100644 --- a/cmd/gaia/cli_test/cli_test.go +++ b/cmd/gaia/cli_test/cli_test.go @@ -17,7 +17,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth" "github.com/cosmos/cosmos-sdk/x/gov" "github.com/cosmos/cosmos-sdk/x/stake" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) func TestGaiaCLISend(t *testing.T) { diff --git a/cmd/gaia/cmd/gaiadebug/hack.go b/cmd/gaia/cmd/gaiadebug/hack.go index aecb51bb2914..0cb1160f5be3 100644 --- a/cmd/gaia/cmd/gaiadebug/hack.go +++ b/cmd/gaia/cmd/gaiadebug/hack.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" cmn "github.com/tendermint/tmlibs/common" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" diff --git a/cmd/gaia/cmd/gaiadebug/main.go b/cmd/gaia/cmd/gaiadebug/main.go index 0c8e438c01bb..7139ae5faa4d 100644 --- a/cmd/gaia/cmd/gaiadebug/main.go +++ b/cmd/gaia/cmd/gaiadebug/main.go @@ -14,7 +14,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" "github.com/spf13/cobra" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) func init() { diff --git a/crypto/amino.go b/crypto/amino.go index 2f695f14016d..18d67e3d6a32 100644 --- a/crypto/amino.go +++ b/crypto/amino.go @@ -1,8 +1,8 @@ package crypto import ( - tcrypto "github.com/tendermint/tendermint/crypto" "github.com/tendermint/go-amino" + tcrypto "github.com/tendermint/tendermint/crypto" ) var cdc = amino.NewCodec() @@ -15,5 +15,5 @@ func init() { // RegisterAmino registers all go-crypto related types in the given (amino) codec. func RegisterAmino(cdc *amino.Codec) { cdc.RegisterConcrete(PrivKeyLedgerSecp256k1{}, - "tendermint/PrivKeyLedgerSecp256k1", nil) + "tendermint/PrivKeyLedgerSecp256k1", nil) } diff --git a/crypto/keys/wire.go b/crypto/keys/wire.go index 3c1df3f1c73f..18e8e0f17f72 100644 --- a/crypto/keys/wire.go +++ b/crypto/keys/wire.go @@ -1,9 +1,9 @@ package keys import ( + ccrypto "github.com/cosmos/cosmos-sdk/crypto" amino "github.com/tendermint/go-amino" tcrypto "github.com/tendermint/tendermint/crypto" - ccrypto "github.com/cosmos/cosmos-sdk/crypto" ) var cdc = amino.NewCodec() diff --git a/examples/basecoin/app/app_test.go b/examples/basecoin/app/app_test.go index b638e41e1023..539a52c731b2 100644 --- a/examples/basecoin/app/app_test.go +++ b/examples/basecoin/app/app_test.go @@ -16,7 +16,7 @@ import ( gen "github.com/cosmos/cosmos-sdk/x/stake/types" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" ) diff --git a/examples/democoin/app/app_test.go b/examples/democoin/app/app_test.go index e06e13b272a6..d67e4f706438 100644 --- a/examples/democoin/app/app_test.go +++ b/examples/democoin/app/app_test.go @@ -14,7 +14,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" ) diff --git a/examples/democoin/x/cool/app_test.go b/examples/democoin/x/cool/app_test.go index 73fd62177911..efcc6c1bf22f 100644 --- a/examples/democoin/x/cool/app_test.go +++ b/examples/democoin/x/cool/app_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" diff --git a/examples/democoin/x/pow/app_test.go b/examples/democoin/x/pow/app_test.go index 17aedf3401c1..6dab19388614 100644 --- a/examples/democoin/x/pow/app_test.go +++ b/examples/democoin/x/pow/app_test.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/bank" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) var ( diff --git a/examples/democoin/x/pow/mine.go b/examples/democoin/x/pow/mine.go index 24fed645e400..b4b536a52575 100644 --- a/examples/democoin/x/pow/mine.go +++ b/examples/democoin/x/pow/mine.go @@ -6,7 +6,7 @@ import ( "strconv" sdk "github.com/cosmos/cosmos-sdk/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) // generate the mine message diff --git a/examples/democoin/x/pow/types.go b/examples/democoin/x/pow/types.go index 724354314a17..cd77a68af5a3 100644 --- a/examples/democoin/x/pow/types.go +++ b/examples/democoin/x/pow/types.go @@ -8,7 +8,7 @@ import ( "math" "strconv" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/examples/democoin/x/simplestake/client/cli/commands.go b/examples/democoin/x/simplestake/client/cli/commands.go index dc1ddcb46a6b..fcd0c84b45a3 100644 --- a/examples/democoin/x/simplestake/client/cli/commands.go +++ b/examples/democoin/x/simplestake/client/cli/commands.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/viper" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" "github.com/cosmos/cosmos-sdk/client/context" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/examples/democoin/x/simplestake/keeper.go b/examples/democoin/x/simplestake/keeper.go index 1eaa56a0af72..122b44bfed31 100644 --- a/examples/democoin/x/simplestake/keeper.go +++ b/examples/democoin/x/simplestake/keeper.go @@ -1,7 +1,7 @@ package simplestake import ( - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/wire" diff --git a/examples/democoin/x/simplestake/keeper_test.go b/examples/democoin/x/simplestake/keeper_test.go index fa473a364b75..9cb02afd7d87 100644 --- a/examples/democoin/x/simplestake/keeper_test.go +++ b/examples/democoin/x/simplestake/keeper_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" diff --git a/examples/democoin/x/simplestake/msgs.go b/examples/democoin/x/simplestake/msgs.go index 16ea854dd73b..564e0d97960a 100644 --- a/examples/democoin/x/simplestake/msgs.go +++ b/examples/democoin/x/simplestake/msgs.go @@ -3,7 +3,7 @@ package simplestake import ( "encoding/json" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/examples/democoin/x/simplestake/msgs_test.go b/examples/democoin/x/simplestake/msgs_test.go index b22660f86a1f..188a4ec3a8e7 100644 --- a/examples/democoin/x/simplestake/msgs_test.go +++ b/examples/democoin/x/simplestake/msgs_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/examples/democoin/x/simplestake/types.go b/examples/democoin/x/simplestake/types.go index 2e0fdc424e3c..937d36d6506e 100644 --- a/examples/democoin/x/simplestake/types.go +++ b/examples/democoin/x/simplestake/types.go @@ -1,6 +1,6 @@ package simplestake -import crypto "github.com/tendermint/tendermint/crypto" +import "github.com/tendermint/tendermint/crypto" type bondInfo struct { PubKey crypto.PubKey diff --git a/server/init.go b/server/init.go index 0e1e5c9bafb9..8323f25eeaa2 100644 --- a/server/init.go +++ b/server/init.go @@ -14,7 +14,7 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" "github.com/cosmos/cosmos-sdk/crypto/keys" cfg "github.com/tendermint/tendermint/config" diff --git a/server/mock/app.go b/server/mock/app.go index 0b47fd74cc48..b2d19e2e9ee4 100644 --- a/server/mock/app.go +++ b/server/mock/app.go @@ -6,7 +6,7 @@ import ( "path/filepath" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" tmtypes "github.com/tendermint/tendermint/types" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" diff --git a/types/account.go b/types/account.go index 76444e24ddf7..bd7cbb29cd13 100644 --- a/types/account.go +++ b/types/account.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tmlibs/bech32" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/types/stake.go b/types/stake.go index 603c9686b03b..0f0855b37fd3 100644 --- a/types/stake.go +++ b/types/stake.go @@ -2,7 +2,7 @@ package types import ( abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" tmtypes "github.com/tendermint/tendermint/types" ) diff --git a/x/auth/account.go b/x/auth/account.go index 71f8af608a9e..2cee668688de 100644 --- a/x/auth/account.go +++ b/x/auth/account.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/wire" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) // Account is a standard account using a sequence number for replay protection diff --git a/x/auth/account_test.go b/x/auth/account_test.go index da666fa71ae9..55cef7cda5aa 100644 --- a/x/auth/account_test.go +++ b/x/auth/account_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" wire "github.com/cosmos/cosmos-sdk/wire" diff --git a/x/auth/ante_test.go b/x/auth/ante_test.go index 85c3d2754d33..2ddb96872eea 100644 --- a/x/auth/ante_test.go +++ b/x/auth/ante_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tmlibs/log" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/auth/mapper.go b/x/auth/mapper.go index 85c58ea7e310..ae6a19137b81 100644 --- a/x/auth/mapper.go +++ b/x/auth/mapper.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" wire "github.com/cosmos/cosmos-sdk/wire" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) var globalAccountNumberKey = []byte("globalAccountNumber") diff --git a/x/auth/mock/app.go b/x/auth/mock/app.go index 263863e5df90..9c672b5a78fd 100644 --- a/x/auth/mock/app.go +++ b/x/auth/mock/app.go @@ -4,7 +4,7 @@ import ( "os" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" diff --git a/x/auth/mock/auth_app_test.go b/x/auth/mock/auth_app_test.go index db91fc3e1c15..0a7a03534d87 100644 --- a/x/auth/mock/auth_app_test.go +++ b/x/auth/mock/auth_app_test.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) // A mock transaction that has a validation which can fail. diff --git a/x/auth/mock/simulate_block.go b/x/auth/mock/simulate_block.go index ab9285f391d9..00ffc30df112 100644 --- a/x/auth/mock/simulate_block.go +++ b/x/auth/mock/simulate_block.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/auth/stdtx.go b/x/auth/stdtx.go index e429548a811d..a8e704587e71 100644 --- a/x/auth/stdtx.go +++ b/x/auth/stdtx.go @@ -4,7 +4,7 @@ import ( "encoding/json" sdk "github.com/cosmos/cosmos-sdk/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) var _ sdk.Tx = (*StdTx)(nil) diff --git a/x/auth/stdtx_test.go b/x/auth/stdtx_test.go index 15f2744e982c..43712e5a5ea6 100644 --- a/x/auth/stdtx_test.go +++ b/x/auth/stdtx_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/bank/app_test.go b/x/bank/app_test.go index b9170f13b022..2d6efc3ca1f3 100644 --- a/x/bank/app_test.go +++ b/x/bank/app_test.go @@ -11,7 +11,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/mock" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) // test bank module in a mock application diff --git a/x/gov/tally_test.go b/x/gov/tally_test.go index 6c40076e81ae..171a2e2e9c47 100644 --- a/x/gov/tally_test.go +++ b/x/gov/tally_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" "github.com/cosmos/cosmos-sdk/x/stake" ) diff --git a/x/gov/test_common.go b/x/gov/test_common.go index cf72ea7ea50c..743c5b639295 100644 --- a/x/gov/test_common.go +++ b/x/gov/test_common.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/mock" diff --git a/x/ibc/app_test.go b/x/ibc/app_test.go index ff08ac5ce7a5..077bc87bb66e 100644 --- a/x/ibc/app_test.go +++ b/x/ibc/app_test.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/bank" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) // initialize the mock application for this module diff --git a/x/ibc/ibc_test.go b/x/ibc/ibc_test.go index 852cef62da58..f292fabfe80e 100644 --- a/x/ibc/ibc_test.go +++ b/x/ibc/ibc_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" diff --git a/x/slashing/app_test.go b/x/slashing/app_test.go index 0855d2b3701a..52dd94749366 100644 --- a/x/slashing/app_test.go +++ b/x/slashing/app_test.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/stake" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) var ( diff --git a/x/slashing/keeper.go b/x/slashing/keeper.go index c9b94e10d982..1d62e6dafffa 100644 --- a/x/slashing/keeper.go +++ b/x/slashing/keeper.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/wire" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) // Keeper of the slashing store diff --git a/x/slashing/test_common.go b/x/slashing/test_common.go index e62cb47d7ef2..2d192c54df45 100644 --- a/x/slashing/test_common.go +++ b/x/slashing/test_common.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" diff --git a/x/stake/app_test.go b/x/stake/app_test.go index ef9dfe4ace71..2b0253309254 100644 --- a/x/stake/app_test.go +++ b/x/stake/app_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) var ( diff --git a/x/stake/handler_test.go b/x/stake/handler_test.go index 9f3c86618d49..61acc94d7f0b 100644 --- a/x/stake/handler_test.go +++ b/x/stake/handler_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" keep "github.com/cosmos/cosmos-sdk/x/stake/keeper" diff --git a/x/stake/keeper/key.go b/x/stake/keeper/key.go index c021f1a00a92..667f5f681ec0 100644 --- a/x/stake/keeper/key.go +++ b/x/stake/keeper/key.go @@ -3,7 +3,7 @@ package keeper import ( "encoding/binary" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/wire" diff --git a/x/stake/keeper/slash.go b/x/stake/keeper/slash.go index 27d9771b10c7..3abfe455cd03 100644 --- a/x/stake/keeper/slash.go +++ b/x/stake/keeper/slash.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) // NOTE the current slash functionality doesn't take into consideration unbonding/rebonding records diff --git a/x/stake/keeper/test_common.go b/x/stake/keeper/test_common.go index 97416fb5e99b..5a51a0e29f72 100644 --- a/x/stake/keeper/test_common.go +++ b/x/stake/keeper/test_common.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" diff --git a/x/stake/keeper/validator.go b/x/stake/keeper/validator.go index 4056182bca6c..75797c868c5f 100644 --- a/x/stake/keeper/validator.go +++ b/x/stake/keeper/validator.go @@ -5,7 +5,7 @@ import ( "fmt" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/stake/types" diff --git a/x/stake/types/msg.go b/x/stake/types/msg.go index 45353903c131..f8b8e671705d 100644 --- a/x/stake/types/msg.go +++ b/x/stake/types/msg.go @@ -2,7 +2,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) // name to idetify transaction types diff --git a/x/stake/types/msg_test.go b/x/stake/types/msg_test.go index 17d551c2e37f..343ceb79f37c 100644 --- a/x/stake/types/msg_test.go +++ b/x/stake/types/msg_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" sdk "github.com/cosmos/cosmos-sdk/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) var ( diff --git a/x/stake/types/test_common.go b/x/stake/types/test_common.go index 928cc81860bc..1ecb10d6b920 100644 --- a/x/stake/types/test_common.go +++ b/x/stake/types/test_common.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" ) var ( diff --git a/x/stake/types/validator.go b/x/stake/types/validator.go index c5a00aad2b8b..fcc7bf3925bd 100644 --- a/x/stake/types/validator.go +++ b/x/stake/types/validator.go @@ -5,7 +5,7 @@ import ( "fmt" abci "github.com/tendermint/tendermint/abci/types" - crypto "github.com/tendermint/tendermint/crypto" + "github.com/tendermint/tendermint/crypto" tmtypes "github.com/tendermint/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types"