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

Balance account data migration fix #2960

Merged
merged 6 commits into from
Aug 5, 2024
Merged

Balance account data migration fix #2960

merged 6 commits into from
Aug 5, 2024

Conversation

wangminqi
Copy link
Member

For rococo, the initial migration of P-895/P9190, contains some error code which make account.frozen = account.reserve * 10^6
This storage error should be fixed in the following migration of rococo.

This migration will force all frozen amount to 0.

Copy link

linear bot commented Aug 5, 2024

@wangminqi wangminqi requested a review from BillyWooo August 5, 2024 08:37
Copy link
Collaborator

@BillyWooo BillyWooo left a comment

Choose a reason for hiding this comment

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

LGTM.
let's fix our mistake after CI passes successfully.

migration::ReplaceParachainStakingStorage<Runtime>,
migration::ReplaceBalancesRelatedStorage<Runtime>,
migration::ReplaceBridgeRelatedStorage<Runtime>,
),
Copy link
Collaborator

Choose a reason for hiding this comment

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

A question: why did we have only three migrations on rococo?

Copy link
Member Author

@wangminqi wangminqi Aug 5, 2024

Choose a reason for hiding this comment

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

hahahaha. We will fix it in another PR. OMG

@wangminqi wangminqi enabled auto-merge (squash) August 5, 2024 09:59
@wangminqi wangminqi merged commit 58a8d1e into dev Aug 5, 2024
34 checks passed
@BillyWooo BillyWooo deleted the p-972-fix-895-error branch August 5, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants