-
Notifications
You must be signed in to change notification settings - Fork 81
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
Remove crowdloan pallets #1834
Remove crowdloan pallets #1834
Conversation
I think we also need to create a migration to remove any storage from them |
Yes, we can use the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1834 +/- ##
==========================================
- Coverage 48.54% 48.47% -0.08%
==========================================
Files 169 165 -4
Lines 13370 12961 -409
==========================================
- Hits 6491 6283 -208
+ Misses 6879 6678 -201 ☔ View full report in Codecov by Sentry. |
We have an issue removing the storage:
It's 259% heavier than a block, so we need to split this, which is not trivial I guess. Maybe we can leave the migration for another PR and start cleaning the repo now for the upgrade |
@gpmayorga the PR still appears as failed when it shouldn't 🤔. Something missing? |
Multiblock migrations are maybe already available: paritytech/polkadot-sdk#1554 |
Unfortunately, multiblock migrations are part of SDK v1.9.0. IMO, it's absolutely feasible to keep the dead storage until then because it doesn't impose any risk. It just needs to be cleaned at some point. |
Then, we can merge this! |
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.
I created a follow-up task: #1836
I already did it, but I close mine and use yours 👍🏻 |
Description
Remove:
pallet-croddloan-claim
pallet-crowdloan-reward
libs/proofs
(used only by them)altair
andcentrifuge
(Tech-debt)