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

Upgrade all RC and AH accounts to new balance logic #6968

Open
muharem opened this issue Dec 19, 2024 · 1 comment
Open

Upgrade all RC and AH accounts to new balance logic #6968

muharem opened this issue Dec 19, 2024 · 1 comment

Comments

@muharem
Copy link
Contributor

muharem commented Dec 19, 2024

The new balance introduced with paritytech/substrate#12951 has a different reference accounting strategy. The same PR introduced a lazy migration for all existing accounts to that strategy. The special flag within the account data indicates either that account migrated to the new logic or not.

In order to ignore that flag, reduce the work that needs to be done within AH migration and drop the events generated by that logic switch we migrate all existing accounts on Relay Chains and AHs before with dedicated for that balances::upgrade_accounts call.

@muharem muharem added this to AHM Dec 19, 2024
@bkchr
Copy link
Member

bkchr commented Dec 20, 2024

Please do not forget that downstream teams are using the same pallet. This means that the manual migration should be removed and rewritten as a multi block migration that can be executed by everybody.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants