Skip to content

Commit 08c2caa

Browse files
authored
remove multi-client hardcoding (#356)
noticed some hardcoded values in the multi-client implementation
1 parent c521a70 commit 08c2caa

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

compose-vc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ services:
4444
networks: [dvnode]
4545
environment:
4646
BEACON_NODE_ADDRESS: http://charon:3600
47+
BUILDER_API_ENABLED: ${BUILDER_API_ENABLED:-true}
4748
labels:
4849
- "promtail-monitored=${VC_NIMBUS_PROMTAIL_MONITORED:-true}"
4950
volumes:
@@ -93,7 +94,7 @@ services:
9394
--validator-keys="/opt/charon/validator_keys:/opt/charon/validator_keys"
9495
--validators-keystore-locking-enabled false
9596
--validators-external-signer-slashing-protection-enabled true
96-
--validators-builder-registration-default-enabled true
97+
--validators-builder-registration-default-enabled ${BUILDER_API_ENABLED:-true}
9798
--validators-proposer-default-fee-recipient "0x0000000000000000000000000000000000000000"
9899
--Xobol-dvt-integration-enabled true
99100
depends_on: [charon]

nimbus/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ echo "Imported all keys"
3838
# Now run nimbus VC
3939
exec /home/user/nimbus_validator_client \
4040
--data-dir=/home/user/data \
41-
--beacon-node="http://charon:3600" \
41+
--beacon-node="${BEACON_NODE_ADDRESS}" \
4242
--doppelganger-detection=false \
4343
--metrics \
4444
--metrics-address=0.0.0.0 \
45-
--payload-builder=true \
45+
--payload-builder=${BUILDER_API_ENABLED} \
4646
--distributed

0 commit comments

Comments
 (0)