-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat: staking v5 migrations #249
Conversation
run even if everything is up to date
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.
Do we not want to switch to the "correct way" of using storage versions?
pallets/parachain-staking/src/lib.rs
/// The current storage version.
const STORAGE_VERSION: StorageVersion = StorageVersion::new(4);
...
#[pallet::storage_version(STORAGE_VERSION)]
Apart from that some minor questions. Overall it looks good.
I wouldn't do that now |
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.
Thanks for resolving my questions/would's. LGTM!
Total
SelectedCandidates
CollatorState
CandidatePool
custom types
This PR introduces new custom JS-types which are required for compatibility with our SDK and the Polkadot Apps. Please use the following types to test the code with the Polkadot Apps:
JS-Types
Checklist:
array[3]
useget(3)
, ...)