Files
pezkuwi-subxt/prdoc/pr_3232.prdoc
T
Sergej Sakac 7e7c488ba8 Validate code when scheduling uprades from registrar (#3232)
Currently, anyone can registrar a code that exceeds the code size limit
when performing the upgrade from the registrar. This PR fixes that and
adds a new test to cover this.

cc @bkchr @eskimor
2024-02-14 17:00:03 +00:00

14 lines
400 B
Plaintext

# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: Validate code when scheduling uprades
doc:
- audience: Runtime User
description: |
Adds checks to ensure that the validation code is valid before scheduling
a code upgrade.
crates:
- name: polkadot-runtime-parachains