diff --git a/primitives/src/v4/mod.rs b/primitives/src/v4/mod.rs index 56fe856d1504..32d07512ccc6 100644 --- a/primitives/src/v4/mod.rs +++ b/primitives/src/v4/mod.rs @@ -345,7 +345,7 @@ pub const ASSIGNMENT_KEY_TYPE_ID: KeyTypeId = KeyTypeId(*b"asgn"); /// * checking updates to this stored runtime configuration do not exceed this limit /// * when detecting a code decompression bomb in the client // NOTE: This value is used in the runtime so be careful when changing it. -pub const MAX_CODE_SIZE: u32 = 3 * 1024 * 1024; +pub const MAX_CODE_SIZE: u32 = 10 * 1024 * 1024; /// Maximum head data size we support right now. ///