Skip to content

Commit

Permalink
Fix contracts GAS_LIMIT to include a proof_size.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neopallium committed Dec 22, 2022
1 parent 70c703d commit c8d7761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/runtime/tests/src/contracts_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use test_client::AccountKeyring;
// and instead focus on the particulars of our contracts pallet.
// This includes testing CDD, permissions, and what the chain extension does.

const GAS_LIMIT: Gas = Weight::from_ref_time(10_000_000_000);
const GAS_LIMIT: Gas = Weight::from_ref_time(100_000_000_000).set_proof_size(256 * 1024);

type Asset = pallet_asset::Module<TestStorage>;
type FrameContracts = pallet_contracts::Pallet<TestStorage>;
Expand Down

0 comments on commit c8d7761

Please sign in to comment.