flashbots / flashbots/contender
engine_newPayload files
- Dominant language
- Rust
- Stars
- 141
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Wanna portably replicate mainnet traffic...
`contender replay` only works for chains on which you already have good orderflow/blockspace usage (forks of live chains, or chains that you've spammed heavily over a long period with contender).
The idea is to take blocks from one chain and run them on many chains with minimal effort.
> Credit to @SozinM for suggesting this feature
**Describe the solution you'd like**
Add a new command that ingests a file containing a JSON-encoded array of engine_newPayload calls, and send them to the target chain.
To determine the rate at which to send them, we should have some param like `--tps` but I think there's room for new options here -- open to something more nuanced (high-level examples: "as many as fit in the block" or "target gas per block").
Contributor guide
Assessment
This issue has not been assessed yet.