From b44ccba3c4bba07e8e5a4c2a77558ed6d8f3a5d1 Mon Sep 17 00:00:00 2001 From: Gregory Sobol Date: Mon, 24 Jun 2024 13:40:25 +0200 Subject: [PATCH] fix: syscalls integrity tests gas_available (#4029) --- pallets/gear/src/benchmarking/tests/syscalls_integrity.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pallets/gear/src/benchmarking/tests/syscalls_integrity.rs b/pallets/gear/src/benchmarking/tests/syscalls_integrity.rs index 4fbc8504bfb..d249fc1d6bf 100644 --- a/pallets/gear/src/benchmarking/tests/syscalls_integrity.rs +++ b/pallets/gear/src/benchmarking/tests/syscalls_integrity.rs @@ -1023,8 +1023,8 @@ where }) } -// TODO although we do not want to test the business logic, -// this test is still unstable due to constants +// TODO: although we do not want to test the business logic, +// this test is still unstable due to constants #4030 fn check_gr_gas_available() where T: Config, @@ -1034,7 +1034,7 @@ where // Expected to burn not more than 750_000_000 // Provided gas in the test by default is 50_000_000_000 let lower = 50_000_000_000 - 750_000_000; - let upper = 50_000_000_000 - 150_000_000; + let upper = 50_000_000_000 - 100_000_000; let mp = vec![Kind::GasAvailable(lower, upper)].encode().into(); (TestCall::send_message(mp), None::)