Skip to content

Commit 984e30a

Browse files
committed
Goose rewrite of shoot
1 parent 752f92d commit 984e30a

File tree

8 files changed

+340
-538
lines changed

8 files changed

+340
-538
lines changed

src/actions/goose.rs

Lines changed: 284 additions & 105 deletions
Large diffs are not rendered by default.

src/actions/mod.rs

Lines changed: 16 additions & 2 deletions
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)