Constant cumulus_primitives_core::relay_chain::MAX_CODE_SIZE
source ยท pub const MAX_CODE_SIZE: u32 = _; // 3_145_728u32
Expand description
Maximum compressed code size we support right now. At the moment we have runtime upgrade on chain, which restricts scalability severely. If we want to have bigger values, we should fix that first.
Used for:
- initial genesis for the Parachains configuration
- checking updates to this stored runtime configuration do not exceed this limit
- when detecting a code decompression bomb in the client