-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
transient store missed to implement store type interface #2037
Conversation
Reference: #2013 |
https://github.com/cosmos/cosmos-sdk/pull/2013/files |
@HaoyangLiu correct, I'm just adding it as a reference as that was mentioned in the description of your PR ;-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor failing in the linter (which needs to be fixed before merge) but other than that it looks good!
Codecov Report
@@ Coverage Diff @@
## develop #2037 +/- ##
===========================================
- Coverage 64.86% 64.84% -0.03%
===========================================
Files 115 115
Lines 6863 6864 +1
===========================================
- Hits 4452 4451 -1
- Misses 2127 2129 +2
Partials 284 284 |
I have fixed the issue you mentioned @rigelrozanski |
Try merging develop, might fix CI. |
looks like test_cover failing due to non-determinism, should merge in develop to see if fixes |
Re ran, and tests now pass. This should be good to merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting this!
Currently transient store doesn't implement store type interface. As a result, when calculating commitStores, the transient store will also be included, which is unexpected.
Now, we have two params store. One is IAVL store and another one is transient.
They have the same name. And the second one should not be included in commitInfo. However, due to the bugs I mentioned above, both the two store are included in commitInfo.
@jaekwon @adrianbrink