Skip to content

Commit

Permalink
Merge pull request #146 from ethpandaops/pk910/validator-names-in-dev…
Browse files Browse the repository at this point in the history
…net-run

add validator names to `make devnet-run`
  • Loading branch information
pk910 authored Oct 14, 2024
2 parents e9fe2f3 + 1ca3b69 commit a088ead
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 a088ead

Please sign in to comment.