Skip to content

Commit

Permalink
Tendermint upgrade (#266)
Browse files Browse the repository at this point in the history
* tendermint upgraded to 0.27.4

Tendermint is upgraded to 0.27.4. This change introduce a regression in
weave/store/iavl package.

* Upgrade to iavl v0.12 for breaking ReverseIterator change

* update genesis for compliance with tendermint 0.27.4

Upgrade of tendermint to version 0.27.4 requires update of the genesis
file in order to work again.

* upgrade tendermint version in tests
  • Loading branch information
husio authored and alpe committed Jan 9, 2019
1 parent a12715a commit c3ea9f6
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ go:
env:
- GORACE="halt_on_error=1"
BUILD_VERSION=$(echo ${TRAVIS_COMMIT} | cut -c 1-10)
TM_VERSION=v0.25.0
TM_VERSION=v0.27.4
FORCE_TM_TEST=1

install:
Expand Down
59 changes: 24 additions & 35 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ required = ["github.com/gogo/protobuf/protoc-gen-gogofaster"]

[[override]]
name = "github.com/tendermint/tendermint"
version = "=0.25.0"
version = "=0.27.4"

[[constraint]]
name = "github.com/tendermint/iavl"
version = "=0.11.0"
version = "~0.12.0"

[[override]]
name = "github.com/tendermint/go-amino"
version = "0.12.0-rc0"
version = "~0.14.1"

[prune]
go-tests = true
Expand Down
9 changes: 6 additions & 3 deletions cmd/bnsd/client/testdata/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@
},
"chain_id": "test-chain-KqKNbF",
"consensus_params": {
"block_size_params": {
"block_size": {
"max_bytes": "22020096",
"max_gas": "-1"
},
"evidence_params": {
"evidence": {
"max_age": "100000"
},
"validator": {
"pub_key_types": ["ed25519"]
}
},
"genesis_time": "2018-10-31T22:04:57.909689Z",
Expand All @@ -53,4 +56,4 @@
"name": ""
}
]
}
}
8 changes: 7 additions & 1 deletion cmd/bnsd/client/testdata/wallets.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
"address": "d4821fd051696273d09e1fbad0ebe5b5060787a7",
"name": "bert"
}
]
],
"consensus_params": {
"block_size": {
"max_bytes": "22020096",
"max_gas": "-1"
}
}
}

0 comments on commit c3ea9f6

Please sign in to comment.