Skip to content

Commit

Permalink
add validator names to make devnet-run
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Oct 10, 2024
1 parent 1dae519 commit 1ca3b69
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .hack/devnet/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ fi
# Get chain config
kurtosis files inspect "$ENCLAVE_NAME" el_cl_genesis_data ./config.yaml | tail -n +2 > "${__dir}/generated-chain-config.yaml"

# Get validator ranges
kurtosis files inspect "$ENCLAVE_NAME" validator-ranges validator-ranges.yaml | tail -n +2 > "${__dir}/generated-validator-ranges.yaml"

## Generate Dora config
ENCLAVE_UUID=$(kurtosis enclave inspect "$ENCLAVE_NAME" --full-uuids | grep 'UUID:' | awk '{print $2}')

Expand All @@ -35,9 +38,6 @@ EXECUTION_NODES=$(docker ps -aq -f "label=enclave_uuid=$ENCLAVE_UUID" \
cat <<EOF > "${__dir}/generated-dora-config.yaml"
logging:
outputLevel: "info"
chain:
name: $ENCLAVE_NAME
configPath: "${__dir}/generated-chain-config.yaml"
server:
host: "0.0.0.0"
port: "8080"
Expand All @@ -49,6 +49,7 @@ frontend:
siteName: "Dora the Explorer"
siteSubtitle: "$ENCLAVE_NAME - Kurtosis"
ethExplorerLink: ""
validatorNamesYaml: "${__dir}/generated-validator-ranges.yaml"
showSensitivePeerInfos: true
beaconapi:
localCacheSize: 10
Expand Down

0 comments on commit 1ca3b69

Please sign in to comment.