Skip to content

replace timed funding in spam cli with per-batch balance-checked funding #514

@zeroXbrock

Description

@zeroXbrock

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

In the spam cli, when you pass --run-forever, the system estimates how much gas you'll use during a run, and will re-fund the accounts every period at which the spammers have used 90% of their allotted gas. This can cascade into over-funding given a long enough duration.

Describe the solution you'd like

Use the new method implemented in the RPC server; run a balance check on each of the spammer accounts at the end of a batch, and fund them if any of the accounts are within 25% of min_balance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions