Merge pull request #696 from cosmos/bucky/dep

Bucky/dep
This commit is contained in:
Ethan Buchman 2018-03-23 00:49:42 -04:00 committed by GitHub
commit 950797dd6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 48 deletions

View File

@ -1,6 +1,6 @@
# Changelog # Changelog
## unrealease ## 0.12.0 (TBD)
BREAKING CHANGES BREAKING CHANGES
@ -9,6 +9,7 @@ BREAKING CHANGES
* [types] ErrBadNonce -> ErrInvalidSequence * [types] ErrBadNonce -> ErrInvalidSequence
* [types] Replace tx.GetFeePayer with FeePayer(tx) - returns the first signer * [types] Replace tx.GetFeePayer with FeePayer(tx) - returns the first signer
* [types] NewStdTx takes the Fee * [types] NewStdTx takes the Fee
* [types] ParseAccount -> AccountDecoder; ErrTxParse -> ErrTxDecoder
* [auth] AnteHandler deducts fees * [auth] AnteHandler deducts fees
* [bank] Move some errors to `types` * [bank] Move some errors to `types`
* [bank] Remove sequence and signature from Input * [bank] Remove sequence and signature from Input
@ -24,6 +25,7 @@ FEATURES
* [types] StdFee, and StdTx takes the StdFee * [types] StdFee, and StdTx takes the StdFee
* [specs] Progression of MVPs for IBC * [specs] Progression of MVPs for IBC
* [x/ibc] Initial shell of IBC functionality (no proofs) * [x/ibc] Initial shell of IBC functionality (no proofs)
* [x/staking] Simple staking module with bonding/unbonding
IMPROVEMENTS IMPROVEMENTS
@ -36,6 +38,7 @@ BUG FIXES
* [auth] Fix setting pubkey on new account * [auth] Fix setting pubkey on new account
* [auth] Require signatures to include the sequences * [auth] Require signatures to include the sequences
* [baseapp] Dont panic on nil handler * [baseapp] Dont panic on nil handler
* [basecoin] Check for empty bytes in account and tx
## 0.11.0 (March 1, 2017) ## 0.11.0 (March 1, 2017)

49
Gopkg.lock generated
View File

@ -109,6 +109,7 @@
".", ".",
"hcl/ast", "hcl/ast",
"hcl/parser", "hcl/parser",
"hcl/printer",
"hcl/scanner", "hcl/scanner",
"hcl/strconv", "hcl/strconv",
"hcl/token", "hcl/token",
@ -116,7 +117,7 @@
"json/scanner", "json/scanner",
"json/token" "json/token"
] ]
revision = "23c074d0eceb2b8a5bfdbb271ab780cde70f05a8" revision = "f40e974e75af4e271d97ce0fc917af5898ae7bda"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -220,8 +221,8 @@
[[projects]] [[projects]]
name = "github.com/spf13/viper" name = "github.com/spf13/viper"
packages = ["."] packages = ["."]
revision = "25b30aa063fc18e48662b86996252eabdcf2f0c7" revision = "b5e8006cbee93ec955a89ab31e0e3ce3204f3736"
version = "v1.0.0" version = "v1.0.2"
[[projects]] [[projects]]
name = "github.com/stretchr/testify" name = "github.com/stretchr/testify"
@ -252,7 +253,6 @@
revision = "169b1b37be738edb2813dab48c97a549bcf99bb5" revision = "169b1b37be738edb2813dab48c97a549bcf99bb5"
[[projects]] [[projects]]
branch = "develop"
name = "github.com/tendermint/abci" name = "github.com/tendermint/abci"
packages = [ packages = [
"client", "client",
@ -261,7 +261,8 @@
"server", "server",
"types" "types"
] ]
revision = "d5361de3001184de7cd3a0ccbae12eccde3d724e" revision = "46686763ba8ea595ede16530ed4a40fb38f49f94"
version = "v0.10.2"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -286,22 +287,23 @@
version = "v0.5.0" version = "v0.5.0"
[[projects]] [[projects]]
branch = "master"
name = "github.com/tendermint/go-wire" name = "github.com/tendermint/go-wire"
packages = [ packages = [
".", ".",
"data" "data"
] ]
revision = "26b0b2772d913790a42d2cfac4f4a055764dbfaa" revision = "fa721242b042ecd4c6ed1a934ee740db4f74e45c"
source = "github.com/tendermint/go-amino"
version = "v0.7.3"
[[projects]] [[projects]]
name = "github.com/tendermint/iavl" name = "github.com/tendermint/iavl"
packages = ["."] packages = ["."]
revision = "669ff61054a14c4542dbd657ab438800d5630e45" revision = "fd37a0fa3a7454423233bc3d5ea828f38e0af787"
version = "v0.6.1" version = "v0.7.0"
[[projects]] [[projects]]
branch = "develop" branch = "bucky/dep"
name = "github.com/tendermint/tendermint" name = "github.com/tendermint/tendermint"
packages = [ packages = [
"blockchain", "blockchain",
@ -340,10 +342,9 @@
"version", "version",
"wire" "wire"
] ]
revision = "cd2ba4aa7f95e16fe99570260ad58415e7ad4660" revision = "b7b22e3d6bebd9294b067f66010936ec1135f300"
[[projects]] [[projects]]
branch = "rigel/cli-refactor"
name = "github.com/tendermint/tmlibs" name = "github.com/tendermint/tmlibs"
packages = [ packages = [
"autofile", "autofile",
@ -358,7 +359,8 @@
"pubsub", "pubsub",
"pubsub/query" "pubsub/query"
] ]
revision = "b1cc688a61c53e39b92ceb5df370e3c94b19da4c" revision = "24da7009c3d8c019b40ba4287495749e3160caca"
version = "v0.7.1"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -374,7 +376,7 @@
"ripemd160", "ripemd160",
"salsa20/salsa" "salsa20/salsa"
] ]
revision = "c7dcf104e3a7a1417abc0230cb0d5240d764159d" revision = "88942b9c40a4c9d203b82b3731787b672d6e809b"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -386,16 +388,15 @@
"idna", "idna",
"internal/timeseries", "internal/timeseries",
"lex/httplex", "lex/httplex",
"netutil",
"trace" "trace"
] ]
revision = "ae89d30ce0c63142b652837da33d782e2b0a9b25" revision = "6078986fec03a1dcc236c34816c71b0e05018fda"
[[projects]] [[projects]]
branch = "master" branch = "master"
name = "golang.org/x/sys" name = "golang.org/x/sys"
packages = ["unix"] packages = ["unix"]
revision = "c28acc882ebcbfbe8ce9f0f14b9ac26ee138dd51" revision = "91ee8cde435411ca3f1cd365e8f20131aed4d0a1"
[[projects]] [[projects]]
name = "golang.org/x/text" name = "golang.org/x/text"
@ -422,20 +423,16 @@
branch = "master" branch = "master"
name = "google.golang.org/genproto" name = "google.golang.org/genproto"
packages = ["googleapis/rpc/status"] packages = ["googleapis/rpc/status"]
revision = "df60624c1e9b9d2973e889c7a1cff73155da81c4" revision = "f8c8703595236ae70fdf8789ecb656ea0bcdcf46"
[[projects]] [[projects]]
name = "google.golang.org/grpc" name = "google.golang.org/grpc"
packages = [ packages = [
".", ".",
"balancer", "balancer",
"balancer/base",
"balancer/roundrobin",
"codes", "codes",
"connectivity", "connectivity",
"credentials", "credentials",
"encoding",
"encoding/proto",
"grpclb/grpc_lb_v1/messages", "grpclb/grpc_lb_v1/messages",
"grpclog", "grpclog",
"internal", "internal",
@ -444,15 +441,13 @@
"naming", "naming",
"peer", "peer",
"resolver", "resolver",
"resolver/dns",
"resolver/passthrough",
"stats", "stats",
"status", "status",
"tap", "tap",
"transport" "transport"
] ]
revision = "8e4536a86ab602859c20df5ebfd0bd4228d08655" revision = "5b3c4e850e90a4cf6a20ebd46c8b32a0a3afcb9e"
version = "v1.10.0" version = "v1.7.5"
[[projects]] [[projects]]
name = "gopkg.in/yaml.v2" name = "gopkg.in/yaml.v2"
@ -463,6 +458,6 @@
[solve-meta] [solve-meta]
analyzer-name = "dep" analyzer-name = "dep"
analyzer-version = 1 analyzer-version = 1
inputs-digest = "64881873c2a0899c3d6920de588c06a2b59e6b072e1a3d7e676e906cb7d5ad0e" inputs-digest = "7630556bbf21a341e69052d7371c82682b4985e842d29070ab9d616734994936"
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
solver-version = 1 solver-version = 1

View File

@ -26,58 +26,55 @@
[[constraint]] [[constraint]]
name = "github.com/bgentry/speakeasy" name = "github.com/bgentry/speakeasy"
version = "0.1.0" version = "~0.1.0"
[[constraint]] [[constraint]]
name = "github.com/golang/protobuf" name = "github.com/golang/protobuf"
version = "1.0.0" version = "~1.0.0"
[[constraint]] [[constraint]]
name = "github.com/mattn/go-isatty" name = "github.com/mattn/go-isatty"
version = "0.0.3" version = "~0.0.3"
[[constraint]] [[constraint]]
name = "github.com/pkg/errors" name = "github.com/pkg/errors"
version = "0.8.0" version = "~0.8.0"
[[constraint]] [[constraint]]
name = "github.com/spf13/cobra" name = "github.com/spf13/cobra"
version = "0.0.1" version = "~0.0.1"
[[constraint]] [[constraint]]
name = "github.com/spf13/viper" name = "github.com/spf13/viper"
version = "1.0.0" version = "~1.0.0"
[[constraint]] [[constraint]]
name = "github.com/stretchr/testify" name = "github.com/stretchr/testify"
version = "1.2.1" version = "~1.2.1"
[[constraint]] [[constraint]]
branch = "develop" version = "~0.10.2"
name = "github.com/tendermint/abci" name = "github.com/tendermint/abci"
[[constraint]] [[constraint]]
branch = "master" version = "~0.5.0"
name = "github.com/tendermint/go-crypto" name = "github.com/tendermint/go-crypto"
[[override]] [[constraint]]
branch = "master" version = "~0.7.3"
source = "github.com/tendermint/go-amino"
name = "github.com/tendermint/go-wire" name = "github.com/tendermint/go-wire"
[[override]]
branch = "develop"
name = "github.com/tendermint/go-amino"
[[constraint]] [[constraint]]
branch = "master" version = "~0.7.0"
name = "github.com/tendermint/iavl" name = "github.com/tendermint/iavl"
[[constraint]] [[constraint]]
branch = "develop" branch = "bucky/dep"
name = "github.com/tendermint/tendermint" name = "github.com/tendermint/tendermint"
[[override]] [[constraint]]
branch = "rigel/cli-refactor" version = "~0.7.1"
name = "github.com/tendermint/tmlibs" name = "github.com/tendermint/tmlibs"
[prune] [prune]

View File

@ -19,7 +19,7 @@ const (
func LoadIAVLStore(db dbm.DB, id CommitID) (CommitStore, error) { func LoadIAVLStore(db dbm.DB, id CommitID) (CommitStore, error) {
tree := iavl.NewVersionedTree(db, defaultIAVLCacheSize) tree := iavl.NewVersionedTree(db, defaultIAVLCacheSize)
err := tree.LoadVersion(id.Version) _, err := tree.LoadVersion(id.Version)
if err != nil { if err != nil {
return nil, err return nil, err
} }