Skip to content

Conversation

MariusVanDerWijden
Copy link
Collaborator

📝 Summary

This PR adds urfave/cli as a cli framework and reworks some of the logic in the main package.
It also gets rid of the weird redirections into the cli package

⛱ Motivation and Context

Cleanup, adds a cli framework which makes adding flags easier in the future

@MariusVanDerWijden
Copy link
Collaborator Author

closes #640

@metachris
Copy link
Collaborator

Cool, thanks! A few quick notes

  • The "weird indirection" was to allow go install github.com/flashbots/mev-boost (it won't work without a root main.go file i think)
  • I like urfave a lot, and the cli flags have grown significantly and unpleasantly in mev-boost. But is the switch to urfave backwards-compatible, or would it break? This seems to be a major concern, if the upgrade would force all proposers to update their cli flags.

jtraglia
jtraglia previously approved these changes Jul 24, 2024
@metachris
Copy link
Collaborator

@MariusVanDerWijden can you please add the root main.go file back, so go install github.com/flashbots/mev-boost works?

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