diff --git a/near-sdk-macros/src/core_impl/contract_metadata/mod.rs b/near-sdk-macros/src/core_impl/contract_metadata/mod.rs index 91b2c0503..08b13f0a4 100644 --- a/near-sdk-macros/src/core_impl/contract_metadata/mod.rs +++ b/near-sdk-macros/src/core_impl/contract_metadata/mod.rs @@ -74,7 +74,7 @@ impl ContractMetadata { // adding nep330 if it is not present if self.standards.is_empty() - || self.standards.iter().all(|s| s.standard.to_ascii_lowercase() != "nep330") + || self.standards.iter().all(|s| !s.standard.eq_ignore_ascii_case("nep330")) { self.standards .push(Standard { standard: "nep330".to_string(), version: "1.2.0".to_string() }); diff --git a/near-sdk/tests/store_performance_tests.rs b/near-sdk/tests/store_performance_tests.rs index ff6d210de..4f69c0546 100644 --- a/near-sdk/tests/store_performance_tests.rs +++ b/near-sdk/tests/store_performance_tests.rs @@ -75,7 +75,7 @@ async fn setup_worker(contract: Contract) -> anyhow::Result<(Arc fn perform_asserts(total_gas: u64, col: impl Display, override_min_gas: Option) { // Constraints a bit relaxed to account for binary differences due to on-demand compilation. assert!( - total_gas < NearGas::from_tgas(110).as_gas(), + total_gas < NearGas::from_tgas(115).as_gas(), "performance regression {}: {}", col, NearGas::from_gas(total_gas)