New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go: Update various dependencies #1249
Conversation
The tests break horribly with consensus failures. I can't tell if it's because I screwed up when rebasing the iavl code or not because going back to the previous version of the fork just fails differently. I don't think it's the ReverseIterator changes because the failure is identical even when ran with the tendermint's default db provider, so my current suspicion is the iavl code. |
6ad990e
to
47eb1a0
Compare
So yeah, I broke something when I rebased/updated the iavl code because a clean copy of 0.12.0 with only |
Ok, this is an upstream iavl bug.
|
Ok, I see what the issue is. In the mux commit routine we do:
The problem occurs because The new The "easy" fix (that would work for us) would be to have [0]: For reasons that should be painfully obvious. It's only "safe" to do since we NEVER call |
This needs the iavl change and one further edit to |
e96e067
to
1910105
Compare
* Bump tendermint to 0.27.4 * Tendermint consensus timeouts now use time.Duration. * The db ReverseIterator semantics have changed. * Bump iavl to 0.12.0-ekiden2 * `LoadVersionFast` no longer exists. * Run `go mod tidy` to clean up `go.sum`.
1910105
to
4e5abca
Compare
Codecov Report
@@ Coverage Diff @@
## master #1249 +/- ##
==========================================
+ Coverage 52.86% 52.94% +0.08%
==========================================
Files 136 136
Lines 10645 10643 -2
==========================================
+ Hits 5627 5635 +8
+ Misses 4470 4465 -5
+ Partials 548 543 -5
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1249 +/- ##
==========================================
+ Coverage 52.86% 52.93% +0.07%
==========================================
Files 136 136
Lines 10645 10643 -2
==========================================
+ Hits 5627 5634 +7
+ Misses 4470 4466 -4
+ Partials 548 543 -5
Continue to review full report at Codecov.
|
Bump tendermint to 0.27.4
Bump iavl to 0.12.0-ekiden2
LoadVersionFast
no longer exists.Run
go mod tidy
to clean upgo.sum
.This will fix #1158 and #1248.