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

charon and lighthouse_vc fixes #275

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Overrides network for all the relevant services.
#NETWORK=

# Enables builder api for lodestar VC and charon services.
# Enables builder api for VC and charon services.
#BUILDER_API_ENABLED=

######### Nethermind Config #########
Expand Down
4 changes: 2 additions & 2 deletions .env.sample.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Overrides network for all the relevant services.
NETWORK=mainnet

# Enables builder api for lodestar VC and charon services.
# Enables builder api for VC and charon services.
#BUILDER_API_ENABLED=

######### Nethermind Config #########
Expand Down Expand Up @@ -78,7 +78,7 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://mainnet.checkpoint.sigp.io/

# Comma separated list of MEV-Boost relays.
# You can choose public mainnet relays from https://enchanted-direction-844.notion.site/6d369eb33f664487800b0dedfe32171e?v=d255247c822c409f99c498aeb6a4e51d.
MEVBOOST_RELAYS=https://0xac6e77dfe25ecd6110b8e780608cce0dab71fdd5ebea22a16c0205200f2f8e2e3ad3b71d3499c54ad14d6c21b41a37ae@boost-relay.flashbots.net,https://0xa7ab7a996c8584251c8f925da3170bdfd6ebc75d50f5ddc4050a6fdc77f2a3b5fce2cc750d0865e05d7228af97d69561@agnostic-relay.net
#MEVBOOST_RELAYS=https://0xac6e77dfe25ecd6110b8e780608cce0dab71fdd5ebea22a16c0205200f2f8e2e3ad3b71d3499c54ad14d6c21b41a37ae@boost-relay.flashbots.net,https://0xa7ab7a996c8584251c8f925da3170bdfd6ebc75d50f5ddc4050a6fdc77f2a3b5fce2cc750d0865e05d7228af97d69561@agnostic-relay.net
######### Monitoring Config #########

# Grafana docker container image version, e.g. `latest` or `9.4.3`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Please exercise caution when using them and ensure that you thoroughly review an
To run any of the examples, use the following command:

```
docker compose -f examples/nethermind_teku_lighthouse.yml up
docker compose --env-file ./.env -f examples/geth_teku_lighthouse.yml up
```


Expand Down
8 changes: 4 additions & 4 deletions examples/geth_teku_lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
image: flashbots/mev-boost:${MEVBOOST_VERSION:-1.5.0}
networks: [dvnode]
command: |
-${NETWORK:-holesky}
-${NETWORK:-holesky}
-loglevel=debug
-addr=0.0.0.0:18550
-relay-check
Expand Down Expand Up @@ -93,7 +93,7 @@ services:
# \___|_| |_|\__,_|_| \___/|_| |_|

charon:
image: obolnetwork/charon:${CHARON_VERSION:-v0.15.0}
image: obolnetwork/charon:${CHARON_VERSION:-v1.0.1}
environment:
- CHARON_BEACON_NODE_ENDPOINTS=${CHARON_BEACON_NODE_ENDPOINTS:-http://teku_bn:4000}
- CHARON_LOG_LEVEL=${CHARON_LOG_LEVEL:-info}
Expand All @@ -103,7 +103,7 @@ services:
- CHARON_P2P_TCP_ADDRESS=0.0.0.0:${CHARON_PORT_P2P_TCP:-3610}
- CHARON_VALIDATOR_API_ADDRESS=0.0.0.0:3600
- CHARON_MONITORING_ADDRESS=0.0.0.0:3620
- BUILDER_API_ENABLED=${BUILDER_API_ENABLED:-false}
- CHARON_BUILDER_API=${BUILDER_API_ENABLED:-false}
ports:
- ${CHARON_PORT_P2P_TCP:-3610}:${CHARON_PORT_P2P_TCP:-3610}/tcp # P2P TCP libp2p
networks: [dvnode]
Expand All @@ -121,7 +121,7 @@ services:
# |___/

lighthouse_vc:
image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v4.2.0}
image: sigp/lighthouse:${LIGHTHOUSE_VERSION:-v5.3.0}
entrypoint: /opt/lighthouse/run.sh
networks: [dvnode]
depends_on: [ charon ]
Expand Down
3 changes: 2 additions & 1 deletion examples/lighthouse/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ exec lighthouse --network "${NETWORK}" validator \
--metrics-port "5064" \
--use-long-timeouts \
--datadir="/opt/data" \
--builder-proposals=$BUILDER_API_ENABLED
--distributed \
$( [ "$BUILDER_API_ENABLED" = "true" ] && echo "--builder-proposals" )