Skip to content

override senders #261

@zeroXbrock

Description

@zeroXbrock

Is your feature request related to a problem? Please describe.

Want to be able to send all transactions from one account to bypass the funding phase.

Describe the solution you'd like

  • Add a flag to ScenarioSendTxsCliArgs: override_senders: bool
  • if this flag is set:
    • skip the funding steps in setup and spam
    • replace all from_pool declarations in the scenario config with from declarations at runtime, taking the from address of the first signer given by -p (or the default account)

Additional context

Waiting for a funding step before spamming requires us to target a chain which has blocks being actively built (which is not always the case). This allows us to send spam transactions immediately, which has its uses.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions