Contracts: Tweak test (#14579)

This commit is contained in:
PG Herveou authored and GitHub committed 2023-07-20 16:43:35 +00:00
1 parent 0b2e7d4df5
commit 99ad485101
2 files changed
+13 -7

No files matched your search

+4 -1
View File
@@ -3019,7 +3019,10 @@ fn gas_estimation_call_runtime() {
// Call something trivial with a huge gas limit so that we can observe the effects
// of pre-charging. This should create a difference between consumed and required.
let call = RuntimeCall::Dummy(pallet_dummy::Call::overestimate_pre_charge {});
let call = RuntimeCall::Dummy(pallet_dummy::Call::overestimate_pre_charge {
pre_charge: Weight::from_parts(10_000_000, 0),
actual_weight: Weight::from_parts(100, 0),
});
let result = Contracts::bare_call(
ALICE,
addr_caller.clone(),