From 9018acde5f4e77368490c6d497f0364ea396dd2a Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Mon, 2 Jul 2018 14:58:07 -0400 Subject: [PATCH] tmlibs -> tendermint/libs --- lite/base_certifier.go | 2 +- lite/client/provider.go | 2 +- lite/dbprovider.go | 4 ++-- lite/errors/errors.go | 2 +- lite/inquiring_certifier.go | 2 +- lite/inquiring_certifier_test.go | 4 ++-- lite/multiprovider.go | 2 +- lite/provider.go | 2 +- lite/provider_test.go | 4 ++-- lite/proxy/certifier.go | 6 +++--- lite/proxy/errors.go | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/lite/base_certifier.go b/lite/base_certifier.go index 6f2b3da94..0f9faba37 100644 --- a/lite/base_certifier.go +++ b/lite/base_certifier.go @@ -5,7 +5,7 @@ import ( lerr "github.com/tendermint/tendermint/lite/errors" "github.com/tendermint/tendermint/types" - cmn "github.com/tendermint/tmlibs/common" + cmn "github.com/tendermint/tendermint/libs/common" ) var _ Certifier = (*BaseCertifier)(nil) diff --git a/lite/client/provider.go b/lite/client/provider.go index 3ef15344a..8087be71c 100644 --- a/lite/client/provider.go +++ b/lite/client/provider.go @@ -13,7 +13,7 @@ import ( rpcclient "github.com/tendermint/tendermint/rpc/client" ctypes "github.com/tendermint/tendermint/rpc/core/types" "github.com/tendermint/tendermint/types" - log "github.com/tendermint/tmlibs/log" + log "github.com/tendermint/tendermint/libs/log" ) // SignStatusClient combines a SignClient and StatusClient. diff --git a/lite/dbprovider.go b/lite/dbprovider.go index 3ee3b0620..13ad2c61f 100644 --- a/lite/dbprovider.go +++ b/lite/dbprovider.go @@ -9,8 +9,8 @@ import ( crypto "github.com/tendermint/tendermint/crypto" lerr "github.com/tendermint/tendermint/lite/errors" "github.com/tendermint/tendermint/types" - dbm "github.com/tendermint/tmlibs/db" - log "github.com/tendermint/tmlibs/log" + dbm "github.com/tendermint/tendermint/libs/db" + log "github.com/tendermint/tendermint/libs/log" ) type DBProvider struct { diff --git a/lite/errors/errors.go b/lite/errors/errors.go index c38ecf88f..96a5a02ad 100644 --- a/lite/errors/errors.go +++ b/lite/errors/errors.go @@ -3,7 +3,7 @@ package errors import ( "fmt" - cmn "github.com/tendermint/tmlibs/common" + cmn "github.com/tendermint/tendermint/libs/common" ) //---------------------------------------- diff --git a/lite/inquiring_certifier.go b/lite/inquiring_certifier.go index f030ec574..316374471 100644 --- a/lite/inquiring_certifier.go +++ b/lite/inquiring_certifier.go @@ -5,7 +5,7 @@ import ( lerr "github.com/tendermint/tendermint/lite/errors" "github.com/tendermint/tendermint/types" - log "github.com/tendermint/tmlibs/log" + log "github.com/tendermint/tendermint/libs/log" ) var _ Certifier = (*InquiringCertifier)(nil) diff --git a/lite/inquiring_certifier_test.go b/lite/inquiring_certifier_test.go index 23cb54885..5eb63727c 100644 --- a/lite/inquiring_certifier_test.go +++ b/lite/inquiring_certifier_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - dbm "github.com/tendermint/tmlibs/db" - log "github.com/tendermint/tmlibs/log" + dbm "github.com/tendermint/tendermint/libs/db" + log "github.com/tendermint/tendermint/libs/log" ) func TestInquirerValidPath(t *testing.T) { diff --git a/lite/multiprovider.go b/lite/multiprovider.go index 8ff523b4f..991a12d71 100644 --- a/lite/multiprovider.go +++ b/lite/multiprovider.go @@ -3,7 +3,7 @@ package lite import ( lerr "github.com/tendermint/tendermint/lite/errors" "github.com/tendermint/tendermint/types" - log "github.com/tendermint/tmlibs/log" + log "github.com/tendermint/tendermint/libs/log" ) // multiProvider allows you to place one or more caches in front of a source diff --git a/lite/provider.go b/lite/provider.go index c31b2da43..59e36a673 100644 --- a/lite/provider.go +++ b/lite/provider.go @@ -2,7 +2,7 @@ package lite import ( "github.com/tendermint/tendermint/types" - log "github.com/tendermint/tmlibs/log" + log "github.com/tendermint/tendermint/libs/log" ) // Provider provides information for the lite client to sync validators. diff --git a/lite/provider_test.go b/lite/provider_test.go index 09e8119b6..e55470222 100644 --- a/lite/provider_test.go +++ b/lite/provider_test.go @@ -9,8 +9,8 @@ import ( lerr "github.com/tendermint/tendermint/lite/errors" "github.com/tendermint/tendermint/types" - dbm "github.com/tendermint/tmlibs/db" - log "github.com/tendermint/tmlibs/log" + dbm "github.com/tendermint/tendermint/libs/db" + log "github.com/tendermint/tendermint/libs/log" ) // missingProvider doesn't store anything, always a miss. diff --git a/lite/proxy/certifier.go b/lite/proxy/certifier.go index a1ab02c59..bd09b1ab0 100644 --- a/lite/proxy/certifier.go +++ b/lite/proxy/certifier.go @@ -3,9 +3,9 @@ package proxy import ( "github.com/tendermint/tendermint/lite" lclient "github.com/tendermint/tendermint/lite/client" - cmn "github.com/tendermint/tmlibs/common" - dbm "github.com/tendermint/tmlibs/db" - log "github.com/tendermint/tmlibs/log" + cmn "github.com/tendermint/tendermint/libs/common" + dbm "github.com/tendermint/tendermint/libs/db" + log "github.com/tendermint/tendermint/libs/log" ) func NewCertifier(chainID, rootDir string, client lclient.SignStatusClient, logger log.Logger) (*lite.InquiringCertifier, error) { diff --git a/lite/proxy/errors.go b/lite/proxy/errors.go index 9af72a54c..6a7c2354c 100644 --- a/lite/proxy/errors.go +++ b/lite/proxy/errors.go @@ -1,7 +1,7 @@ package proxy import ( - cmn "github.com/tendermint/tmlibs/common" + cmn "github.com/tendermint/tendermint/libs/common" ) type errNoData struct{}