From 8a9b66ce97115aa6c4437dc3e7821bbd88a55ddb Mon Sep 17 00:00:00 2001 From: Hugo Lindsay <8341280+ashneverdawn@users.noreply.github.com> Date: Thu, 11 May 2023 11:04:45 -0400 Subject: [PATCH] increase contract function parameter limit (#234) Co-authored-by: Hugo Lindsay --- runtime/foucoco/src/lib.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index 195f6ebc9..abe0da307 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -924,7 +924,13 @@ parameter_types! { .get(DispatchClass::Normal) .max_total .unwrap_or(RuntimeBlockWeights::get().max_block); - pub Schedule: pallet_contracts::Schedule = Default::default(); + pub Schedule: pallet_contracts::Schedule = pallet_contracts::Schedule::{ + limits: pallet_contracts::Limits{ + parameters: 16, + ..Default::default() + }, + ..Default::default() + }; } pub type CurrencyTypeId = u8;