mev-boost icon indicating copy to clipboard operation
mev-boost copied to clipboard

flag provided but not defined: -relay

Open EvilJordan opened this issue 2 years ago • 2 comments

Running latest v1.3.2, the documentation indicates -relay can be used: https://github.com/flashbots/mev-boost#mev-boost-cli-arguments

However:

$ mev-boost -version
mev-boost v1.3.2

$ mev-boost -help
Usage of mev-boost:
  -addr string
    	listen-address for mev-boost server (default "localhost:18550")
  -debug
    	shorthand for '-loglevel debug'
  -genesis-fork-version string
    	use a custom genesis fork version
  -goerli
    	use Goerli
  -json
    	log in JSON format instead of text
  -kiln
    	use Kiln
  -loglevel string
    	minimum loglevel: trace, debug, info, warn/warning, error, fatal, panic (default "info")
  -mainnet
    	use Mainnet
  -relay-check
    	check relay status on startup and on the status API call
  -relay-monitors string
    	relay monitor urls - single entry or comma-separated list (scheme://host)
  -relays string
    	relay urls - single entry or comma-separated list (scheme://pubkey@host)
  -request-timeout-getheader int
    	timeout for getHeader requests to the relay [ms] (default 950)
  -request-timeout-getpayload int
    	timeout for getPayload requests to the relay [ms] (default 4000)
  -request-timeout-regval int
    	timeout for registerValidator requests [ms] (default 3000)
  -ropsten
    	use Ropsten
  -sepolia
    	use Sepolia
  -version
    	only print version

EvilJordan avatar Oct 16 '22 00:10 EvilJordan

Can confirm, tried to replace -relays with -relay for easier on and off switching of different relays. Screen Shot 2022-10-16 at 19 17 47

dimsome avatar Oct 16 '22 12:10 dimsome

The documentation is for the master branch, which contains features/PRs merged for the next release. The -relay flag is one of them, that's been added after v1.3.2, and will be part of the next release. Should probably make this clearer in the README!

metachris avatar Oct 16 '22 18:10 metachris