Skip to content
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

fix: pallet account id after runtime upgrade #345

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

irmannmal
Copy link
Member

JIRA LINK

Changelog

  • fix: pallet account id after runtime upgrade

@irmannmal irmannmal added the fix Something isn't working label Aug 22, 2022
@irmannmal irmannmal self-assigned this Aug 22, 2022
@irmannmal irmannmal merged commit 5bd40e8 into debionetwork:main Aug 23, 2022
@irmannmal irmannmal deleted the fix/pallet-account-id branch August 23, 2022 03:55
@@ -20,6 +18,11 @@ pub fn migrate<T: Config>() -> Weight {
StorageVersion::new(2).put::<Pallet<T>>();
}

Copy link

@anonymousGiga anonymousGiga Aug 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here need add version = StorageVersion::get::<Pallet<T>>();, should get StorageVersion again to be compatible with discontinuous upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants