-
Notifications
You must be signed in to change notification settings - Fork 9
🏗️ Funding pallet migration for enabling async backing #472
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
🏗️ Funding pallet migration for enabling async backing #472
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
ba2441f to
fcf9ede
Compare
e07c1a9 to
cbc803c
Compare
9b6d309 to
16119cf
Compare
cbc803c to
4317213
Compare
3a47582 to
257656a
Compare
8c9017b to
d1e02ed
Compare
3ec3366 to
c5c8e08
Compare
b5ae21f to
7c4f030
Compare
d1e02ed to
699d4da
Compare
7c4f030 to
4d70109
Compare
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.
Pull Request Overview
This PR migrates the funding pallet to support asynchronous backing by updating the storage migration paths and introducing a new vesting info migration.
- Updated migration paths in polimec runtime to reflect new module structure.
- Added a new vesting info migration (v7 to v8) to adapt vesting times for a faster block time.
- Refactored funding pallet storage migration module and updated storage version reference.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| runtimes/polimec/src/lib.rs | Updated migration paths to the new module structure and added vesting info migration. |
| pallets/funding/src/migrations/vesting_info.rs | Introduced new vesting info migration with runtime upgrade hooks and tests. |
| pallets/funding/src/migrations/storage_migrations.rs | Refactored import statements and removed redundant storage version constant. |
| pallets/funding/src/migrations/mod.rs | Created a centralized module file with the current storage version. |
| pallets/funding/src/lib.rs | Updated pallet attribute to reference the new migration module. |
Comments suppressed due to low confidence (1)
pallets/funding/src/migrations/vesting_info.rs:1
- [nitpick] The file header comment incorrectly references 'storage_migrations.rs' instead of 'vesting_info.rs', which may cause confusion. Please update the comment to accurately reflect the file's purpose.
// storage_migrations.rs
4d70109 to
a4226b4
Compare
f4e4f84 to
e8ccde4
Compare
a4226b4 to
ce89017
Compare
ce89017 to
cfcee7a
Compare
e8ccde4 to
6ab4ec1
Compare
cfcee7a to
ea3bfe1
Compare
6ab4ec1 to
e087f8f
Compare
ea3bfe1 to
4bdace6
Compare
4bdace6 to
4858afd
Compare
4858afd to
4bdace6
Compare
4bdace6 to
4858afd
Compare
4858afd to
4bdace6
Compare
4bdace6 to
4858afd
Compare
4858afd to
4bdace6
Compare
4bdace6 to
4858afd
Compare
4858afd to
94b245d
Compare

What?
migrates UserMigrations to use relay chain block number, assuming change from 12s block time to 6s. Tested with try-runtime and a unit test
Why?
How?
Testing?
Screenshots (optional)
Anything Else?