Conversation
Signed-off-by: Juergen Eckel <[email protected]>
Signed-off-by: Juergen Eckel <[email protected]>
Signed-off-by: Juergen Eckel <[email protected]>
Signed-off-by: Juergen Eckel <[email protected]>
… approvial to move to py-abci package instead of the BDB hosted Signed-off-by: Juergen Eckel <[email protected]>
Signed-off-by: Juergen Eckel <[email protected]>
…o tm_upgrade Signed-off-by: Juergen Eckel <[email protected]>
Signed-off-by: Juergen Eckel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2666 +/- ##
=======================================
Coverage 93.46% 93.46%
=======================================
Files 46 46
Lines 2709 2709
=======================================
Hits 2532 2532
Misses 177 177 |
Signed-off-by: Juergen Eckel <[email protected]>
jpopesculian
left a comment
There was a problem hiding this comment.
looks good, I just have questions
bigchaindb/core.py
Outdated
|
|
||
| from abci.application import BaseApplication | ||
| from abci.types_pb2 import ( | ||
| from github.com.tendermint.tendermint.abci.types.types_pb2 import ( |
There was a problem hiding this comment.
nitpicky, but why are these imports so weird?
There was a problem hiding this comment.
good feedback. I cleaned up some difficulties with the given bigchaindb-abci. Therby exposing the types_bp2. I resolved this by proxy using abci as a proxy. similar to befoe.
| return Validator(pub_key=pub_key, | ||
| address=b'', | ||
| power=v['power']) | ||
| return ValidatorUpdate(pub_key=pub_key, |
There was a problem hiding this comment.
What exactly is this change from Validator to ValidatorUpdate doing?
There was a problem hiding this comment.
API changed. to add a Validator, ValidatorUpdate has to be called from now on.
| 1. **Wait for all the tests to pass!** | ||
| 1. Merge the pull request into the `master` branch. | ||
| 1. Go to the [bigchaindb/bigchaindb Releases page on GitHub](https://github.com/bigchaindb/bigchaindb/releases) | ||
| 2. **Wait for all the tests to pass!** |
There was a problem hiding this comment.
Is there a reason you changed the numbering format?
There was a problem hiding this comment.
I forgot a ` in front of a number, this ended up in having a strange diff here at github. fixed it with a new commit/push
There was a problem hiding this comment.
Ahh nice, good catch! but the numbers still look the same. I mean, it really doesn't matter, but I just want to bring your attention to it, if you want to change it
|
|
||
| __version__ = '2.0.0b9' | ||
| __short_version__ = '2.0b9' | ||
| __version__ = '2.0.0' |
There was a problem hiding this comment.
I think this would qualify as a 2.1 kind of change, at least, no?
There was a problem hiding this comment.
well, as this was a planned release (and TM upgrade part of the 2.0.0 but never added. I thought we put it to 2.0.0
…b.com imports Signed-off-by: Juergen Eckel <[email protected]>
Signed-off-by: Juergen Eckel <[email protected]>
jpopesculian
left a comment
There was a problem hiding this comment.
Again nitpicky comment! Looks good, you can merge it if you want 🤜 🤛
| 1. **Wait for all the tests to pass!** | ||
| 1. Merge the pull request into the `master` branch. | ||
| 1. Go to the [bigchaindb/bigchaindb Releases page on GitHub](https://github.com/bigchaindb/bigchaindb/releases) | ||
| 2. **Wait for all the tests to pass!** |
There was a problem hiding this comment.
Ahh nice, good catch! but the numbers still look the same. I mean, it really doesn't matter, but I just want to bring your attention to it, if you want to change it
|
what is an upgrade path for an existing installation? please advise how to upgrade from 2.0.0b9 to 2.0.0 |
|
@dolphinsd See "election new chain-migration" in docs. And also BEP-42 |
BigchainDB has been running with Tendermint 0.22.8 for a while. It is important to keep pace with the Tendermint evolution. Therefore, upgrading the Tendermint version is crucial.
**Problem: Tendermint had some breaking changes, therefore, the adaption wasn't straight. **
Solution
The ABCI module of py-abci got updated and a push request got raised to get this into the official repository. In addition, the ABCI driver got integrated in a way to be compliant and adaptable for the future. This pull request upgrades to Tendermint 0.31.5 (ABCI 16.0).
Issues Resolved
This pull request successfully upgrades the Tendermint version of BigchainDB.