From 99a983488e5568d16da0954eaeb0b2c44d6c4d43 Mon Sep 17 00:00:00 2001 From: Roman Useinov Date: Sat, 22 Jun 2024 10:53:17 +0200 Subject: [PATCH] tune the constraint more --- near-sdk/tests/store_performance_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/near-sdk/tests/store_performance_tests.rs b/near-sdk/tests/store_performance_tests.rs index 19abe8402..194b4ef05 100644 --- a/near-sdk/tests/store_performance_tests.rs +++ b/near-sdk/tests/store_performance_tests.rs @@ -65,7 +65,7 @@ async fn setup_worker() -> anyhow::Result<(Arc>, AccountId)> { fn perform_asserts(total_gas: u64, col: &Collection) { // Constraints a bit relaxed to account for binary differences due to on-demand compilation. assert!( - total_gas < NearGas::from_tgas(105).as_gas(), + total_gas < NearGas::from_tgas(110).as_gas(), "performance regression {}: {}", col, NearGas::from_gas(total_gas)