-
Notifications
You must be signed in to change notification settings - Fork 6
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
[feature]Pallet migration wildsearch #64
Comments
pallet migration search feature from usage future: Pallet migration searchNow that we know that a new version of pallet "Scheduler" has been rolled out in the runtime upgrade, we want to see if the new version of the pallet comes with built in migrations:
|
spider is wip, will be pushed monday/tuesday |
https://github.com/uptest-sc/uptest/tree/migration_search, todo clean up and create tests |
Starting search, looking for pallet-balances
Found crate: "pallet-balances"
Crates version is: 21.0.0
Downloading crate: "pallet-balances" version: "21.0.0"
crate downloaded ok
crate saved as pallet-balances-21.0.0.gzip
unziping file
file downloaded
Glob search with pallet-balances-21.0.0
found match: "fn migrate_v0_to_v1<T: Config<I>, I: 'static>(" in file: pallet-balances-21.0.0/src/migration.rs
All done |
merged but not documented |
Goal of this is to try to auto detect migrations that already exists in pallets.
Ideas:
Git clone and do a wildsearch for "migrations" or "migrate"
Problem:
No naming standard for storage migrations
The text was updated successfully, but these errors were encountered: