Skip to content

run contender #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 24, 2025
Merged

run contender #185

merged 5 commits into from
Jul 24, 2025

Conversation

zeroXbrock
Copy link
Member

@zeroXbrock zeroXbrock commented Jul 21, 2025

adds contender as a component and runs it with default settings (which run fill-block) once the beacon node reports as healthy

questions

  • do we want to support L2 spamming, too?
  • should we support multiple contender scenarios, or is the default (fill-block) fine?

usage

add the --contender flag to enable contender. it will spam the EL node on whichever recipe you choose

go run main.go cook opstack --output /tmp/playground --contender

@zeroXbrock zeroXbrock marked this pull request as draft July 21, 2025 23:16
@dmarzzz
Copy link
Member

dmarzzz commented Jul 21, 2025

running this on L2 work flow would likely also be good idea! can probs be another PR. fill block scenario is likely fine for now and shouldn't block on anything more fancy, but if we want to test block builders then likely we do want some txns generating MEV, some capturing MEV, and some without MEV to test that sorting and such is working well.

Copy link
Contributor

@avalonche avalonche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is contender funded in the devnet? Also could you have a flag to enable contender, would not want it on by default yet

@zeroXbrock
Copy link
Member Author

how is contender funded in the devnet?

if no private key is specified (with -p) we use the first default anvil/hardhat account (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266) to fund the spammer accounts.

@zeroXbrock zeroXbrock marked this pull request as ready for review July 22, 2025 18:00
@zeroXbrock zeroXbrock requested a review from avalonche July 22, 2025 20:18
@avalonche avalonche merged commit a4aa2dc into main Jul 24, 2025
8 checks passed
@zeroXbrock zeroXbrock deleted the feat/run-contender branch July 24, 2025 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants