From 1f7f16b5908a1d2bb435d7362f43c87a06a5c353 Mon Sep 17 00:00:00 2001 From: ducphamle2 Date: Thu, 15 Aug 2024 15:26:07 -0700 Subject: [PATCH] chore: reduce loop counter to 100k --- package/plus/counter_high_gas_cost/src/contract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/plus/counter_high_gas_cost/src/contract.rs b/package/plus/counter_high_gas_cost/src/contract.rs index f22c73d4..76d8a89f 100644 --- a/package/plus/counter_high_gas_cost/src/contract.rs +++ b/package/plus/counter_high_gas_cost/src/contract.rs @@ -30,7 +30,7 @@ pub fn ping(_deps: DepsMut) -> Result { let mut i = 0; let mut str = "".to_string(); let mut clone_str = "".to_string(); - while i < 700000 { + while i < 100000 { i += 1; str.push_str("x"); clone_str = str.clone().clone().clone().clone();