diff --git a/account/account.go b/account/account.go index 520afd70..4a219d1f 100644 --- a/account/account.go +++ b/account/account.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/tendermint/tendermint/binary" + "github.com/tendermint/tendermint2/binary" ) // Signable is an interface for all signable things. diff --git a/account/priv_account.go b/account/priv_account.go index 23114893..a3525648 100644 --- a/account/priv_account.go +++ b/account/priv_account.go @@ -2,7 +2,7 @@ package account import ( "github.com/tendermint/ed25519" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) type PrivAccount struct { diff --git a/account/privkey.go b/account/privkey.go index bf088b5e..9cbb05b1 100644 --- a/account/privkey.go +++ b/account/privkey.go @@ -2,8 +2,8 @@ package account import ( "github.com/tendermint/ed25519" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) // PrivKey is part of PrivAccount and state.PrivValidator. diff --git a/account/pubkey.go b/account/pubkey.go index fa8dce57..4d706480 100644 --- a/account/pubkey.go +++ b/account/pubkey.go @@ -4,8 +4,8 @@ import ( "errors" "github.com/tendermint/ed25519" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) // PubKey is part of Account and Validator. diff --git a/account/signature.go b/account/signature.go index 53678f72..a029eb31 100644 --- a/account/signature.go +++ b/account/signature.go @@ -3,8 +3,8 @@ package account import ( "fmt" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) // Signature is a part of Txs and consensus Votes. diff --git a/account/signature_test.go b/account/signature_test.go index 8168c5c6..21afd84d 100644 --- a/account/signature_test.go +++ b/account/signature_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/tendermint/ed25519" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) func TestSignAndValidate(t *testing.T) { diff --git a/alert/alert.go b/alert/alert.go index d761da2a..b3cace53 100644 --- a/alert/alert.go +++ b/alert/alert.go @@ -5,7 +5,7 @@ import ( "time" "github.com/sfreiberg/gotwilio" - "github.com/tendermint/tendermint/config" + "github.com/tendermint/tendermint2/config" ) var lastAlertUnix int64 = 0 diff --git a/alert/email.go b/alert/email.go index d484f6f2..19f45c8c 100644 --- a/alert/email.go +++ b/alert/email.go @@ -13,7 +13,7 @@ import ( "regexp" "strings" - "github.com/tendermint/tendermint/config" + "github.com/tendermint/tendermint2/config" ) // Convenience function diff --git a/alert/log.go b/alert/log.go index 0f0740e0..32b40066 100644 --- a/alert/log.go +++ b/alert/log.go @@ -1,7 +1,7 @@ package alert import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "alert") diff --git a/binary/log.go b/binary/log.go index 28586125..26bbbcea 100644 --- a/binary/log.go +++ b/binary/log.go @@ -2,7 +2,7 @@ package binary import ( "github.com/tendermint/log15" - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "binary") diff --git a/binary/reflect.go b/binary/reflect.go index 3ea8f0f6..736ff4ed 100644 --- a/binary/reflect.go +++ b/binary/reflect.go @@ -9,7 +9,7 @@ import ( "sync" "time" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) type TypeInfo struct { diff --git a/blockchain/log.go b/blockchain/log.go index f04e9994..caf3dcba 100644 --- a/blockchain/log.go +++ b/blockchain/log.go @@ -1,7 +1,7 @@ package blockchain import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "blockchain") diff --git a/blockchain/pool.go b/blockchain/pool.go index 0bd62046..2b2344e3 100644 --- a/blockchain/pool.go +++ b/blockchain/pool.go @@ -5,8 +5,8 @@ import ( "sync/atomic" "time" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/types" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/types" ) const ( diff --git a/blockchain/pool_test.go b/blockchain/pool_test.go index c07a11d8..235a275c 100644 --- a/blockchain/pool_test.go +++ b/blockchain/pool_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/types" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/types" ) type testPeer struct { diff --git a/blockchain/reactor.go b/blockchain/reactor.go index 7e776ab0..444355e6 100644 --- a/blockchain/reactor.go +++ b/blockchain/reactor.go @@ -7,11 +7,11 @@ import ( "sync/atomic" "time" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/p2p" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/p2p" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) const ( diff --git a/blockchain/store.go b/blockchain/store.go index f9d54cd2..7a514fbc 100644 --- a/blockchain/store.go +++ b/blockchain/store.go @@ -6,10 +6,10 @@ import ( "fmt" "io" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - dbm "github.com/tendermint/tendermint/db" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + dbm "github.com/tendermint/tendermint2/db" + "github.com/tendermint/tendermint2/types" ) /* diff --git a/cmd/gen_account.go b/cmd/gen_account.go index aea29cf9..a19a4999 100644 --- a/cmd/gen_account.go +++ b/cmd/gen_account.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" ) func gen_account() { diff --git a/cmd/gen_tx.go b/cmd/gen_tx.go index 687339be..a2d43bfe 100644 --- a/cmd/gen_tx.go +++ b/cmd/gen_tx.go @@ -8,12 +8,12 @@ import ( "os" "strconv" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - dbm "github.com/tendermint/tendermint/db" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + dbm "github.com/tendermint/tendermint2/db" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) func getString(prompt string) string { diff --git a/cmd/gen_validator.go b/cmd/gen_validator.go index 1d3af701..5058453c 100644 --- a/cmd/gen_validator.go +++ b/cmd/gen_validator.go @@ -3,9 +3,9 @@ package main import ( "fmt" - "github.com/tendermint/tendermint/binary" - "github.com/tendermint/tendermint/config" - sm "github.com/tendermint/tendermint/state" + "github.com/tendermint/tendermint2/binary" + "github.com/tendermint/tendermint2/config" + sm "github.com/tendermint/tendermint2/state" ) func gen_validator() { diff --git a/cmd/log.go b/cmd/log.go index c0472378..d01ae5f3 100644 --- a/cmd/log.go +++ b/cmd/log.go @@ -1,7 +1,7 @@ package main import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "main") diff --git a/cmd/main.go b/cmd/main.go index 03b1a81a..15244b4e 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/daemon" + "github.com/tendermint/tendermint2/config" + "github.com/tendermint/tendermint2/daemon" ) func main() { diff --git a/cmd/probe_upnp.go b/cmd/probe_upnp.go index 927e2548..483623ce 100644 --- a/cmd/probe_upnp.go +++ b/cmd/probe_upnp.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/tendermint/tendermint/p2p/upnp" + "github.com/tendermint/tendermint2/p2p/upnp" ) func probe_upnp() { diff --git a/config/log.go b/config/log.go index 3cd8f430..4597e4a0 100644 --- a/config/log.go +++ b/config/log.go @@ -1,7 +1,7 @@ package config import ( - // We can't use github.com/tendermint/tendermint/logger + // We can't use github.com/tendermint/tendermint2/logger // because that would create a dependency cycle. "github.com/tendermint/log15" ) diff --git a/consensus/log.go b/consensus/log.go index 0b3a33db..ea3ff272 100644 --- a/consensus/log.go +++ b/consensus/log.go @@ -1,7 +1,7 @@ package consensus import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "consensus") diff --git a/consensus/pol.go b/consensus/pol.go index 06784d58..1fb71ba2 100644 --- a/consensus/pol.go +++ b/consensus/pol.go @@ -3,11 +3,11 @@ package consensus import ( "fmt" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) // Each signature of a POL (proof-of-lock, see whitepaper) is diff --git a/consensus/pol_test.go b/consensus/pol_test.go index e1d67e4d..7f3e65f1 100644 --- a/consensus/pol_test.go +++ b/consensus/pol_test.go @@ -1,10 +1,10 @@ package consensus import ( - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" "bytes" "testing" diff --git a/consensus/reactor.go b/consensus/reactor.go index a3028b6d..52ce48e8 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -8,13 +8,13 @@ import ( "sync/atomic" "time" - "github.com/tendermint/tendermint/binary" - bc "github.com/tendermint/tendermint/blockchain" - . "github.com/tendermint/tendermint/common" - . "github.com/tendermint/tendermint/consensus/types" - "github.com/tendermint/tendermint/p2p" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/binary" + bc "github.com/tendermint/tendermint2/blockchain" + . "github.com/tendermint/tendermint2/common" + . "github.com/tendermint/tendermint2/consensus/types" + "github.com/tendermint/tendermint2/p2p" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) const ( diff --git a/consensus/state.go b/consensus/state.go index 8756df61..82fed335 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -60,15 +60,15 @@ import ( "sync/atomic" "time" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - bc "github.com/tendermint/tendermint/blockchain" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/config" - . "github.com/tendermint/tendermint/consensus/types" - mempl "github.com/tendermint/tendermint/mempool" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + bc "github.com/tendermint/tendermint2/blockchain" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/config" + . "github.com/tendermint/tendermint2/consensus/types" + mempl "github.com/tendermint/tendermint2/mempool" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) const ( diff --git a/consensus/state_test.go b/consensus/state_test.go index 60e54a69..ac4ba36f 100644 --- a/consensus/state_test.go +++ b/consensus/state_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/types" ) func TestSetupRound(t *testing.T) { diff --git a/consensus/test.go b/consensus/test.go index 397befa0..798b597f 100644 --- a/consensus/test.go +++ b/consensus/test.go @@ -3,10 +3,10 @@ package consensus import ( "sort" - bc "github.com/tendermint/tendermint/blockchain" - dbm "github.com/tendermint/tendermint/db" - mempl "github.com/tendermint/tendermint/mempool" - sm "github.com/tendermint/tendermint/state" + bc "github.com/tendermint/tendermint2/blockchain" + dbm "github.com/tendermint/tendermint2/db" + mempl "github.com/tendermint/tendermint2/mempool" + sm "github.com/tendermint/tendermint2/state" ) func randConsensusState() (*ConsensusState, []*sm.PrivValidator) { diff --git a/consensus/types/proposal.go b/consensus/types/proposal.go index a78570a5..6e0235a3 100644 --- a/consensus/types/proposal.go +++ b/consensus/types/proposal.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + "github.com/tendermint/tendermint2/types" ) var ( diff --git a/consensus/vote_set.go b/consensus/vote_set.go index 973d4b7a..f24485a4 100644 --- a/consensus/vote_set.go +++ b/consensus/vote_set.go @@ -6,11 +6,11 @@ import ( "strings" "sync" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) // VoteSet helps collect signatures from validators at each height+round diff --git a/consensus/vote_set_test.go b/consensus/vote_set_test.go index c18892f2..d80b99e7 100644 --- a/consensus/vote_set_test.go +++ b/consensus/vote_set_test.go @@ -3,10 +3,10 @@ package consensus import ( "bytes" - . "github.com/tendermint/tendermint/common" - . "github.com/tendermint/tendermint/common/test" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + . "github.com/tendermint/tendermint2/common" + . "github.com/tendermint/tendermint2/common/test" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" "testing" ) diff --git a/daemon/daemon.go b/daemon/daemon.go index 6e14b0e2..c2bb765f 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -4,16 +4,16 @@ import ( "os" "os/signal" - bc "github.com/tendermint/tendermint/blockchain" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/consensus" - dbm "github.com/tendermint/tendermint/db" - mempl "github.com/tendermint/tendermint/mempool" - "github.com/tendermint/tendermint/p2p" - "github.com/tendermint/tendermint/rpc" - "github.com/tendermint/tendermint/rpc/core" - sm "github.com/tendermint/tendermint/state" + bc "github.com/tendermint/tendermint2/blockchain" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/config" + "github.com/tendermint/tendermint2/consensus" + dbm "github.com/tendermint/tendermint2/db" + mempl "github.com/tendermint/tendermint2/mempool" + "github.com/tendermint/tendermint2/p2p" + "github.com/tendermint/tendermint2/rpc" + "github.com/tendermint/tendermint2/rpc/core" + sm "github.com/tendermint/tendermint2/state" ) type Node struct { diff --git a/daemon/log.go b/daemon/log.go index b325cd80..e70f3eb8 100644 --- a/daemon/log.go +++ b/daemon/log.go @@ -1,7 +1,7 @@ package daemon import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "daemon") diff --git a/db/db.go b/db/db.go index 3300727f..9953829a 100644 --- a/db/db.go +++ b/db/db.go @@ -3,8 +3,8 @@ package db import ( "path" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/config" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/config" ) type DB interface { diff --git a/logger/log.go b/logger/log.go index 62f89809..ddc6a779 100644 --- a/logger/log.go +++ b/logger/log.go @@ -5,8 +5,8 @@ import ( "os" "github.com/tendermint/log15" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/config" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/config" ) var rootHandler log15.Handler diff --git a/mempool/log.go b/mempool/log.go index 0bc62b10..137b052f 100644 --- a/mempool/log.go +++ b/mempool/log.go @@ -1,7 +1,7 @@ package mempool import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "mempool") diff --git a/mempool/mempool.go b/mempool/mempool.go index 81919877..a7b08cad 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -11,9 +11,9 @@ package mempool import ( "sync" - "github.com/tendermint/tendermint/binary" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/binary" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) type Mempool struct { diff --git a/mempool/reactor.go b/mempool/reactor.go index e16cf933..c82acec4 100644 --- a/mempool/reactor.go +++ b/mempool/reactor.go @@ -5,9 +5,9 @@ import ( "fmt" "sync/atomic" - "github.com/tendermint/tendermint/binary" - "github.com/tendermint/tendermint/p2p" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/binary" + "github.com/tendermint/tendermint2/p2p" + "github.com/tendermint/tendermint2/types" ) var ( diff --git a/merkle/iavl_node.go b/merkle/iavl_node.go index 6d7d5d63..44533b87 100644 --- a/merkle/iavl_node.go +++ b/merkle/iavl_node.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "io" - "github.com/tendermint/tendermint/binary" + "github.com/tendermint/tendermint2/binary" ) // Node diff --git a/merkle/iavl_test.go b/merkle/iavl_test.go index dd7897e8..5df499c7 100644 --- a/merkle/iavl_test.go +++ b/merkle/iavl_test.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/db" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/db" "runtime" "testing" diff --git a/merkle/iavl_tree.go b/merkle/iavl_tree.go index da474318..7f5b604a 100644 --- a/merkle/iavl_tree.go +++ b/merkle/iavl_tree.go @@ -5,9 +5,9 @@ import ( "container/list" "sync" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - dbm "github.com/tendermint/tendermint/db" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + dbm "github.com/tendermint/tendermint2/db" ) /* diff --git a/merkle/simple_tree.go b/merkle/simple_tree.go index bdc9164d..c91cc48b 100644 --- a/merkle/simple_tree.go +++ b/merkle/simple_tree.go @@ -28,7 +28,7 @@ import ( "bytes" "crypto/sha256" - "github.com/tendermint/tendermint/binary" + "github.com/tendermint/tendermint2/binary" ) func HashFromTwoHashes(left []byte, right []byte) []byte { diff --git a/merkle/simple_tree_test.go b/merkle/simple_tree_test.go index 893a30ce..78add22e 100644 --- a/merkle/simple_tree_test.go +++ b/merkle/simple_tree_test.go @@ -1,7 +1,7 @@ package merkle import ( - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" "bytes" "testing" diff --git a/p2p/addrbook.go b/p2p/addrbook.go index 893cf1c9..a90fce5e 100644 --- a/p2p/addrbook.go +++ b/p2p/addrbook.go @@ -15,7 +15,7 @@ import ( "sync/atomic" "time" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) const ( diff --git a/p2p/connection.go b/p2p/connection.go index c7553836..99dbc66c 100644 --- a/p2p/connection.go +++ b/p2p/connection.go @@ -12,8 +12,8 @@ import ( flow "code.google.com/p/mxk/go1/flowcontrol" "github.com/tendermint/log15" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) const ( diff --git a/p2p/listener.go b/p2p/listener.go index f10e3199..ef7cd39b 100644 --- a/p2p/listener.go +++ b/p2p/listener.go @@ -6,8 +6,8 @@ import ( "strconv" "sync/atomic" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/p2p/upnp" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/p2p/upnp" ) type Listener interface { diff --git a/p2p/log.go b/p2p/log.go index 7802aa76..641b6ea3 100644 --- a/p2p/log.go +++ b/p2p/log.go @@ -1,7 +1,7 @@ package p2p import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "p2p") diff --git a/p2p/peer.go b/p2p/peer.go index 173297eb..f54b79a3 100644 --- a/p2p/peer.go +++ b/p2p/peer.go @@ -6,8 +6,8 @@ import ( "net" "sync/atomic" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) type Peer struct { diff --git a/p2p/peer_set_test.go b/p2p/peer_set_test.go index 6a0c38ae..7f6f5669 100644 --- a/p2p/peer_set_test.go +++ b/p2p/peer_set_test.go @@ -4,7 +4,7 @@ import ( "math/rand" "testing" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) // Returns an empty dummy peer diff --git a/p2p/pex_reactor.go b/p2p/pex_reactor.go index 6af07058..c3d82a02 100644 --- a/p2p/pex_reactor.go +++ b/p2p/pex_reactor.go @@ -7,8 +7,8 @@ import ( "sync/atomic" "time" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) var pexErrInvalidMessage = errors.New("Invalid PEX message") diff --git a/p2p/switch.go b/p2p/switch.go index 1eb51308..1cb4edbf 100644 --- a/p2p/switch.go +++ b/p2p/switch.go @@ -6,7 +6,7 @@ import ( "net" "time" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) type Reactor interface { diff --git a/p2p/switch_test.go b/p2p/switch_test.go index ffdb9950..01b2d21f 100644 --- a/p2p/switch_test.go +++ b/p2p/switch_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) type PeerMessage struct { diff --git a/p2p/upnp/log.go b/p2p/upnp/log.go index 49f53c86..de8d0a97 100644 --- a/p2p/upnp/log.go +++ b/p2p/upnp/log.go @@ -1,7 +1,7 @@ package upnp import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "upnp") diff --git a/p2p/upnp/probe.go b/p2p/upnp/probe.go index 6636c887..287eef31 100644 --- a/p2p/upnp/probe.go +++ b/p2p/upnp/probe.go @@ -6,7 +6,7 @@ import ( "net" "time" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) type UPNPCapabilities struct { diff --git a/rpc/core/accounts.go b/rpc/core/accounts.go index 6949ab86..1d1fce95 100644 --- a/rpc/core/accounts.go +++ b/rpc/core/accounts.go @@ -1,7 +1,7 @@ package core import ( - "github.com/tendermint/tendermint/account" + "github.com/tendermint/tendermint2/account" ) //----------------------------------------------------------------------------- diff --git a/rpc/core/blocks.go b/rpc/core/blocks.go index 4bbe716c..0e8c958c 100644 --- a/rpc/core/blocks.go +++ b/rpc/core/blocks.go @@ -2,8 +2,8 @@ package core import ( "fmt" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/types" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/types" ) //----------------------------------------------------------------------------- diff --git a/rpc/core/mempool.go b/rpc/core/mempool.go index 070d6e40..3f51a217 100644 --- a/rpc/core/mempool.go +++ b/rpc/core/mempool.go @@ -2,9 +2,9 @@ package core import ( "fmt" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) //----------------------------------------------------------------------------- diff --git a/rpc/core/net.go b/rpc/core/net.go index 64db01cf..020d9c19 100644 --- a/rpc/core/net.go +++ b/rpc/core/net.go @@ -1,10 +1,10 @@ package core import ( - "github.com/tendermint/tendermint/config" - dbm "github.com/tendermint/tendermint/db" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/config" + dbm "github.com/tendermint/tendermint2/db" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) //----------------------------------------------------------------------------- diff --git a/rpc/core/pipe.go b/rpc/core/pipe.go index ca2d9db2..4776a4e3 100644 --- a/rpc/core/pipe.go +++ b/rpc/core/pipe.go @@ -1,10 +1,10 @@ package core import ( - bc "github.com/tendermint/tendermint/blockchain" - "github.com/tendermint/tendermint/consensus" - mempl "github.com/tendermint/tendermint/mempool" - "github.com/tendermint/tendermint/p2p" + bc "github.com/tendermint/tendermint2/blockchain" + "github.com/tendermint/tendermint2/consensus" + mempl "github.com/tendermint/tendermint2/mempool" + "github.com/tendermint/tendermint2/p2p" ) var blockStore *bc.BlockStore diff --git a/rpc/core/responses.go b/rpc/core/responses.go index 3e6e32e6..6a1ac582 100644 --- a/rpc/core/responses.go +++ b/rpc/core/responses.go @@ -1,9 +1,9 @@ package core import ( - "github.com/tendermint/tendermint/account" - sm "github.com/tendermint/tendermint/state" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + sm "github.com/tendermint/tendermint2/state" + "github.com/tendermint/tendermint2/types" ) type ResponseGenPrivAccount struct { diff --git a/rpc/core/txs.go b/rpc/core/txs.go index 95b9fb55..d33079e7 100644 --- a/rpc/core/txs.go +++ b/rpc/core/txs.go @@ -2,8 +2,8 @@ package core import ( "fmt" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/types" ) //----------------------------------------------------------------------------- diff --git a/rpc/core/validators.go b/rpc/core/validators.go index 5d156156..ebf35e22 100644 --- a/rpc/core/validators.go +++ b/rpc/core/validators.go @@ -1,7 +1,7 @@ package core import ( - sm "github.com/tendermint/tendermint/state" + sm "github.com/tendermint/tendermint2/state" ) //----------------------------------------------------------------------------- diff --git a/rpc/handlers.go b/rpc/handlers.go index 47b63e6c..925dbe93 100644 --- a/rpc/handlers.go +++ b/rpc/handlers.go @@ -7,8 +7,8 @@ TODO: support Call && GetStorage. import ( "encoding/json" "fmt" - "github.com/tendermint/tendermint/binary" - "github.com/tendermint/tendermint/rpc/core" + "github.com/tendermint/tendermint2/binary" + "github.com/tendermint/tendermint2/rpc/core" "io/ioutil" "net/http" "reflect" diff --git a/rpc/http_params.go b/rpc/http_params.go index 1837fd76..af7e23d4 100644 --- a/rpc/http_params.go +++ b/rpc/http_params.go @@ -6,7 +6,7 @@ import ( "regexp" "strconv" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) var ( diff --git a/rpc/http_server.go b/rpc/http_server.go index 5428d8bb..76e0caf0 100644 --- a/rpc/http_server.go +++ b/rpc/http_server.go @@ -8,10 +8,10 @@ import ( "runtime/debug" "time" - "github.com/tendermint/tendermint/alert" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/config" + "github.com/tendermint/tendermint2/alert" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/config" ) func StartHTTPServer() { diff --git a/rpc/test/http_rpc_test.go b/rpc/test/http_rpc_test.go index fa0eb29c..4de03b78 100644 --- a/rpc/test/http_rpc_test.go +++ b/rpc/test/http_rpc_test.go @@ -5,11 +5,11 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/tendermint/tendermint/binary" - "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/merkle" - "github.com/tendermint/tendermint/rpc/core" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/binary" + "github.com/tendermint/tendermint2/config" + "github.com/tendermint/tendermint2/merkle" + "github.com/tendermint/tendermint2/rpc/core" + "github.com/tendermint/tendermint2/types" "io/ioutil" "net/http" "net/url" diff --git a/rpc/test/json_rpc_test.go b/rpc/test/json_rpc_test.go index f55bddda..5d44429a 100644 --- a/rpc/test/json_rpc_test.go +++ b/rpc/test/json_rpc_test.go @@ -5,12 +5,12 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/rpc" - "github.com/tendermint/tendermint/rpc/core" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/config" + "github.com/tendermint/tendermint2/rpc" + "github.com/tendermint/tendermint2/rpc/core" + "github.com/tendermint/tendermint2/types" "io/ioutil" "net/http" "net/url" diff --git a/rpc/test/test.go b/rpc/test/test.go index e79e4292..d65151d8 100644 --- a/rpc/test/test.go +++ b/rpc/test/test.go @@ -4,15 +4,15 @@ import ( "bytes" "encoding/hex" "encoding/json" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/daemon" - "github.com/tendermint/tendermint/logger" - "github.com/tendermint/tendermint/p2p" - "github.com/tendermint/tendermint/rpc" - "github.com/tendermint/tendermint/rpc/core" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + "github.com/tendermint/tendermint2/config" + "github.com/tendermint/tendermint2/daemon" + "github.com/tendermint/tendermint2/logger" + "github.com/tendermint/tendermint2/p2p" + "github.com/tendermint/tendermint2/rpc" + "github.com/tendermint/tendermint2/rpc/core" + "github.com/tendermint/tendermint2/types" "io/ioutil" "net/http" "net/url" diff --git a/state/block_cache.go b/state/block_cache.go index c900accc..066a70f0 100644 --- a/state/block_cache.go +++ b/state/block_cache.go @@ -4,11 +4,11 @@ import ( "bytes" "sort" - ac "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - dbm "github.com/tendermint/tendermint/db" - "github.com/tendermint/tendermint/merkle" + ac "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + dbm "github.com/tendermint/tendermint2/db" + "github.com/tendermint/tendermint2/merkle" ) func makeStorage(db dbm.DB, root []byte) merkle.Tree { diff --git a/state/common.go b/state/common.go index 342d3577..da90f79a 100644 --- a/state/common.go +++ b/state/common.go @@ -1,9 +1,9 @@ package state import ( - ac "github.com/tendermint/tendermint/account" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/vm" + ac "github.com/tendermint/tendermint2/account" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/vm" ) type AccountGetter interface { diff --git a/state/execution.go b/state/execution.go index d7b3b78f..97e617b7 100644 --- a/state/execution.go +++ b/state/execution.go @@ -4,10 +4,10 @@ import ( "bytes" "errors" - "github.com/tendermint/tendermint/account" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/types" - "github.com/tendermint/tendermint/vm" + "github.com/tendermint/tendermint2/account" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/types" + "github.com/tendermint/tendermint2/vm" ) // NOTE: If an error occurs during block execution, state will be left diff --git a/state/genesis.go b/state/genesis.go index 9b75db97..a3174adc 100644 --- a/state/genesis.go +++ b/state/genesis.go @@ -4,12 +4,12 @@ import ( "io/ioutil" "time" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - dbm "github.com/tendermint/tendermint/db" - "github.com/tendermint/tendermint/merkle" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + dbm "github.com/tendermint/tendermint2/db" + "github.com/tendermint/tendermint2/merkle" + "github.com/tendermint/tendermint2/types" ) type GenesisAccount struct { diff --git a/state/log.go b/state/log.go index 7f1d3eba..5637d0cf 100644 --- a/state/log.go +++ b/state/log.go @@ -1,7 +1,7 @@ package state import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "state") diff --git a/state/priv_validator.go b/state/priv_validator.go index 733d1151..9a58aa35 100644 --- a/state/priv_validator.go +++ b/state/priv_validator.go @@ -9,12 +9,12 @@ import ( "math" "sync" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/config" - . "github.com/tendermint/tendermint/consensus/types" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/config" + . "github.com/tendermint/tendermint2/consensus/types" + "github.com/tendermint/tendermint2/types" "github.com/tendermint/ed25519" ) diff --git a/state/state.go b/state/state.go index 700202b8..093d17a1 100644 --- a/state/state.go +++ b/state/state.go @@ -5,11 +5,11 @@ import ( "fmt" "time" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - dbm "github.com/tendermint/tendermint/db" - "github.com/tendermint/tendermint/merkle" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + dbm "github.com/tendermint/tendermint2/db" + "github.com/tendermint/tendermint2/merkle" + "github.com/tendermint/tendermint2/types" ) var ( diff --git a/state/state_test.go b/state/state_test.go index 5f299065..6620c442 100644 --- a/state/state_test.go +++ b/state/state_test.go @@ -1,9 +1,9 @@ package state import ( - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/config" + "github.com/tendermint/tendermint2/types" "bytes" "testing" diff --git a/state/test.go b/state/test.go index 49ba0d5e..f5b96c01 100644 --- a/state/test.go +++ b/state/test.go @@ -4,10 +4,10 @@ import ( "bytes" "sort" - "github.com/tendermint/tendermint/account" - . "github.com/tendermint/tendermint/common" - dbm "github.com/tendermint/tendermint/db" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + . "github.com/tendermint/tendermint2/common" + dbm "github.com/tendermint/tendermint2/db" + "github.com/tendermint/tendermint2/types" "io/ioutil" "os" diff --git a/state/tx_cache.go b/state/tx_cache.go index d4188db3..4adaef4f 100644 --- a/state/tx_cache.go +++ b/state/tx_cache.go @@ -1,10 +1,10 @@ package state import ( - ac "github.com/tendermint/tendermint/account" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/vm" - "github.com/tendermint/tendermint/vm/sha3" + ac "github.com/tendermint/tendermint2/account" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/vm" + "github.com/tendermint/tendermint2/vm/sha3" ) type TxCache struct { diff --git a/state/validator.go b/state/validator.go index 17cbeb5a..81800f17 100644 --- a/state/validator.go +++ b/state/validator.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + "github.com/tendermint/tendermint2/types" ) // Persistent (mostly) static data for each Validator diff --git a/state/validator_set.go b/state/validator_set.go index 09589a9d..4c0aafd6 100644 --- a/state/validator_set.go +++ b/state/validator_set.go @@ -7,10 +7,10 @@ import ( "sort" "strings" - "github.com/tendermint/tendermint/account" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/merkle" - "github.com/tendermint/tendermint/types" + "github.com/tendermint/tendermint2/account" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/merkle" + "github.com/tendermint/tendermint2/types" ) // ValidatorSet represent a set of *Validator at a given height. diff --git a/state/validator_set_test.go b/state/validator_set_test.go index 0153c144..2d260b2b 100644 --- a/state/validator_set_test.go +++ b/state/validator_set_test.go @@ -1,8 +1,8 @@ package state import ( - "github.com/tendermint/tendermint/account" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/account" + . "github.com/tendermint/tendermint2/common" "bytes" "testing" diff --git a/types/block.go b/types/block.go index c00e90cc..e9b643fe 100644 --- a/types/block.go +++ b/types/block.go @@ -8,11 +8,11 @@ import ( "strings" "time" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/merkle" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/config" + "github.com/tendermint/tendermint2/merkle" ) type Block struct { diff --git a/types/log.go b/types/log.go index fed0c559..cf0c93c9 100644 --- a/types/log.go +++ b/types/log.go @@ -1,7 +1,7 @@ package types import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "types") diff --git a/types/part_set.go b/types/part_set.go index d403809d..96245c17 100644 --- a/types/part_set.go +++ b/types/part_set.go @@ -9,8 +9,8 @@ import ( "strings" "sync" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/merkle" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/merkle" ) const ( diff --git a/types/part_set_test.go b/types/part_set_test.go index d27a85c4..d6c463b9 100644 --- a/types/part_set_test.go +++ b/types/part_set_test.go @@ -5,7 +5,7 @@ import ( "io/ioutil" "testing" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) func TestBasicPartSet(t *testing.T) { diff --git a/types/tx.go b/types/tx.go index 31af05b7..00510959 100644 --- a/types/tx.go +++ b/types/tx.go @@ -4,9 +4,9 @@ import ( "errors" "io" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) var ( diff --git a/types/vote.go b/types/vote.go index 3e3a30e0..80b672f3 100644 --- a/types/vote.go +++ b/types/vote.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "github.com/tendermint/tendermint/account" - "github.com/tendermint/tendermint/binary" - . "github.com/tendermint/tendermint/common" + "github.com/tendermint/tendermint2/account" + "github.com/tendermint/tendermint2/binary" + . "github.com/tendermint/tendermint2/common" ) var ( diff --git a/vm/log.go b/vm/log.go index 9862495b..44feecef 100644 --- a/vm/log.go +++ b/vm/log.go @@ -1,7 +1,7 @@ package vm import ( - "github.com/tendermint/tendermint/logger" + "github.com/tendermint/tendermint2/logger" ) var log = logger.New("module", "vm") diff --git a/vm/native.go b/vm/native.go index ad9f3f3a..0b6cdca1 100644 --- a/vm/native.go +++ b/vm/native.go @@ -3,9 +3,9 @@ package vm import ( "code.google.com/p/go.crypto/ripemd160" "crypto/sha256" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/vm/secp256k1" - "github.com/tendermint/tendermint/vm/sha3" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/vm/secp256k1" + "github.com/tendermint/tendermint2/vm/sha3" ) var nativeContracts = make(map[Word256]NativeContract) diff --git a/vm/stack.go b/vm/stack.go index 6b74643a..5f663d8f 100644 --- a/vm/stack.go +++ b/vm/stack.go @@ -2,7 +2,7 @@ package vm import ( "fmt" - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) // Not goroutine safe diff --git a/vm/test/fake_app_state.go b/vm/test/fake_app_state.go index 3d6f5ca2..9f273425 100644 --- a/vm/test/fake_app_state.go +++ b/vm/test/fake_app_state.go @@ -1,9 +1,9 @@ package vm import ( - . "github.com/tendermint/tendermint/common" - . "github.com/tendermint/tendermint/vm" - "github.com/tendermint/tendermint/vm/sha3" + . "github.com/tendermint/tendermint2/common" + . "github.com/tendermint/tendermint2/vm" + "github.com/tendermint/tendermint2/vm/sha3" ) type FakeAppState struct { diff --git a/vm/test/vm_test.go b/vm/test/vm_test.go index ee3fe7e5..162a1b97 100644 --- a/vm/test/vm_test.go +++ b/vm/test/vm_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - . "github.com/tendermint/tendermint/common" - . "github.com/tendermint/tendermint/vm" + . "github.com/tendermint/tendermint2/common" + . "github.com/tendermint/tendermint2/vm" ) func newAppState() *FakeAppState { diff --git a/vm/types.go b/vm/types.go index 443b72c6..a8a334b6 100644 --- a/vm/types.go +++ b/vm/types.go @@ -1,7 +1,7 @@ package vm import ( - . "github.com/tendermint/tendermint/common" + . "github.com/tendermint/tendermint2/common" ) const ( diff --git a/vm/vm.go b/vm/vm.go index cbf68729..6983f5ab 100644 --- a/vm/vm.go +++ b/vm/vm.go @@ -5,8 +5,8 @@ import ( "fmt" "math/big" - . "github.com/tendermint/tendermint/common" - "github.com/tendermint/tendermint/vm/sha3" + . "github.com/tendermint/tendermint2/common" + "github.com/tendermint/tendermint2/vm/sha3" ) var (