From f086c5744289813a5f795d1e77e5b1b83208fda2 Mon Sep 17 00:00:00 2001 From: xermicus Date: Fri, 13 Sep 2024 14:52:09 +0200 Subject: [PATCH] bump up runner runtime limits Signed-off-by: xermicus --- crates/runner/src/runtime.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/runner/src/runtime.rs b/crates/runner/src/runtime.rs index 48ce6b0..e96abc9 100644 --- a/crates/runner/src/runtime.rs +++ b/crates/runner/src/runtime.rs @@ -75,6 +75,9 @@ impl pallet_revive::Config for Runtime { type DepositPerByte = DepositPerByte; type DepositPerItem = DepositPerItem; type AddressMapper = AccountId; + type RuntimeMemory = ConstU32<{ 512 * 1024 * 1024 }>; + type PVFMemory = ConstU32<{ 1024 * 1024 * 1024 }>; + type MaxCodeLen = ConstU32<{ 256 * 1024 }>; type UnsafeUnstableInterface = UnstableInterface; type UploadOrigin = EnsureSigned; type InstantiateOrigin = EnsureSigned;