Skip to content

Conversation

@zeroXbrock
Copy link
Member

Motivation

campaigns were panicking in situations where we started multiple spammers because they were all calling fund_accounts with the same accounts, leading to errors like "replacement tx underpriced"

Solution

Call args.init_scenario outside of the "start async spammer" logic in campaigns, so that we wait for funding txs to be confirmed before launching the spammer.

PR Checklist

  • Added Tests
  • Added Documentation
  • Ran cargo +nightly clippy --workspace --lib --examples --tests --benches --all-features --locked --fix
  • Ran cargo fmt --all
  • Note breaking changes in PR description, if applicable
  • update changelogs
    • Update CHANGELOG.md in each affected crate
    • add a high-level description in the root changelog

@zeroXbrock zeroXbrock added the bug Something isn't working label Jan 8, 2026
@zeroXbrock zeroXbrock changed the title fix funding collisions in campaigns bugfix: funding collisions in campaigns Jan 9, 2026
@zeroXbrock zeroXbrock merged commit 105bb26 into main Jan 9, 2026
7 checks passed
@zeroXbrock zeroXbrock deleted the bugfix/campaign-funding branch January 9, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant