Skip to content

Commit a7e68f0

Browse files
committed
Goose rewrite of shoot
1 parent c2f17a8 commit a7e68f0

File tree

8 files changed

+338
-538
lines changed

8 files changed

+338
-538
lines changed

src/actions/goose.rs

+282-105
Large diffs are not rendered by default.

src/actions/mod.rs

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
pub mod goose;
2-
pub mod shoot;
1+
use crate::config::GatlingConfig;
2+
3+
use self::shoot::GatlingShooterSetup;
4+
5+
mod goose;
6+
mod shoot;
7+
8+
pub async fn shoot(config: GatlingConfig) -> color_eyre::Result<()> {
9+
let mut shooter = GatlingShooterSetup::from_config(config).await?;
10+
shooter.setup().await?;
11+
12+
goose::erc20(&shooter).await?;
13+
goose::erc721(&shooter).await?;
14+
15+
Ok(())
16+
}

0 commit comments

Comments
 (0)