assign agent balances in TestConfig
@Parizval ya está trabajando en esto.
Desde el 19/12/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Is your feature request related to a problem? Please describe.
--min-balance forces us to choose one balance for every pool, but different pools may have different needs. That's why they are differentiated in the first place.
Sometimes the contract deployer needs to have a lot of eth to set up the contracts, sometimes the spammers need lots of ETH so they can spam for days straight, etc...
Describe the solution you'd like
Modify PlanConfig and add a directive to TestConfig that lets you specify starting balance per agent, designated by from_pool names. Call it fund.
Example (TOML):
[fund]
admin = "1 eth"
spammers = "10 eth"
[[spam]]
[spam.tx]
from_pool = "spammers" # the account sending this will start with 10 eth
...
👉 Then repurpose --min-balance from the CLI. Instead of using it to fund accounts at the start, use it as a trigger to know when the accounts should be refilled. After every batch of txs is sent, check the balance of a single spammer account (any account, say #0), and if its balance is below min_balance, fund all spammer accounts with the amount specified by their allocation in fund.
In the case that a from_pool is not given an explicit designation in fund (or fund is not specified), assume 0.01 ETH to be its fund amount.
- Lenguaje dominante
- Rust
- Estrellas
- 144
- Forks
- 58
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de flashbots/contender
-
engine_newPayload filesAbiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
-
server: generate reportsAbiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
server: export DB from sessionQuizá libre de nuevo @zeroXbrock la tomó hace 203 días y no hay ningún pull request abierto. Abiertoenhancement help wanted question
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 62/100
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
Todos los issues de flashbots/contender
Issues similares
-
priority middle
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
KATO-Hiro/AtCoderClans#13029 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
RustCrypto/formats#2544 ·
Los mantenedores suelen responder en 1 día
-
bug ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
userFRM/egui-charts#3363 ·
Los mantenedores suelen responder en 1 día
-
ada documentation mobile report
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
physicsdolphin/nv-uefi-unlocker#254 · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
kindraywind/rustnarok-client#1382 ·
Los mantenedores suelen responder en 1 día