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

[pallet-balances] Add SimpleStorageUpdate to migrate balances without any additional inactive tracks #6313

Conversation

dmitrylavrenov
Copy link
Contributor

@dmitrylavrenov dmitrylavrenov commented Oct 31, 2024

During work on humanode-network/humanode#940 in our humanode codebase to update substrate related dependencies to polkadot-v0.9.43 we've faced some migration errors related to pallet-balances as the pallet's code has StorageVersion = 1 but our mainnet balances on_chain_version is still equal to 0.

We've researched current existing migration options like MigrateToTrackInactive, MigrateManyToTrackInactive and ResetInactive. So, there are no any options to do migration without including additional tracks of inactive funds. In our codebase we use own implementation to track inactive funds. As a result, it would great to have an option to do storage version update without doing additional inactive related stuff.

@dmitrylavrenov dmitrylavrenov force-pushed the dl-hmnd-balances-migrations-simple-storage-update branch from ac9609d to 382a753 Compare October 31, 2024 14:55
@dmitrylavrenov dmitrylavrenov deleted the dl-hmnd-balances-migrations-simple-storage-update branch October 31, 2024 15:43
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.

1 participant