From e6fe6b5b76c730a9694b649b1d899651141cb39c Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Fri, 21 Apr 2017 18:13:25 -0400 Subject: [PATCH] go-data -> go-wire/data --- cmd/tendermint/commands/show_validator.go | 2 +- glide.lock | 2 +- glide.yaml | 2 +- rpc/tendermint/client/httpclient.go | 2 +- rpc/tendermint/client/interface.go | 2 +- rpc/tendermint/client/localclient.go | 2 +- rpc/tendermint/client/mock/abci.go | 2 +- rpc/tendermint/client/mock/abci_test.go | 2 +- rpc/tendermint/client/mock/client.go | 2 +- rpc/tendermint/client/mock/status_test.go | 2 +- rpc/tendermint/core/abci.go | 2 +- rpc/tendermint/core/mempool.go | 2 +- rpc/tendermint/core/routes.go | 2 +- rpc/tendermint/core/status.go | 2 +- rpc/tendermint/core/types/responses.go | 2 +- types/priv_validator.go | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/cmd/tendermint/commands/show_validator.go b/cmd/tendermint/commands/show_validator.go index 0b349f98c..951fd5a8c 100644 --- a/cmd/tendermint/commands/show_validator.go +++ b/cmd/tendermint/commands/show_validator.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" "github.com/tendermint/tendermint/types" ) diff --git a/glide.lock b/glide.lock index de6470210..42a261c10 100644 --- a/glide.lock +++ b/glide.lock @@ -90,7 +90,7 @@ imports: version: 620dcbbd7d587cf3599dedbf329b64311b0c307a - name: github.com/tendermint/go-crypto version: 9b95da8fa4187f6799558d89b271dc8ab6485615 -- name: github.com/tendermint/go-data +- name: github.com/tendermint/go-wire/data version: e7fcc6d081ec8518912fcdc103188275f83a3ee5 - name: github.com/tendermint/tmlibs/db version: 9643f60bc2578693844aacf380a7c32e4c029fee diff --git a/glide.yaml b/glide.yaml index 6225dff21..b7d8de242 100644 --- a/glide.yaml +++ b/glide.yaml @@ -10,7 +10,7 @@ import: version: develop - package: github.com/tendermint/go-crypto version: develop -- package: github.com/tendermint/go-data +- package: github.com/tendermint/go-wire/data version: develop - package: github.com/tendermint/tmlibs/db version: develop diff --git a/rpc/tendermint/client/httpclient.go b/rpc/tendermint/client/httpclient.go index 494f4413c..8e661443f 100644 --- a/rpc/tendermint/client/httpclient.go +++ b/rpc/tendermint/client/httpclient.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/pkg/errors" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" events "github.com/tendermint/tmlibs/events" "github.com/tendermint/go-rpc/client" wire "github.com/tendermint/go-wire" diff --git a/rpc/tendermint/client/interface.go b/rpc/tendermint/client/interface.go index 8040d5d99..4726e00d9 100644 --- a/rpc/tendermint/client/interface.go +++ b/rpc/tendermint/client/interface.go @@ -20,7 +20,7 @@ implementation. package client import ( - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" "github.com/tendermint/tendermint/types" ) diff --git a/rpc/tendermint/client/localclient.go b/rpc/tendermint/client/localclient.go index 34242866f..146d96597 100644 --- a/rpc/tendermint/client/localclient.go +++ b/rpc/tendermint/client/localclient.go @@ -1,7 +1,7 @@ package client import ( - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" nm "github.com/tendermint/tendermint/node" "github.com/tendermint/tendermint/rpc/tendermint/core" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" diff --git a/rpc/tendermint/client/mock/abci.go b/rpc/tendermint/client/mock/abci.go index 962744df7..d03728dbe 100644 --- a/rpc/tendermint/client/mock/abci.go +++ b/rpc/tendermint/client/mock/abci.go @@ -2,7 +2,7 @@ package mock import ( abci "github.com/tendermint/abci/types" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" "github.com/tendermint/tendermint/rpc/tendermint/client" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" "github.com/tendermint/tendermint/types" diff --git a/rpc/tendermint/client/mock/abci_test.go b/rpc/tendermint/client/mock/abci_test.go index 267d19dfc..3fcca9692 100644 --- a/rpc/tendermint/client/mock/abci_test.go +++ b/rpc/tendermint/client/mock/abci_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" "github.com/tendermint/abci/example/dummy" abci "github.com/tendermint/abci/types" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" "github.com/tendermint/tendermint/types" diff --git a/rpc/tendermint/client/mock/client.go b/rpc/tendermint/client/mock/client.go index f43346591..b2a91b743 100644 --- a/rpc/tendermint/client/mock/client.go +++ b/rpc/tendermint/client/mock/client.go @@ -16,7 +16,7 @@ package mock import ( "reflect" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" "github.com/tendermint/tendermint/rpc/tendermint/client" "github.com/tendermint/tendermint/rpc/tendermint/core" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" diff --git a/rpc/tendermint/client/mock/status_test.go b/rpc/tendermint/client/mock/status_test.go index 55576fb11..f5a2bc7f8 100644 --- a/rpc/tendermint/client/mock/status_test.go +++ b/rpc/tendermint/client/mock/status_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" "github.com/tendermint/tendermint/rpc/tendermint/client/mock" diff --git a/rpc/tendermint/core/abci.go b/rpc/tendermint/core/abci.go index 519c18822..e56b92d70 100644 --- a/rpc/tendermint/core/abci.go +++ b/rpc/tendermint/core/abci.go @@ -2,7 +2,7 @@ package core import ( abci "github.com/tendermint/abci/types" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" ) diff --git a/rpc/tendermint/core/mempool.go b/rpc/tendermint/core/mempool.go index df5ea8b64..e3d82bf87 100644 --- a/rpc/tendermint/core/mempool.go +++ b/rpc/tendermint/core/mempool.go @@ -5,7 +5,7 @@ import ( "time" abci "github.com/tendermint/abci/types" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" "github.com/tendermint/tendermint/types" ) diff --git a/rpc/tendermint/core/routes.go b/rpc/tendermint/core/routes.go index 1b426d1dd..d50968eee 100644 --- a/rpc/tendermint/core/routes.go +++ b/rpc/tendermint/core/routes.go @@ -1,7 +1,7 @@ package core import ( - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" rpc "github.com/tendermint/go-rpc/server" "github.com/tendermint/go-rpc/types" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" diff --git a/rpc/tendermint/core/status.go b/rpc/tendermint/core/status.go index 1a90945b5..9dbfff86d 100644 --- a/rpc/tendermint/core/status.go +++ b/rpc/tendermint/core/status.go @@ -1,7 +1,7 @@ package core import ( - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" ctypes "github.com/tendermint/tendermint/rpc/tendermint/core/types" "github.com/tendermint/tendermint/types" ) diff --git a/rpc/tendermint/core/types/responses.go b/rpc/tendermint/core/types/responses.go index 59fa09aa0..ba4584830 100644 --- a/rpc/tendermint/core/types/responses.go +++ b/rpc/tendermint/core/types/responses.go @@ -5,7 +5,7 @@ import ( abci "github.com/tendermint/abci/types" "github.com/tendermint/go-crypto" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" "github.com/tendermint/go-p2p" "github.com/tendermint/go-rpc/types" "github.com/tendermint/go-wire" diff --git a/types/priv_validator.go b/types/priv_validator.go index 46d64acb1..b73591ddc 100644 --- a/types/priv_validator.go +++ b/types/priv_validator.go @@ -11,7 +11,7 @@ import ( . "github.com/tendermint/tmlibs/common" "github.com/tendermint/go-crypto" - data "github.com/tendermint/go-data" + data "github.com/tendermint/go-wire/data" ) const (