-
Notifications
You must be signed in to change notification settings - Fork 636
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
refactor: remove StorageDataSource::DbTrieOnly #10490
Conversation
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.
Curious, is there ever a time we create a trie without flat storage? I can see we have KeyLookupMode::Trie
and correspondingly StorageGetMode::Trie
but do we even use it anywhere?
@shreyan-gupta we need to create Trie without flat storage to support old protocol version before flat storage was introduced. And also for stateless validators when using recorded storage. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #10490 +/- ##
=======================================
Coverage 71.91% 71.92%
=======================================
Files 720 720
Lines 145776 145766 -10
Branches 145776 145766 -10
=======================================
+ Hits 104841 104842 +1
- Misses 36102 36103 +1
+ Partials 4833 4821 -12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This reverts commit be9cb1a.
It was introduced as a temporary measure which is no longer required.