Skip to content

Commit

Permalink
Clarify error message for concurency and run amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-Petrov committed Mar 19, 2024
1 parent dc679b8 commit 816b34c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actions/goose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub async fn erc20(shooter: &GatlingShooterSetup) -> color_eyre::Result<GooseMet

ensure!(
config.run.num_erc20_transfers >= config.run.concurrency,
"Too few erc20 transfers for the amount of concurrency"
"Too few erc20 transfers for the amount of concurrent users"
);

// div_euclid will truncate integers when not evenly divisable
Expand Down Expand Up @@ -110,7 +110,7 @@ pub async fn erc721(shooter: &GatlingShooterSetup) -> color_eyre::Result<GooseMe

ensure!(
config.run.num_erc721_mints >= config.run.concurrency,
"Too few erc721 mints for the amount of concurrency"
"Too few erc721 mints for the amount of concurrent users"
);

// div_euclid will truncate integers when not evenly divisable
Expand Down Expand Up @@ -266,7 +266,7 @@ pub async fn read_method(

ensure!(
amount >= config.run.concurrency,
"Too few reads for the amount of concurrency"
"Too few reads for the amount of concurrent users"
);

// div_euclid will truncate integers when not evenly divisable
Expand Down

0 comments on commit 816b34c

Please sign in to comment.