From a605b66c5a381e3c44f2e0fdfc1e8f3b2851a89d Mon Sep 17 00:00:00 2001 From: Alexander Simmerl Date: Fri, 22 Jun 2018 06:59:02 +0200 Subject: [PATCH] Move abci imports --- Gopkg.toml | 4 ---- abci/client/client.go | 2 +- abci/client/grpc_client.go | 2 +- abci/client/local_client.go | 2 +- abci/client/socket_client.go | 2 +- abci/client/socket_client_test.go | 2 +- abci/cmd/abci-cli/abci-cli.go | 16 ++++++++-------- abci/example/counter/counter.go | 4 ++-- abci/example/example_test.go | 10 +++++----- abci/example/kvstore/helpers.go | 2 +- abci/example/kvstore/kvstore.go | 4 ++-- abci/example/kvstore/kvstore_test.go | 8 ++++---- abci/example/kvstore/persistent_kvstore.go | 4 ++-- abci/server/grpc_server.go | 2 +- abci/server/server.go | 2 +- abci/server/socket_server.go | 2 +- abci/tests/benchmarks/parallel/parallel.go | 2 +- abci/tests/benchmarks/simple/simple.go | 2 +- abci/tests/client_server_test.go | 6 +++--- abci/tests/server/client.go | 4 ++-- abci/tests/test_app/app.go | 4 ++-- abci/tests/test_app/main.go | 4 ++-- consensus/common_test.go | 8 ++++---- consensus/mempool_test.go | 4 ++-- consensus/reactor_test.go | 2 +- consensus/replay.go | 2 +- consensus/replay_test.go | 4 ++-- consensus/wal_generator.go | 2 +- lite/client/main_test.go | 2 +- lite/proxy/query_test.go | 2 +- mempool/mempool.go | 2 +- mempool/mempool_test.go | 6 +++--- mempool/reactor.go | 2 +- mempool/reactor_test.go | 2 +- node/node.go | 2 +- proxy/app_conn.go | 4 ++-- proxy/app_conn_test.go | 8 ++++---- proxy/client.go | 6 +++--- rpc/client/event_test.go | 2 +- rpc/client/main_test.go | 2 +- rpc/client/mock/abci.go | 2 +- rpc/client/mock/abci_test.go | 4 ++-- rpc/client/rpc_test.go | 2 +- rpc/core/abci.go | 2 +- rpc/core/mempool.go | 2 +- rpc/core/types/responses.go | 2 +- rpc/grpc/api.go | 2 +- rpc/grpc/grpc_test.go | 2 +- rpc/grpc/types.pb.go | 2 +- rpc/grpc/types.proto | 2 +- rpc/test/helpers.go | 2 +- state/execution.go | 2 +- state/execution_test.go | 4 ++-- state/services.go | 2 +- state/state_test.go | 2 +- state/store.go | 2 +- state/txindex/kv/kv_test.go | 2 +- types/event_bus_test.go | 2 +- types/params.go | 2 +- types/protobuf.go | 2 +- types/protobuf_test.go | 2 +- types/results.go | 2 +- types/tx.go | 2 +- 63 files changed, 99 insertions(+), 103 deletions(-) diff --git a/Gopkg.toml b/Gopkg.toml index d9b38133..bf143341 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -69,10 +69,6 @@ name = "github.com/stretchr/testify" version = "~1.2.1" -[[constraint]] - name = "github.com/tendermint/abci" - version = "~0.12.0" - [[constraint]] name = "github.com/tendermint/go-amino" version = "~0.10.1" diff --git a/abci/client/client.go b/abci/client/client.go index ad0e5a7a..cdf2c60e 100644 --- a/abci/client/client.go +++ b/abci/client/client.go @@ -4,7 +4,7 @@ import ( "fmt" "sync" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/client/grpc_client.go b/abci/client/grpc_client.go index 0f405a9c..e64fcb4d 100644 --- a/abci/client/grpc_client.go +++ b/abci/client/grpc_client.go @@ -9,7 +9,7 @@ import ( context "golang.org/x/net/context" grpc "google.golang.org/grpc" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/client/local_client.go b/abci/client/local_client.go index 64bf5fe0..225273a9 100644 --- a/abci/client/local_client.go +++ b/abci/client/local_client.go @@ -3,7 +3,7 @@ package abcicli import ( "sync" - types "github.com/tendermint/abci/types" + types "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/client/socket_client.go b/abci/client/socket_client.go index 5c010168..77c3d966 100644 --- a/abci/client/socket_client.go +++ b/abci/client/socket_client.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/client/socket_client_test.go b/abci/client/socket_client_test.go index 814d5a68..5a9187fb 100644 --- a/abci/client/socket_client_test.go +++ b/abci/client/socket_client_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/client" ) func TestSocketClientStopForErrorDeadlock(t *testing.T) { diff --git a/abci/cmd/abci-cli/abci-cli.go b/abci/cmd/abci-cli/abci-cli.go index b773c990..0e7b908e 100644 --- a/abci/cmd/abci-cli/abci-cli.go +++ b/abci/cmd/abci-cli/abci-cli.go @@ -14,14 +14,14 @@ import ( cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/log" - abcicli "github.com/tendermint/abci/client" - "github.com/tendermint/abci/example/code" - "github.com/tendermint/abci/example/counter" - "github.com/tendermint/abci/example/kvstore" - "github.com/tendermint/abci/server" - servertest "github.com/tendermint/abci/tests/server" - "github.com/tendermint/abci/types" - "github.com/tendermint/abci/version" + abcicli "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/example/code" + "github.com/tendermint/tendermint/abci/example/counter" + "github.com/tendermint/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/server" + servertest "github.com/tendermint/tendermint/abci/tests/server" + "github.com/tendermint/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/version" ) // client is a global variable so it can be reused by the console diff --git a/abci/example/counter/counter.go b/abci/example/counter/counter.go index a6d5df6a..87fc7b18 100644 --- a/abci/example/counter/counter.go +++ b/abci/example/counter/counter.go @@ -4,8 +4,8 @@ import ( "encoding/binary" "fmt" - "github.com/tendermint/abci/example/code" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/code" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/example/example_test.go b/abci/example/example_test.go index 3fc38f49..a3d161a2 100644 --- a/abci/example/example_test.go +++ b/abci/example/example_test.go @@ -14,11 +14,11 @@ import ( cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/log" - abcicli "github.com/tendermint/abci/client" - "github.com/tendermint/abci/example/code" - "github.com/tendermint/abci/example/kvstore" - abciserver "github.com/tendermint/abci/server" - "github.com/tendermint/abci/types" + abcicli "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/example/code" + "github.com/tendermint/tendermint/abci/example/kvstore" + abciserver "github.com/tendermint/tendermint/abci/server" + "github.com/tendermint/tendermint/abci/types" ) func TestKVStore(t *testing.T) { diff --git a/abci/example/kvstore/helpers.go b/abci/example/kvstore/helpers.go index 63bc31a6..7ddacb5b 100644 --- a/abci/example/kvstore/helpers.go +++ b/abci/example/kvstore/helpers.go @@ -1,7 +1,7 @@ package kvstore import ( - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/example/kvstore/kvstore.go b/abci/example/kvstore/kvstore.go index 4ccbc56b..e078d87d 100644 --- a/abci/example/kvstore/kvstore.go +++ b/abci/example/kvstore/kvstore.go @@ -6,8 +6,8 @@ import ( "encoding/json" "fmt" - "github.com/tendermint/abci/example/code" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/code" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" dbm "github.com/tendermint/tmlibs/db" ) diff --git a/abci/example/kvstore/kvstore_test.go b/abci/example/kvstore/kvstore_test.go index ff3e4920..46c28c99 100644 --- a/abci/example/kvstore/kvstore_test.go +++ b/abci/example/kvstore/kvstore_test.go @@ -11,10 +11,10 @@ import ( cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/log" - abcicli "github.com/tendermint/abci/client" - "github.com/tendermint/abci/example/code" - abciserver "github.com/tendermint/abci/server" - "github.com/tendermint/abci/types" + abcicli "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/example/code" + abciserver "github.com/tendermint/tendermint/abci/server" + "github.com/tendermint/tendermint/abci/types" ) func testKVStore(t *testing.T, app types.Application, tx []byte, key, value string) { diff --git a/abci/example/kvstore/persistent_kvstore.go b/abci/example/kvstore/persistent_kvstore.go index 02f7ce74..a9067ac1 100644 --- a/abci/example/kvstore/persistent_kvstore.go +++ b/abci/example/kvstore/persistent_kvstore.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/tendermint/abci/example/code" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/code" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" diff --git a/abci/server/grpc_server.go b/abci/server/grpc_server.go index e7dad15c..3f8b599e 100644 --- a/abci/server/grpc_server.go +++ b/abci/server/grpc_server.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/server/server.go b/abci/server/server.go index 0bbd65e3..49dde428 100644 --- a/abci/server/server.go +++ b/abci/server/server.go @@ -12,7 +12,7 @@ package server import ( "fmt" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/server/socket_server.go b/abci/server/socket_server.go index eb26dc35..e7293ffd 100644 --- a/abci/server/socket_server.go +++ b/abci/server/socket_server.go @@ -7,7 +7,7 @@ import ( "net" "sync" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/tests/benchmarks/parallel/parallel.go b/abci/tests/benchmarks/parallel/parallel.go index cc68cead..0b463449 100644 --- a/abci/tests/benchmarks/parallel/parallel.go +++ b/abci/tests/benchmarks/parallel/parallel.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/tests/benchmarks/simple/simple.go b/abci/tests/benchmarks/simple/simple.go index ef5bab86..77b98d57 100644 --- a/abci/tests/benchmarks/simple/simple.go +++ b/abci/tests/benchmarks/simple/simple.go @@ -7,7 +7,7 @@ import ( "net" "reflect" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/tests/client_server_test.go b/abci/tests/client_server_test.go index 1f05c9a7..f76c9baf 100644 --- a/abci/tests/client_server_test.go +++ b/abci/tests/client_server_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/assert" - abciclient "github.com/tendermint/abci/client" - "github.com/tendermint/abci/example/kvstore" - abciserver "github.com/tendermint/abci/server" + abciclient "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/example/kvstore" + abciserver "github.com/tendermint/tendermint/abci/server" ) func TestClientServerNoAddrPrefix(t *testing.T) { diff --git a/abci/tests/server/client.go b/abci/tests/server/client.go index 5ef978c7..06db13d9 100644 --- a/abci/tests/server/client.go +++ b/abci/tests/server/client.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - abcicli "github.com/tendermint/abci/client" - "github.com/tendermint/abci/types" + abcicli "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" ) diff --git a/abci/tests/test_app/app.go b/abci/tests/test_app/app.go index 1c308ec0..42092345 100644 --- a/abci/tests/test_app/app.go +++ b/abci/tests/test_app/app.go @@ -5,8 +5,8 @@ import ( "fmt" "os" - abcicli "github.com/tendermint/abci/client" - "github.com/tendermint/abci/types" + abcicli "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tmlibs/log" ) diff --git a/abci/tests/test_app/main.go b/abci/tests/test_app/main.go index 95a7515d..8f45cec3 100644 --- a/abci/tests/test_app/main.go +++ b/abci/tests/test_app/main.go @@ -7,8 +7,8 @@ import ( "os/exec" "time" - "github.com/tendermint/abci/example/code" - "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/code" + "github.com/tendermint/tendermint/abci/types" ) var abciType string diff --git a/consensus/common_test.go b/consensus/common_test.go index f50e5769..b990f525 100644 --- a/consensus/common_test.go +++ b/consensus/common_test.go @@ -12,8 +12,8 @@ import ( "testing" "time" - abcicli "github.com/tendermint/abci/client" - abci "github.com/tendermint/abci/types" + abcicli "github.com/tendermint/tendermint/abci/client" + abci "github.com/tendermint/tendermint/abci/types" bc "github.com/tendermint/tendermint/blockchain" cfg "github.com/tendermint/tendermint/config" cstypes "github.com/tendermint/tendermint/consensus/types" @@ -26,8 +26,8 @@ import ( dbm "github.com/tendermint/tmlibs/db" "github.com/tendermint/tmlibs/log" - "github.com/tendermint/abci/example/counter" - "github.com/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/example/counter" + "github.com/tendermint/tendermint/abci/example/kvstore" "github.com/go-kit/kit/log/term" ) diff --git a/consensus/mempool_test.go b/consensus/mempool_test.go index 3c818006..032cf2f3 100644 --- a/consensus/mempool_test.go +++ b/consensus/mempool_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/tendermint/abci/example/code" - abci "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/code" + abci "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tendermint/types" diff --git a/consensus/reactor_test.go b/consensus/reactor_test.go index 0d997119..498a857b 100644 --- a/consensus/reactor_test.go +++ b/consensus/reactor_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/example/kvstore" cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/log" diff --git a/consensus/replay.go b/consensus/replay.go index 13ec9e40..f681828c 100644 --- a/consensus/replay.go +++ b/consensus/replay.go @@ -10,7 +10,7 @@ import ( //"strings" "time" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" //auto "github.com/tendermint/tmlibs/autofile" cmn "github.com/tendermint/tmlibs/common" dbm "github.com/tendermint/tmlibs/db" diff --git a/consensus/replay_test.go b/consensus/replay_test.go index 927dfadc..f76651d7 100644 --- a/consensus/replay_test.go +++ b/consensus/replay_test.go @@ -16,8 +16,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/tendermint/abci/example/kvstore" - abci "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/kvstore" + abci "github.com/tendermint/tendermint/abci/types" crypto "github.com/tendermint/tendermint/crypto" auto "github.com/tendermint/tmlibs/autofile" cmn "github.com/tendermint/tmlibs/common" diff --git a/consensus/wal_generator.go b/consensus/wal_generator.go index 9a4b7059..1a61c340 100644 --- a/consensus/wal_generator.go +++ b/consensus/wal_generator.go @@ -10,7 +10,7 @@ import ( "time" "github.com/pkg/errors" - "github.com/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/example/kvstore" bc "github.com/tendermint/tendermint/blockchain" cfg "github.com/tendermint/tendermint/config" "github.com/tendermint/tendermint/privval" diff --git a/lite/client/main_test.go b/lite/client/main_test.go index 972d3731..49b19436 100644 --- a/lite/client/main_test.go +++ b/lite/client/main_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/example/kvstore" nm "github.com/tendermint/tendermint/node" rpctest "github.com/tendermint/tendermint/rpc/test" diff --git a/lite/proxy/query_test.go b/lite/proxy/query_test.go index d6dcccc9..38a43af2 100644 --- a/lite/proxy/query_test.go +++ b/lite/proxy/query_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/example/kvstore" "github.com/tendermint/tendermint/lite" certclient "github.com/tendermint/tendermint/lite/client" diff --git a/mempool/mempool.go b/mempool/mempool.go index 2921b518..8c9e41d5 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -10,7 +10,7 @@ import ( "github.com/pkg/errors" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" auto "github.com/tendermint/tmlibs/autofile" "github.com/tendermint/tmlibs/clist" cmn "github.com/tendermint/tmlibs/common" diff --git a/mempool/mempool_test.go b/mempool/mempool_test.go index a67adf6d..fb664dde 100644 --- a/mempool/mempool_test.go +++ b/mempool/mempool_test.go @@ -11,9 +11,9 @@ import ( "testing" "time" - "github.com/tendermint/abci/example/counter" - "github.com/tendermint/abci/example/kvstore" - abci "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/counter" + "github.com/tendermint/tendermint/abci/example/kvstore" + abci "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/log" diff --git a/mempool/reactor.go b/mempool/reactor.go index 5d1f4e79..d6cebfbf 100644 --- a/mempool/reactor.go +++ b/mempool/reactor.go @@ -5,7 +5,7 @@ import ( "reflect" "time" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" amino "github.com/tendermint/go-amino" "github.com/tendermint/tmlibs/clist" "github.com/tendermint/tmlibs/log" diff --git a/mempool/reactor_test.go b/mempool/reactor_test.go index 0a6d0915..c6844dbb 100644 --- a/mempool/reactor_test.go +++ b/mempool/reactor_test.go @@ -12,7 +12,7 @@ import ( "github.com/go-kit/kit/log/term" - "github.com/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/example/kvstore" "github.com/tendermint/tmlibs/log" cfg "github.com/tendermint/tendermint/config" diff --git a/node/node.go b/node/node.go index 89684048..3e1ca023 100644 --- a/node/node.go +++ b/node/node.go @@ -10,7 +10,7 @@ import ( "github.com/prometheus/client_golang/prometheus/promhttp" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" amino "github.com/tendermint/go-amino" cmn "github.com/tendermint/tmlibs/common" dbm "github.com/tendermint/tmlibs/db" diff --git a/proxy/app_conn.go b/proxy/app_conn.go index 2319fed8..2f792671 100644 --- a/proxy/app_conn.go +++ b/proxy/app_conn.go @@ -1,8 +1,8 @@ package proxy import ( - abcicli "github.com/tendermint/abci/client" - "github.com/tendermint/abci/types" + abcicli "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/types" ) //---------------------------------------------------------------------------------------- diff --git a/proxy/app_conn_test.go b/proxy/app_conn_test.go index 7eb3831c..a50071fe 100644 --- a/proxy/app_conn_test.go +++ b/proxy/app_conn_test.go @@ -4,10 +4,10 @@ import ( "strings" "testing" - abcicli "github.com/tendermint/abci/client" - "github.com/tendermint/abci/example/kvstore" - "github.com/tendermint/abci/server" - "github.com/tendermint/abci/types" + abcicli "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/server" + "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/log" ) diff --git a/proxy/client.go b/proxy/client.go index 6c987368..87f4e716 100644 --- a/proxy/client.go +++ b/proxy/client.go @@ -5,9 +5,9 @@ import ( "github.com/pkg/errors" - abcicli "github.com/tendermint/abci/client" - "github.com/tendermint/abci/example/kvstore" - "github.com/tendermint/abci/types" + abcicli "github.com/tendermint/tendermint/abci/client" + "github.com/tendermint/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/types" ) // NewABCIClient returns newly connected client diff --git a/rpc/client/event_test.go b/rpc/client/event_test.go index 2254c1d1..844d2b88 100644 --- a/rpc/client/event_test.go +++ b/rpc/client/event_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/rpc/client" "github.com/tendermint/tendermint/types" cmn "github.com/tendermint/tmlibs/common" diff --git a/rpc/client/main_test.go b/rpc/client/main_test.go index 82b5a019..1e911bbe 100644 --- a/rpc/client/main_test.go +++ b/rpc/client/main_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/example/kvstore" nm "github.com/tendermint/tendermint/node" rpctest "github.com/tendermint/tendermint/rpc/test" ) diff --git a/rpc/client/mock/abci.go b/rpc/client/mock/abci.go index 7f4c45df..244855c6 100644 --- a/rpc/client/mock/abci.go +++ b/rpc/client/mock/abci.go @@ -1,7 +1,7 @@ package mock import ( - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/rpc/client" ctypes "github.com/tendermint/tendermint/rpc/core/types" "github.com/tendermint/tendermint/types" diff --git a/rpc/client/mock/abci_test.go b/rpc/client/mock/abci_test.go index 564f0129..323a42a4 100644 --- a/rpc/client/mock/abci_test.go +++ b/rpc/client/mock/abci_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/tendermint/abci/example/kvstore" - abci "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/kvstore" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/rpc/client" "github.com/tendermint/tendermint/rpc/client/mock" ctypes "github.com/tendermint/tendermint/rpc/core/types" diff --git a/rpc/client/rpc_test.go b/rpc/client/rpc_test.go index 13109f78..e7e9042a 100644 --- a/rpc/client/rpc_test.go +++ b/rpc/client/rpc_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/rpc/client" rpctest "github.com/tendermint/tendermint/rpc/test" diff --git a/rpc/core/abci.go b/rpc/core/abci.go index 067108c4..c07724d5 100644 --- a/rpc/core/abci.go +++ b/rpc/core/abci.go @@ -1,7 +1,7 @@ package core import ( - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" ctypes "github.com/tendermint/tendermint/rpc/core/types" "github.com/tendermint/tendermint/version" cmn "github.com/tendermint/tmlibs/common" diff --git a/rpc/core/mempool.go b/rpc/core/mempool.go index 515ada87..437f5965 100644 --- a/rpc/core/mempool.go +++ b/rpc/core/mempool.go @@ -7,7 +7,7 @@ import ( "github.com/pkg/errors" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" ctypes "github.com/tendermint/tendermint/rpc/core/types" "github.com/tendermint/tendermint/types" cmn "github.com/tendermint/tmlibs/common" diff --git a/rpc/core/types/responses.go b/rpc/core/types/responses.go index 8c0053b7..a6fedd28 100644 --- a/rpc/core/types/responses.go +++ b/rpc/core/types/responses.go @@ -5,7 +5,7 @@ import ( "strings" "time" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" crypto "github.com/tendermint/tendermint/crypto" cmn "github.com/tendermint/tmlibs/common" diff --git a/rpc/grpc/api.go b/rpc/grpc/api.go index c0a92004..0b840e3e 100644 --- a/rpc/grpc/api.go +++ b/rpc/grpc/api.go @@ -3,7 +3,7 @@ package core_grpc import ( "context" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" core "github.com/tendermint/tendermint/rpc/core" ) diff --git a/rpc/grpc/grpc_test.go b/rpc/grpc/grpc_test.go index 20b3ab7b..fe979c54 100644 --- a/rpc/grpc/grpc_test.go +++ b/rpc/grpc/grpc_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/tendermint/abci/example/kvstore" + "github.com/tendermint/tendermint/abci/example/kvstore" "github.com/tendermint/tendermint/rpc/grpc" "github.com/tendermint/tendermint/rpc/test" ) diff --git a/rpc/grpc/types.pb.go b/rpc/grpc/types.pb.go index cf7a5ec7..be16b711 100644 --- a/rpc/grpc/types.pb.go +++ b/rpc/grpc/types.pb.go @@ -19,7 +19,7 @@ package core_grpc import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" -import types "github.com/tendermint/abci/types" +import types "github.com/tendermint/tendermint/abci/types" import ( "context" diff --git a/rpc/grpc/types.proto b/rpc/grpc/types.proto index 35462594..d7980d5e 100644 --- a/rpc/grpc/types.proto +++ b/rpc/grpc/types.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package core_grpc; -import "github.com/tendermint/abci/types/types.proto"; +import "github.com/tendermint/tendermint/abci/types/types.proto"; //---------------------------------------- // Message types diff --git a/rpc/test/helpers.go b/rpc/test/helpers.go index b434c7d9..1d6f865c 100644 --- a/rpc/test/helpers.go +++ b/rpc/test/helpers.go @@ -10,7 +10,7 @@ import ( "github.com/tendermint/tmlibs/log" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" cfg "github.com/tendermint/tendermint/config" diff --git a/state/execution.go b/state/execution.go index e6b94429..0d6ee81b 100644 --- a/state/execution.go +++ b/state/execution.go @@ -4,7 +4,7 @@ import ( "fmt" fail "github.com/ebuchman/fail-test" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/proxy" "github.com/tendermint/tendermint/types" dbm "github.com/tendermint/tmlibs/db" diff --git a/state/execution_test.go b/state/execution_test.go index 921bda59..71fbe3a4 100644 --- a/state/execution_test.go +++ b/state/execution_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/tendermint/abci/example/kvstore" - abci "github.com/tendermint/abci/types" + "github.com/tendermint/tendermint/abci/example/kvstore" + abci "github.com/tendermint/tendermint/abci/types" crypto "github.com/tendermint/tendermint/crypto" cmn "github.com/tendermint/tmlibs/common" dbm "github.com/tendermint/tmlibs/db" diff --git a/state/services.go b/state/services.go index bef286b2..bf0b1a6f 100644 --- a/state/services.go +++ b/state/services.go @@ -1,7 +1,7 @@ package state import ( - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/types" ) diff --git a/state/state_test.go b/state/state_test.go index 67de6848..30a87fb0 100644 --- a/state/state_test.go +++ b/state/state_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" crypto "github.com/tendermint/tendermint/crypto" cmn "github.com/tendermint/tmlibs/common" dbm "github.com/tendermint/tmlibs/db" diff --git a/state/store.go b/state/store.go index 2164d699..79893254 100644 --- a/state/store.go +++ b/state/store.go @@ -3,7 +3,7 @@ package state import ( "fmt" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/types" cmn "github.com/tendermint/tmlibs/common" dbm "github.com/tendermint/tmlibs/db" diff --git a/state/txindex/kv/kv_test.go b/state/txindex/kv/kv_test.go index af35ec41..cb718a5f 100644 --- a/state/txindex/kv/kv_test.go +++ b/state/txindex/kv/kv_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" db "github.com/tendermint/tmlibs/db" diff --git a/types/event_bus_test.go b/types/event_bus_test.go index d9b0995b..a5de2e84 100644 --- a/types/event_bus_test.go +++ b/types/event_bus_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" tmpubsub "github.com/tendermint/tendermint/libs/pubsub" tmquery "github.com/tendermint/tendermint/libs/pubsub/query" cmn "github.com/tendermint/tmlibs/common" diff --git a/types/params.go b/types/params.go index 2df092d6..d068342c 100644 --- a/types/params.go +++ b/types/params.go @@ -1,7 +1,7 @@ package types import ( - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/merkle" ) diff --git a/types/protobuf.go b/types/protobuf.go index 5155b4b8..6a607779 100644 --- a/types/protobuf.go +++ b/types/protobuf.go @@ -6,7 +6,7 @@ import ( "reflect" "time" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" crypto "github.com/tendermint/tendermint/crypto" ) diff --git a/types/protobuf_test.go b/types/protobuf_test.go index da67e1c3..cd986fd8 100644 --- a/types/protobuf_test.go +++ b/types/protobuf_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" crypto "github.com/tendermint/tendermint/crypto" ) diff --git a/types/results.go b/types/results.go index 326cee48..9f4f33c3 100644 --- a/types/results.go +++ b/types/results.go @@ -1,7 +1,7 @@ package types import ( - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/merkle" ) diff --git a/types/tx.go b/types/tx.go index e7247693..cad7dda3 100644 --- a/types/tx.go +++ b/types/tx.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - abci "github.com/tendermint/abci/types" + abci "github.com/tendermint/tendermint/abci/types" cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/merkle" )