From 477a51947c201f43175ced6dadd9a9e6a894b12b Mon Sep 17 00:00:00 2001 From: Sasha Gryaznov Date: Thu, 19 Jan 2023 10:03:23 +0200 Subject: [PATCH] adjust pallet_contracts config (#2108) --- .../runtimes/contracts/contracts-rococo/src/contracts.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cumulus/parachains/runtimes/contracts/contracts-rococo/src/contracts.rs b/cumulus/parachains/runtimes/contracts/contracts-rococo/src/contracts.rs index 7cebf9f5a5..7c19677603 100644 --- a/cumulus/parachains/runtimes/contracts/contracts-rococo/src/contracts.rs +++ b/cumulus/parachains/runtimes/contracts/contracts-rococo/src/contracts.rs @@ -53,9 +53,9 @@ impl Config for Runtime { type DeletionQueueDepth = DeletionQueueDepth; type DeletionWeightLimit = DeletionWeightLimit; type Schedule = MySchedule; - type CallStack = [Frame; 31]; + type CallStack = [Frame; 5]; type AddressGenerator = DefaultAddressGenerator; - type MaxCodeLen = ConstU32<{ 128 * 1024 }>; + type MaxCodeLen = ConstU32<{ 123 * 1024 }>; type MaxStorageKeyLen = ConstU32<128>; type UnsafeUnstableInterface = ConstBool; type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;