Skip to content

Commit

Permalink
chore: reduce loop counter to 100k
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamle2 committed Aug 15, 2024
1 parent ba18c2d commit 1f7f16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/plus/counter_high_gas_cost/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub fn ping(_deps: DepsMut) -> Result<Response, ContractError> {
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();
Expand Down

0 comments on commit 1f7f16b

Please sign in to comment.