You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added possibility to have a secondary el on the host (#219)
This change, relatively simple and backward compatible, enables syncing
an external execution client from the host itself instead of relying on
running within Docker. We tested it and to succesfully sync with the
inner el peer, one further change is needed which is to expose the P2P
address to the public interface (instead of only within the host), PR
incoming for this.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ Flags:
49
49
-`--latest-fork`: Enable the latest fork at startup
50
50
-`--block-time`: Change the default block time (`12s`), to be provided in duration format (e.g. `--block-time=1s`)
51
51
-`--use-reth-for-validation`: Use Reth EL for block validation in mev-boost.
52
-
-`--secondary-el`: Port to use for a secondary el (enables the internal cl-proxy proxy)
52
+
-`--secondary-el`: Host or port to use for a secondary el (enables the internal cl-proxy proxy). Can be a port number (e.g., '8551') in which case the full URL is derived as `http://localhost:<port>` or a complete URL (e.g., `http://remote-host:8551`), use `http://host.docker.internal:<port>` to reach a secondary execution client that runs on your host and not within Docker.
53
53
-`--use-native-reth`: Run the Reth EL binary on the host instead of docker (recommended to bind to the Reth DB)
54
54
-`--use-separate-mev-boost`: Spins a seperate service for mev-boost in addition with mev-boost-relay
flags.BoolVar(&l.latestFork, "latest-fork", false, "use the latest fork")
46
50
flags.DurationVar(&l.blockTime, "block-time", time.Duration(defaultL1BlockTimeSeconds)*time.Second, "Block time to use for the L1")
47
51
flags.BoolVar(&l.useRethForValidation, "use-reth-for-validation", false, "use reth for validation")
48
-
flags.Uint64Var(&l.secondaryELPort, "secondary-el", 0, "port to use for the secondary builder")
52
+
flags.StringVar(&l.secondaryEL, "secondary-el", "", "Address or port to use for the secondary EL (execution layer); Can be a port number (e.g., '8551') in which case the full URL is derived as `http://localhost:<port>` or a complete URL (e.g., `http://docker-container-name:8551`), use `http://host.docker.internal:<port>` to reach a secondary execution client that runs on your host and not within Docker.")
49
53
flags.BoolVar(&l.useNativeReth, "use-native-reth", false, "use the native reth binary")
50
54
flags.BoolVar(&l.useSeparateMevBoost, "use-separate-mev-boost", false, "use separate mev-boost and mev-boost-relay services")
0 commit comments