Skip to content

keep spammers funded in background #500

@zeroXbrock

Description

@zeroXbrock

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

For long-running spammers (esp. when passing --forever) the spammer accounts will eventually run out of ETH, and the spammer's txs will cease to land. In most devnet scenarios, the account that funded the spammers will have tons of ETH (10,000), and will be able to fund the spammer accounts for several days before it runs out.

Describe the solution you'd like

Add a new task that runs in the background while spamming, which funds the accounts periodically.

The period at which the accounts should be funded should be just less than the time it takes for them to run out of ether by spamming. --min-balance, get_max_spam_cost(), and --tps/--tpb should be sufficient to calculate this period.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions