Skip to content

Commit

Permalink
fix: syscalls integrity tests gas_available (#4029)
Browse files Browse the repository at this point in the history
  • Loading branch information
grishasobol authored Jun 24, 2024
1 parent d26eb33 commit b44ccba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pallets/gear/src/benchmarking/tests/syscalls_integrity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>()
where
T: Config,
Expand All @@ -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::<DefaultPostCheck>)
Expand Down

0 comments on commit b44ccba

Please sign in to comment.