Commit 02b9c504 authored by L.Y's avatar L.Y Committed by GitHub

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: default avatarlyfsn <dev.wangyu@proton.me>
parent 205256a6
...@@ -188,9 +188,6 @@ def get_config( ...@@ -188,9 +188,6 @@ def get_config(
cmd = [ cmd = [
"erigon", "erigon",
"--chain={0}".format(
network if network in constants.PUBLIC_NETWORKS else "dev"
),
"{0}".format( "{0}".format(
"--override.cancun=" + str(cancun_time) "--override.cancun=" + str(cancun_time)
if constants.NETWORK_NAME.shadowfork in network if constants.NETWORK_NAME.shadowfork in network
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment