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

Ensure successful account storage migrations and clean up migrated storage keys #279

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

F-OBrien
Copy link
Collaborator

@F-OBrien F-OBrien commented Jan 8, 2025

Account Migration Improvements:

  • Enhanced the migrateUnPrefixedAccounts method in accountMigrations.ts to include verification of successful migrations and removal of old storage keys.

Initialization Enhancements:

  • Added a new function initializeCryptoAndKeyring in background-init.ts to ensure cryptographic functions are ready and keyring data is loaded during the extension's installation. Removed redundant initialization code from background.ts to streamline the setup process.

Migration Check:

  • Modified the checkForUpdateAndMigrate function in migrations.ts to run migrations for version 2.2.0 or earlier.

# [2.2.0](2.1.0...2.2.0) (2024-12-09)

### Bug Fixes

* update loading animation ([866123f](866123f))

### Features

* include steps to connect  a ledger device in the signing flow if not connected ([5a28506](5a28506))
* remove the ping messages from PolymeshInjected ([edf381f](edf381f))
* show protocol fees for nested calls + bump SDK and Polymesh types dependencies ([c1d3967](c1d3967))
@F-OBrien F-OBrien merged commit d26e9e7 into develop Jan 9, 2025
2 checks passed
@F-OBrien F-OBrien deleted the acc-migration branch January 9, 2025 10:26
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