Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ $ builder-playground cook l1 --latest-fork --output ~/my-builder-testnet --genes
- `--log-level` (string): Log level to use (debug, info, warn, error, fatal). Defaults to `info`.
- `--labels` (key=val): Custom labels to apply to your deployment.
- `--disable-logs` (bool): Disable the logs for the services. Defaults to `false`.
- `--contender` (bool): Enable [contender](https://github.com/flashbots/contender) spammer. Required to use other contender flags.
- `--contender.arg` (string): Pass custom args to the contender CLI.
Example: `--contender.arg "--tpb 20"`
- `--contender.target` (string): Change the default target node to spam. On the `l1` recipe, the default is "el", and on `opstack` it's "op-geth".

To stop the playground, press `Ctrl+C`.

Expand Down
4 changes: 4 additions & 0 deletions playground/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,10 @@ func (c *Contender) Run(service *Service, ctx *ExContext) {
if flag == "-r" && seen["--rpc-url"] {
return true
}
if (flag == "--tpb" || flag == "--txs-per-second" || flag == "--tps" || flag == "--txs-per-block") &&
(seen["--tpb"] || seen["--tps"] || seen["--txs-per-second"] || seen["--txs-per-block"]) {
return true
}
return false
}

Expand Down