Skip to content

Commit

Permalink
increase contract function parameter limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Lindsay committed May 11, 2023
1 parent e4cbd6c commit 11ae740
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 @@ -925,7 +925,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 11ae740

Please sign in to comment.