Skip to content

Commit

Permalink
fix invalid index bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroXbrock committed Nov 18, 2024
1 parent a0f4cb2 commit 93c47eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/core/src/generator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ where

let tx = NamedTxRequest::new(
templater.template_function_call(
&self.make_strict_call(&req, i)?, // 'from' address injected here
&self.make_strict_call(&req, i % num_steps)?, // 'from' address injected here
&placeholder_map,
)?,
None,
Expand Down
2 changes: 1 addition & 1 deletion scenarios/spamMe.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ fuzz = [{ param = "gasAmount", min = "22000", max = "69000" }]

[[spam.bundle.tx]]
to = "{SpamMe}"
from_pool = "greenpool"
from_pool = "bluepool"
signature = "tipCoinbase()"
value = "10000000000000000"

0 comments on commit 93c47eb

Please sign in to comment.