From 17911d89f39d222403aeb0c1049bea8b6f337759 Mon Sep 17 00:00:00 2001 From: rhuairahrighairigh Date: Thu, 20 Jun 2019 17:29:13 +0100 Subject: [PATCH] update import paths to local packages --- app/benchmarks/txsize_test.go | 2 +- cmd/gaiacli/main.go | 2 +- cmd/gaiad/main.go | 4 ++-- go.mod | 2 +- go.sum | 1 + init/collect.go | 2 +- init/genesis_accts.go | 2 +- init/genesis_accts_test.go | 2 +- init/gentx.go | 2 +- init/init.go | 2 +- init/init_test.go | 2 +- init/testnet.go | 2 +- init/utils.go | 2 +- init/validate_genesis.go | 2 +- 14 files changed, 15 insertions(+), 14 deletions(-) diff --git a/app/benchmarks/txsize_test.go b/app/benchmarks/txsize_test.go index af381a3f..0d4e4f13 100644 --- a/app/benchmarks/txsize_test.go +++ b/app/benchmarks/txsize_test.go @@ -5,10 +5,10 @@ import ( "github.com/tendermint/tendermint/crypto/secp256k1" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth" "github.com/cosmos/cosmos-sdk/x/bank" + "github.com/kava-labs/kava/app" ) // This will fail half the time with the second output being 173 diff --git a/cmd/gaiacli/main.go b/cmd/gaiacli/main.go index 4fd6d1c3..e0e9de2e 100644 --- a/cmd/gaiacli/main.go +++ b/cmd/gaiacli/main.go @@ -20,9 +20,9 @@ import ( "github.com/cosmos/cosmos-sdk/client/lcd" "github.com/cosmos/cosmos-sdk/client/rpc" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/version" + "github.com/kava-labs/kava/app" at "github.com/cosmos/cosmos-sdk/x/auth" auth "github.com/cosmos/cosmos-sdk/x/auth/client/rest" diff --git a/cmd/gaiad/main.go b/cmd/gaiad/main.go index 216b8df6..228d6595 100644 --- a/cmd/gaiad/main.go +++ b/cmd/gaiad/main.go @@ -15,8 +15,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" - gaiaInit "github.com/cosmos/cosmos-sdk/cmd/gaia/init" + "github.com/kava-labs/kava/app" + gaiaInit "github.com/kava-labs/kava/init" "github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/store" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/go.mod b/go.mod index ef57b493..9ee7c520 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Kava-Labs/kava +module github.com/kava-labs/kava go 1.12 diff --git a/go.sum b/go.sum index 11c135e5..74793e86 100644 --- a/go.sum +++ b/go.sum @@ -75,6 +75,7 @@ github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf h1:+RRA9JqSOZFfKrOeqr2z77+8R2RKyh8PG66dcu1V0ck= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/gorilla/mux v1.7.0 h1:tOSd0UKHQd6urX6ApfOn4XdBMY6Sh1MfxV3kmaazO+U= diff --git a/init/collect.go b/init/collect.go index 85863948..7fadff8e 100644 --- a/init/collect.go +++ b/init/collect.go @@ -14,7 +14,7 @@ import ( "github.com/tendermint/tendermint/types" "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/x/auth" diff --git a/init/genesis_accts.go b/init/genesis_accts.go index 5aa73dae..ef408dc8 100644 --- a/init/genesis_accts.go +++ b/init/genesis_accts.go @@ -9,7 +9,7 @@ import ( "github.com/tendermint/tendermint/libs/common" "github.com/cosmos/cosmos-sdk/client/keys" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/server" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/init/genesis_accts_test.go b/init/genesis_accts_test.go index 74af5a42..0e55bab6 100644 --- a/init/genesis_accts_test.go +++ b/init/genesis_accts_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/crypto/secp256k1" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/init/gentx.go b/init/gentx.go index 970c77e0..39b50722 100644 --- a/init/gentx.go +++ b/init/gentx.go @@ -22,7 +22,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/context" "github.com/cosmos/cosmos-sdk/client/keys" "github.com/cosmos/cosmos-sdk/client/utils" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/codec" kbkeys "github.com/cosmos/cosmos-sdk/crypto/keys" "github.com/cosmos/cosmos-sdk/server" diff --git a/init/init.go b/init/init.go index 506557d3..e6076400 100644 --- a/init/init.go +++ b/init/init.go @@ -13,7 +13,7 @@ import ( "github.com/tendermint/tendermint/libs/common" "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/server" ) diff --git a/init/init_test.go b/init/init_test.go index 39975bb2..48f91339 100644 --- a/init/init_test.go +++ b/init/init_test.go @@ -9,7 +9,7 @@ import ( "time" "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/server/mock" "github.com/spf13/viper" diff --git a/init/testnet.go b/init/testnet.go index fc59827a..143dc43a 100644 --- a/init/testnet.go +++ b/init/testnet.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/keys" "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/codec" srvconfig "github.com/cosmos/cosmos-sdk/server/config" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/init/utils.go b/init/utils.go index 4e2f2f26..ec8bcab2 100644 --- a/init/utils.go +++ b/init/utils.go @@ -15,7 +15,7 @@ import ( "github.com/tendermint/tendermint/privval" "github.com/tendermint/tendermint/types" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/server" ) diff --git a/init/validate_genesis.go b/init/validate_genesis.go index eb0eaa3a..537a883e 100644 --- a/init/validate_genesis.go +++ b/init/validate_genesis.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/cosmos/cosmos-sdk/cmd/gaia/app" + "github.com/kava-labs/kava/app" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/server" "github.com/spf13/cobra"