Registrar: Deposit covering max code size (#3020)

This PR implements phase 1 of:
https://github.com/paritytech/polkadot-sdk/pull/2372#discussion_r1461873933

NOTE: This means that all the current parachains can upgrade their code
to the maximum size for free.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Radha <86818441+DrW3RK@users.noreply.github.com>
This commit is contained in:
Sergej Sakac
2024-01-24 14:10:15 +01:00
committed by GitHub
parent a817d310bb
commit 488cbe6896
3 changed files with 45 additions and 9 deletions
+14
View File
@@ -0,0 +1,14 @@
# 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: Para registration deposit covering max code size
doc:
- audience: Runtime User
description: |
With this PR all newly registered parachains must pay a deposit equivalent to the cost of
registering validation code of the maximum size. Consequently, they can upgrade their code
to the maximum size at any point without additional cost.
crates:
- name: polkadot-runtime-common