Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate holesky #203

Merged
merged 15 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ require (
github.com/rivo/tview v0.0.0-20230621164836-6cc0565babaf // indirect
github.com/sethvargo/go-password v0.2.0
github.com/shirou/gopsutil/v3 v3.23.1
github.com/stader-labs/ethcli-ui/configuration v0.0.0-20231226083422-f3da49b84cc1
github.com/stader-labs/ethcli-ui/wizard v0.0.0-20231226083422-f3da49b84cc1
github.com/stader-labs/ethcli-ui/configuration v0.0.0-20240401032301-ba44ad7f2388
github.com/stader-labs/ethcli-ui/wizard v0.0.0-20240401032301-ba44ad7f2388
github.com/tyler-smith/go-bip39 v1.1.0
github.com/urfave/cli v1.22.10
github.com/wealdtech/go-eth2-types/v2 v2.7.0
Expand Down
10 changes: 4 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1231,10 +1231,10 @@ github.com/spf13/viper v1.0.0/go.mod h1:A8kyI5cUJhb8N+3pkfONlcEcZbueH6nhAm0Fq7Sr
github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg=
github.com/src-d/envconfig v1.0.0/go.mod h1:Q9YQZ7BKITldTBnoxsE5gOeB5y66RyPXeue/R4aaNBc=
github.com/stader-labs/ethcli-ui/configuration v0.0.0-20231226083422-f3da49b84cc1 h1:g0iwUPYfGEvaUkulr5o+40dR9UQFXconbLWN5+/DdoA=
github.com/stader-labs/ethcli-ui/configuration v0.0.0-20231226083422-f3da49b84cc1/go.mod h1:gZcnx3O0sm+mEO2INhKDHw+iUzJH5tPaX4cv5SN5tsQ=
github.com/stader-labs/ethcli-ui/wizard v0.0.0-20231226083422-f3da49b84cc1 h1:nmJhcmTlR/SkEg4A8wnkTI4fOSj33786crIyBKHB6eg=
github.com/stader-labs/ethcli-ui/wizard v0.0.0-20231226083422-f3da49b84cc1/go.mod h1:5ojn2lxD9wd5sF0KYaHBDcpUC3ACFgqr0XG1atCIeAs=
github.com/stader-labs/ethcli-ui/configuration v0.0.0-20240401032301-ba44ad7f2388 h1:gBMnIJ6ImRnLtR3svUvKNo/aaRm6pTaaTqJAsvDM4WI=
github.com/stader-labs/ethcli-ui/configuration v0.0.0-20240401032301-ba44ad7f2388/go.mod h1:cZXmAbD7pFlFRFpplBAvs0aZQQpn1mqrOFXvk1eG5GE=
github.com/stader-labs/ethcli-ui/wizard v0.0.0-20240401032301-ba44ad7f2388 h1:UQnT1U0O6MMeFD4kwjRLzwnrsN9qEVoC2GYIif/EhyQ=
github.com/stader-labs/ethcli-ui/wizard v0.0.0-20240401032301-ba44ad7f2388/go.mod h1:foAYtd7iN9Dw69NtRaYaSw1x77IufSTxG5XMFfhPNCg=
github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=
github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 h1:Oo2KZNP70KE0+IUJSidPj/BFS/RXNHmKIJOdckzml2E=
github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=
Expand Down Expand Up @@ -1692,15 +1692,13 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c=
golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand Down
92 changes: 23 additions & 69 deletions install/scripts/start-bn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,12 @@ if [ "$NETWORK" = "mainnet" ]; then
PRYSM_NETWORK="--mainnet"
TEKU_NETWORK="mainnet"
PRYSM_GENESIS_STATE=""
elif [ "$NETWORK" = "prater" ]; then
LH_NETWORK="prater"
LODESTAR_NETWORK="goerli"
NIMBUS_NETWORK="prater"
PRYSM_NETWORK="--prater"
TEKU_NETWORK="prater"
PRYSM_GENESIS_STATE="--genesis-state=/validators/genesis-prater.ssz"
elif [ "$NETWORK" = "devnet" ]; then
LH_NETWORK="prater"
LODESTAR_NETWORK="goerli"
NIMBUS_NETWORK="prater"
PRYSM_NETWORK="--prater"
TEKU_NETWORK="prater"
PRYSM_GENESIS_STATE="--genesis-state=/validators/genesis-prater.ssz"
elif [ "$NETWORK" = "zhejiang" ]; then
LH_NETWORK=""
LODESTAR_NETWORK=""
NIMBUS_NETWORK="/zhejiang"
PRYSM_NETWORK="--chain-config-file=/zhejiang/config.yaml"
TEKU_NETWORK="/zhejiang/config.yaml"
PRYSM_GENESIS_STATE="--genesis-state=/zhejiang/genesis.ssz"
elif [ "$NETWORK" = "holesky" ]; then
LH_NETWORK="holesky"
LODESTAR_NETWORK="holesky"
NIMBUS_NETWORK="holesky"
PRYSM_NETWORK="--holesky"
TEKU_NETWORK="holesky"
else
echo "Unknown network [$NETWORK]"
exit 1
Expand All @@ -84,14 +69,8 @@ fi
# Lighthouse startup
if [ "$CC_CLIENT" = "lighthouse" ]; then

if [ "$NETWORK" = "zhejiang" ]; then
LH_NETWORK_ARG="--testnet-dir=/zhejiang"
else
LH_NETWORK_ARG="--network $LH_NETWORK"
fi

CMD="$PERF_PREFIX /usr/local/bin/lighthouse beacon \
$LH_NETWORK_ARG \
--network $LH_NETWORK \
--datadir /ethclient/lighthouse \
--port $BN_P2P_PORT \
--discovery-port $BN_P2P_PORT \
Expand All @@ -104,6 +83,7 @@ if [ "$CC_CLIENT" = "lighthouse" ]; then
--staking \
--http-allow-sync-stalled \
--execution-jwt=/secrets/jwtsecret \
--historic-state-cache-size 2 \
$BN_ADDITIONAL_FLAGS"

# Performance tuning for ARM systems
Expand Down Expand Up @@ -132,25 +112,15 @@ if [ "$CC_CLIENT" = "lighthouse" ]; then
CMD="$CMD --monitoring-endpoint $BITFLY_NODE_METRICS_ENDPOINT?apikey=$BITFLY_NODE_METRICS_SECRET&machine=$BITFLY_NODE_METRICS_MACHINE_NAME"
fi

if [ "$NETWORK" = "zhejiang" ]; then
CMD="$CMD --boot-nodes=enr:-Iq4QMCTfIMXnow27baRUb35Q8iiFHSIDBJh6hQM5Axohhf4b6Kr_cOCu0htQ5WvVqKvFgY28893DHAg8gnBAXsAVqmGAX53x8JggmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk,enr:-Ly4QOS00hvPDddEcCpwA1cMykWNdJUK50AjbRgbLZ9FLPyBa78i0NwsQZLSV67elpJU71L1Pt9yqVmE1C6XeSI-LV8Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhEDhTgGJc2VjcDI1NmsxoQIgMUMFvJGlr8dI1TEQy-K78u2TJE2rWvah9nGqLQCEGohzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA,enr:-MK4QMlRAwM7E8YBo6fqP7M2IWrjFHP35uC4pWIttUioZWOiaTl5zgZF2OwSxswTQwpiVCnj4n56bhy4NJVHSe682VWGAYYDHkp4h2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhJK-7tSJc2VjcDI1NmsxoQLDq7LlsXIXAoJXPt7rqf6CES1Q40xPw2yW0RQ-Ly5S1YhzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA,enr:-MS4QCgiQisRxtzXKlBqq_LN1CRUSGIpDKO4e2hLQsffp0BrC3A7-8F6kxHYtATnzcrsVOr8gnwmBnHYTFvE9UmT-0EHh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhKXoVKCJc2VjcDI1NmsxoQK6J-uvOXMf44iIlilx1uPWGRrrTntjLEFR2u-lHcHofIhzeW5jbmV0c4gAAAAAAAAAAIN0Y3CCIyiDdWRwgiMo,enr:-LK4QOQd-elgl_-dcSoUyHDbxBFNgQ687lzcKJiSBtpCyPQ0DinWSd2PKdJ4FHMkVLWD-oOquXPKSMtyoKpI0-Wo_38Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhES3DaqJc2VjcDI1NmsxoQNIf37JZx-Lc8pnfDwURcHUqLbIEZ1RoxjZuBRtEODseYN0Y3CCIyiDdWRwgiMo,enr:-KG4QLNORYXUK76RPDI4rIVAqX__zSkc5AqMcwAketVzN9YNE8FHSu1im3qJTIeuwqI5JN5SPVsiX7L9nWXgWLRUf6sDhGV0aDKQ7ijXswAAAHJGBQAAAAAAAIJpZIJ2NIJpcIShI5NiiXNlY3AyNTZrMaECpA_KefrVAueFWiLLDZKQPPVOxMuxGogPrI474FaS-x2DdGNwgiMog3VkcIIjKA"
fi

exec ${CMD}

fi

# Lodestar startup
if [ "$CC_CLIENT" = "lodestar" ]; then

if [ "$NETWORK" = "zhejiang" ]; then
LODESTAR_NETWORK_ARG="--paramsFile=/zhejiang/config.yaml --genesisStateFile=/zhejiang/genesis.ssz"
else
LODESTAR_NETWORK_ARG="--network $LODESTAR_NETWORK"
fi

CMD="$PERF_PREFIX /usr/app/node_modules/.bin/lodestar beacon \
$LODESTAR_NETWORK_ARG \
CMD="$PERF_PREFIX /usr/local/bin/node --max-http-header-size=65536 /usr/app/packages/cli/bin/lodestar beacon \
--network $LODESTAR_NETWORK \
--dataDir /ethclient/lodestar \
--port $BN_P2P_PORT \
--execution.urls $EC_ENGINE_ENDPOINT \
Expand Down Expand Up @@ -180,9 +150,6 @@ if [ "$CC_CLIENT" = "lodestar" ]; then
CMD="$CMD --checkpointSyncUrl $CHECKPOINT_SYNC_URL"
fi

if [ "$NETWORK" = "zhejiang" ]; then
CMD="$CMD --bootnodes=enr:-Iq4QMCTfIMXnow27baRUb35Q8iiFHSIDBJh6hQM5Axohhf4b6Kr_cOCu0htQ5WvVqKvFgY28893DHAg8gnBAXsAVqmGAX53x8JggmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk,enr:-Ly4QOS00hvPDddEcCpwA1cMykWNdJUK50AjbRgbLZ9FLPyBa78i0NwsQZLSV67elpJU71L1Pt9yqVmE1C6XeSI-LV8Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhEDhTgGJc2VjcDI1NmsxoQIgMUMFvJGlr8dI1TEQy-K78u2TJE2rWvah9nGqLQCEGohzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA,enr:-MK4QMlRAwM7E8YBo6fqP7M2IWrjFHP35uC4pWIttUioZWOiaTl5zgZF2OwSxswTQwpiVCnj4n56bhy4NJVHSe682VWGAYYDHkp4h2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhJK-7tSJc2VjcDI1NmsxoQLDq7LlsXIXAoJXPt7rqf6CES1Q40xPw2yW0RQ-Ly5S1YhzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA,enr:-MS4QCgiQisRxtzXKlBqq_LN1CRUSGIpDKO4e2hLQsffp0BrC3A7-8F6kxHYtATnzcrsVOr8gnwmBnHYTFvE9UmT-0EHh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhKXoVKCJc2VjcDI1NmsxoQK6J-uvOXMf44iIlilx1uPWGRrrTntjLEFR2u-lHcHofIhzeW5jbmV0c4gAAAAAAAAAAIN0Y3CCIyiDdWRwgiMo,enr:-LK4QOQd-elgl_-dcSoUyHDbxBFNgQ687lzcKJiSBtpCyPQ0DinWSd2PKdJ4FHMkVLWD-oOquXPKSMtyoKpI0-Wo_38Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhES3DaqJc2VjcDI1NmsxoQNIf37JZx-Lc8pnfDwURcHUqLbIEZ1RoxjZuBRtEODseYN0Y3CCIyiDdWRwgiMo,enr:-KG4QLNORYXUK76RPDI4rIVAqX__zSkc5AqMcwAketVzN9YNE8FHSu1im3qJTIeuwqI5JN5SPVsiX7L9nWXgWLRUf6sDhGV0aDKQ7ijXswAAAHJGBQAAAAAAAIJpZIJ2NIJpcIShI5NiiXNlY3AyNTZrMaECpA_KefrVAueFWiLLDZKQPPVOxMuxGogPrI474FaS-x2DdGNwgiMog3VkcIIjKA"
fi

exec ${CMD}

Expand Down Expand Up @@ -237,21 +204,22 @@ if [ "$CC_CLIENT" = "nimbus" ]; then
CMD="$CMD --history=$NIMBUS_PRUNING_MODE"
fi

if [ "$NETWORK" = "zhejiang" ]; then
CMD="$CMD --bootstrap-node=enr:-Iq4QMCTfIMXnow27baRUb35Q8iiFHSIDBJh6hQM5Axohhf4b6Kr_cOCu0htQ5WvVqKvFgY28893DHAg8gnBAXsAVqmGAX53x8JggmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk,enr:-Ly4QOS00hvPDddEcCpwA1cMykWNdJUK50AjbRgbLZ9FLPyBa78i0NwsQZLSV67elpJU71L1Pt9yqVmE1C6XeSI-LV8Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhEDhTgGJc2VjcDI1NmsxoQI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3VkcIIjKA"
fi

exec ${CMD}

fi

# Prysm startup
if [ "$CC_CLIENT" = "prysm" ]; then

# Get Prater SSZ if necessary
if [ "$NETWORK" = "prater" -o "$NETWORK" = "devnet" ]; then
if [ ! -f "/validators/genesis-prater.ssz" ]; then
wget "https://github.com/eth-clients/eth2-networks/raw/master/shared/prater/genesis.ssz" -O "/validators/genesis-prater.ssz"
# Grab the Holesky genesis state if needed
if [ "$NETWORK" = "holesky" ]; then
echo "Prysm has been configured to employ Holesky, with the genesis state being a prerequisite."
if [ ! -f "/ethclient/holesky-genesis.ssz" ]; then
echo "Downloading genesis..."
wget https://github.com/eth-clients/holesky/raw/main/custom_config_data/genesis.ssz -O /ethclient/holesky-genesis.ssz
echo "Download complete."
else
echo "The genesis state has already been downloaded, and the process will proceed accordingly."
fi
fi

Expand Down Expand Up @@ -286,17 +254,12 @@ if [ "$CC_CLIENT" = "prysm" ]; then
CMD="$CMD --disable-monitoring"
fi

if [ ! -z "$CHECKPOINT_SYNC_URL" ]; then
CMD="$CMD --checkpoint-sync-url=$CHECKPOINT_SYNC_URL --genesis-beacon-api-url=$CHECKPOINT_SYNC_URL"
if [ "$NETWORK" = "holesky" ]; then
CMD="$CMD --genesis-state /ethclient/holesky-genesis.ssz"
fi

if [ "$NETWORK" = "zhejiang" ]; then
CMD="$CMD --bootstrap-node=enr:-Iq4QMCTfIMXnow27baRUb35Q8iiFHSIDBJh6hQM5Axohhf4b6Kr_cOCu0htQ5WvVqKvFgY28893DHAg8gnBAXsAVqmGAX53x8JggmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk \
--bootstrap-node=enr:-Ly4QOS00hvPDddEcCpwA1cMykWNdJUK50AjbRgbLZ9FLPyBa78i0NwsQZLSV67elpJU71L1Pt9yqVmE1C6XeSI-LV8Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAA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J2NIJpcIShI5NiiXNlY3AyNTZrMaECpA_KefrVAueFWiLLDZKQPPVOxMuxGogPrI474FaS-x2DdGNwgiMog3VkcIIjKA"
if [ ! -z "$CHECKPOINT_SYNC_URL" ]; then
CMD="$CMD --checkpoint-sync-url=$CHECKPOINT_SYNC_URL --genesis-beacon-api-url=$CHECKPOINT_SYNC_URL"
fi

exec ${CMD}
Expand Down Expand Up @@ -339,8 +302,6 @@ if [ "$CC_CLIENT" = "teku" ]; then

if [ ! -z "$CHECKPOINT_SYNC_URL" ]; then
CMD="$CMD --checkpoint-sync-url=$CHECKPOINT_SYNC_URL"
elif [ "$NETWORK" = "zhejiang" ]; then
CMD="$CMD --initial-state=/zhejiang/genesis.ssz"
fi

if [ "$ENABLE_BITFLY_NODE_METRICS" = "true" ]; then
Expand All @@ -351,13 +312,6 @@ if [ "$CC_CLIENT" = "teku" ]; then
CMD="env JAVA_OPTS=\"-Xmx${TEKU_JVM_HEAP_SIZE}m\" $CMD"
fi

if [ "$NETWORK" = "zhejiang" ]; then
CMD="$CMD \
--Xee-version=kilnv2 \
--p2p-discovery-bootnodes=enr:-Iq4QMCTfIMXnow27baRUb35Q8iiFHSIDBJh6hQM5Axohhf4b6Kr_cOCu0htQ5WvVqKvFgY28893DHAg8gnBAXsAVqmGAX53x8JggmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk,enr:-Ly4QOS00hvPDddEcCpwA1cMykWNdJUK50AjbRgbLZ9FLPyBa78i0NwsQZLSV67elpJU71L1Pt9yqVmE1C6XeSI-LV8Bh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDuKNezAAAAckYFAAAAAAAAgmlkgnY0gmlwhEDhTgGJc2VjcDI1NmsxoQIgMUMFvJGlr8dI1TEQy-K78u2TJE2rWvah9nGqLQCEGohzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA,enr:-MK4QMlRAwM7E8Y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,/ip4/146.190.238.212/tcp/9000/p2p/16Uiu2HAm8bVLELrPczXQesjUYF8EetaKokgrdgZKj8814ZiGNggk,/ip4/165.232.84.160/tcp/9000/p2p/16Uiu2HAm7xM7nYVz3U9iWGH6NwExZTWtJGGeZ7ejQrcuUFUwtQmH,/ip4/68.183.13.170/udp/9000/p2p/16Uiu2HAmHXzTmWAtVexas5YskEpbcyDQ5Qck3jdLgErWumjKExUx"
fi

exec ${CMD}

fi
Loading