-
Notifications
You must be signed in to change notification settings - Fork 68
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
fix: genesis history bounded storage #642
Conversation
Crate versions that have been updated:
Runtime version has been increased. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #642 +/- ##
==========================================
- Coverage 65.09% 64.99% -0.10%
==========================================
Files 132 133 +1
Lines 9697 9711 +14
==========================================
Hits 6312 6312
- Misses 3385 3399 +14
☔ View full report in Codecov by Sentry. |
weights::Weight, | ||
}; | ||
|
||
// This migration fixes the corrupted value in the storage and fixes it |
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.
so the current values are not correct?
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.
Yes. We manually set the storage value to something, but the storage has different data type.
looks fine except that I don't feel I can judge whether the genesis hash migration stuff is correct |
This PR removes
without_storage_info
from the genesis history pallet and adds a storage migration fixing the corrupted storage value.