Skip to content

Commit 02b9c50

Browse files
authored
fix: remove erigon's --chain parameter (#575)
Erigon will disable discovery when --chain=dev: https://github.com/ledgerwatch/erigon/blob/3323fdc3489d845e9db607ad5ccc2190421b699d/cmd/utils/flags.go#L1322-L1331 So with the current Kurtosis startup parameter, Erigon will not connect to other EL nodes. Therefore, I propose deleting this --chain parameter in the Starlark script. If users want, they can pass the parameter through the "el_extra_params" configuration. Signed-off-by: lyfsn <[email protected]>
1 parent 205256a commit 02b9c50

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/el/erigon/erigon_launcher.star

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,6 @@ def get_config(
188188

189189
cmd = [
190190
"erigon",
191-
"--chain={0}".format(
192-
network if network in constants.PUBLIC_NETWORKS else "dev"
193-
),
194191
"{0}".format(
195192
"--override.cancun=" + str(cancun_time)
196193
if constants.NETWORK_NAME.shadowfork in network

0 commit comments

Comments
 (0)