`apply_authorized_upgrade`: Remote authorization if the version check fails (#7812)
This pr ensures that we remove the `authorization` for a runtime upgrade
if the version check failed. If that check is failing, it means that the
runtime upgrade is invalid and the check will never succeed.
Besides that the pr is doing some clean ups.
---------
Co-authored-by:
cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
parent
9dbcc0e4
Branches
Pipeline
#518213
waiting for manual action
with stages
in
1 hour, 16 minutes, and 49 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- cumulus/pallets/parachain-system/src/lib.rs 0 additions, 4 deletionscumulus/pallets/parachain-system/src/lib.rs
- cumulus/pallets/parachain-system/src/tests.rs 15 additions, 8 deletionscumulus/pallets/parachain-system/src/tests.rs
- prdoc/pr_7812.prdoc 13 additions, 0 deletionsprdoc/pr_7812.prdoc
- substrate/frame/system/src/lib.rs 86 additions, 51 deletionssubstrate/frame/system/src/lib.rs
Please register or sign in to comment