Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-Petrov committed May 16, 2024
1 parent f636970 commit 461d5a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ The configuration is defined by the following spec
gatling shoot -c config/default.yaml
```

For a read test:
For read tests:

```bash
gatling read -c config/default.yaml
```
Expand Down
4 changes: 2 additions & 2 deletions config/read_params/get_events.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"from_block": {"block_number": null},
"to_block": {"block_number": null},
"from_block": { "block_number": null },
"to_block": { "block_number": null },
"address": null,
"keys": [],
"continuation_token": null,
Expand Down
5 changes: 2 additions & 3 deletions src/actions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ pub async fn shoot(config: GatlingConfig) -> color_eyre::Result<()> {

global_report.benches.push(report.0);
blocks.get_or_insert((report.1, report.2)).1 = report.2;

} else {
log::info!("Skipping erc721 mints")
}
Expand All @@ -61,8 +60,8 @@ pub async fn shoot(config: GatlingConfig) -> color_eyre::Result<()> {
info!("Start and End Blocks: {start_block}, {end_block}");

let rpc_result = all_bench_report
.with_block_range(shooter_setup.rpc_client(), start_block, end_block)
.await;
.with_block_range(shooter_setup.rpc_client(), start_block, end_block)
.await;

global_report.all_bench_report = Some(all_bench_report);

Expand Down

0 comments on commit 461d5a2

Please sign in to comment.