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

Add storage migration for Operator struct change and bump runtime version #3342

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

NingLin-P
Copy link
Member

#3279 removed a field from Operator struct but lack of storage migration, unfortunately. This caused issue on Taurus as the last runtime upgrade brought that change to the Taurus network. Mainnet is not affected since domain is not enabled there.

This PR adds the missing storage migration for the Operator storage and bumps the runtime version. I have simulated the issue in a local network and verified the fix does work as expected.

NOTE: this PR targets the taurus-runtime-upgrade branch (which is where the last runtime upgrade was built from) not main, because the issue only affects Taurus and the migration is one-off usage, doing so we don't need to worry about forgetting to delete the migration code and affect runtime upgrade in Mainnet in the future.

Code contributor checklist:

Signed-off-by: linning <linningde25@gmail.com>
Signed-off-by: linning <linningde25@gmail.com>
@NingLin-P NingLin-P merged commit 70b8b17 into taurus-runtime-upgrade Jan 10, 2025
8 checks passed
@NingLin-P NingLin-P deleted the add-storage-migration branch January 10, 2025 16:20
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.

2 participants