-
Notifications
You must be signed in to change notification settings - Fork 11
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
try-runtime Report Zero Weight Despite Successful Migration Execution #997
Comments
I found that this issue is also reproducible in the development branch with any migration. |
@renauter brought good news that the migration issue is fixed in Polkadot v1.1.0. He already has a draft pull request to upgrade to v1.1.0, so we will push it forward. |
Indeed, #902 should fix this issue |
Can we close? As 902 is fixed? Thanks |
Generally every issue that needs to be checked by QA team after deployment, stays open, until they close it after validation. |
Ok! Thanks. |
I'm currently testing a storage migration on my branch development-contracts-billing-refactor with try-runtime but encountered an issue where the weight returned by ʼExecutive::try_runtime_upgrade(checks).unwrap();ʼ is 0.
The migration logic itself seems to be working correctly, as logging within the migration function shows that the proper weight is being calculated and returned. However, when running try-runtime-cli, even though the migration logic is triggered, the reported runtime ref_time consumed is 0.
End of logs:
I tried to pass --checks=none and --checks=all to on-runtime-upgrade, but the result remains the same—0 weight is reported, even though the migration logic is executed always as expected.
The text was updated successfully, but these errors were encountered: