-
Notifications
You must be signed in to change notification settings - Fork 19
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
Schema Migration fix for newer mainnet schema data #2165
Conversation
a851083
to
d8d26d9
Compare
d8d26d9
to
0246715
Compare
Codecov ReportAttention: Patch coverage is
|
here is the command I ran to check the migration against the mainnet. You need to compile the runtime with
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
I would recommend to run try-runtime against mainnet for additional verification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! 👍
Goal
The goal of this PR is to update the schemas migration with respect to the newer data on chain.
Part of #2006
Discussion
Result of
try-runtime
[2024-09-26T20:42:48Z INFO runtime::schemas] Running pre_upgrade...
[2024-09-26T20:42:48Z INFO runtime::schemas] Running storage migration...
[2024-09-26T20:42:48Z INFO runtime::schemas] Storage migrated to version 4 read=15, write=15, bytes=11138
[2024-09-26T20:42:48Z INFO runtime::schemas] Migration Calculated weights=Weight { ref_time: 1824840000, proof_size: 11138 }
[2024-09-26T20:42:48Z INFO runtime::schemas] Running post_upgrade...
[2024-09-26T20:42:48Z INFO runtime::schemas] Finished post_upgrade