Skip to content

Commit

Permalink
increase contract function parameter limit (#234)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Lindsay <[email protected]>
  • Loading branch information
ashneverdawn and Hugo Lindsay authored May 11, 2023
1 parent 0b4dc2e commit 8a9b66c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion runtime/foucoco/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,13 @@ parameter_types! {
.get(DispatchClass::Normal)
.max_total
.unwrap_or(RuntimeBlockWeights::get().max_block);
pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();
pub Schedule: pallet_contracts::Schedule<Runtime> = pallet_contracts::Schedule::<Runtime>{
limits: pallet_contracts::Limits{
parameters: 16,
..Default::default()
},
..Default::default()
};
}

pub type CurrencyTypeId = u8;
Expand Down

0 comments on commit 8a9b66c

Please sign in to comment.