Skip to content

Use commit-boost instead of mev-boost #336

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

Open
wants to merge 3 commits 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
15 changes: 3 additions & 12 deletions .env.sample.holesky
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,8 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.holesky.ethpandaops.io/
# Charon host exposed ports
#CHARON_PORT_P2P_TCP=

######### MEV-Boost Config #########

# MEV-Boost docker container image version, e.g. `latest` or `1.7.0`.
#MEVBOOST_VERSION=

# MEV-Boost docker container image name, e.g. flashbots/mev-boost.
#MEVBOOST_IMAGE=

# Comma separated list of MEV-Boost relays.
# You can choose public relays from https://enchanted-direction-844.notion.site/6d369eb33f664487800b0dedfe32171e?v=d255247c822c409f99c498aeb6a4e51d.
#MEVBOOST_RELAYS=https://0xab78bf8c781c58078c3beb5710c57940874dd96aef2835e7742c866b4c7c0406754376c2c8285a36c630346aa5c5f833@holesky.aestus.live,https://0xb1559beef7b5ba3127485bbbb090362d9f497ba64e177ee2c8e7db74746306efad687f2cf8574e38d70067d40ef136dc@relay-stag.ultrasound.money,https://0xaa58208899c6105603b74396734a6263cc7d947f444f396a90f7b7d3e65d102aec7e5e5291b27e08d02c50a050825c2f@holesky.titanrelay.xyz
# commit-boost version, check https://github.com/Commit-Boost/commit-boost-client/pkgs/container/pbs
#COMMITBOOST_VERSION=

######### Monitoring Config #########

Expand Down Expand Up @@ -154,6 +145,6 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.holesky.ethpandaops.io/
# LIGHTHOUSE_PROMTAIL_MONITORED=false
# CHARON_PROMTAIL_MONITORED=false
# LODESTAR_PROMTAIL_MONITORED=false
# MEV_BOOST_PROMTAIL_MONITORED=false
# COMMIT_BOOST_PROMTAIL_MONITORED=false
# EJECTOR_PROMTAIL_MONITORED=false
# DV_EXIT_PROMTAIL_MONITORED=false
15 changes: 3 additions & 12 deletions .env.sample.hoodi
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,8 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.hoodi.ethpandaops.io/
# Charon host exposed ports
#CHARON_PORT_P2P_TCP=

######### MEV-Boost Config #########

# MEV-Boost docker container image version, e.g. `latest` or `1.7.0`.
#MEVBOOST_VERSION=

# MEV-Boost docker container image name, e.g. flashbots/mev-boost.
#MEVBOOST_IMAGE=

# Comma separated list of MEV-Boost relays.
# You can choose public relays from https://enchanted-direction-844.notion.site/6d369eb33f664487800b0dedfe32171e?v=d255247c822c409f99c498aeb6a4e51d.
#MEVBOOST_RELAYS=https://0x98f0ef62f00780cf8eb06701a7d22725b9437d4768bb19b363e882ae87129945ec206ec2dc16933f31d983f8225772b6@hoodi.aestus.live
# commit-boost version, check https://github.com/Commit-Boost/commit-boost-client/pkgs/container/pbs
#COMMITBOOST_VERSION=

######### Monitoring Config #########

Expand Down Expand Up @@ -154,6 +145,6 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.hoodi.ethpandaops.io/
# LIGHTHOUSE_PROMTAIL_MONITORED=false
# CHARON_PROMTAIL_MONITORED=false
# LODESTAR_PROMTAIL_MONITORED=false
# MEV_BOOST_PROMTAIL_MONITORED=false
# COMMIT_BOOST_PROMTAIL_MONITORED=false
# EJECTOR_PROMTAIL_MONITORED=false
# DV_EXIT_PROMTAIL_MONITORED=false
15 changes: 3 additions & 12 deletions .env.sample.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,8 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://mainnet.checkpoint.sigp.io/
# Charon host exposed ports
#CHARON_PORT_P2P_TCP=

######### MEV-Boost Config #########

# MEV-Boost docker container image version, e.g. `latest` or `1.7.0`.
#MEVBOOST_VERSION=

# MEV-Boost docker container image name, e.g. flashbots/mev-boost.
#MEVBOOST_IMAGE=

# Comma separated list of MEV-Boost relays.
# You can choose public relays from https://enchanted-direction-844.notion.site/6d369eb33f664487800b0dedfe32171e?v=d255247c822c409f99c498aeb6a4e51d.
MEVBOOST_RELAYS=https://0xa15b52576bcbf1072f4a011c0f99f9fb6c66f3e1ff321f11f461d15e31b1cb359caa092c71bbded0bae5b5ea401aab7e@aestus.live,https://0xa1559ace749633b997cb3fdacffb890aeebdb0f5a3b6aaa7eeeaf1a38af0a8fe88b9e4b1f61f236d2e64d95733327a62@relay.ultrasound.money,https://0x8c4ed5e24fe5c6ae21018437bde147693f68cda427cd1122cf20819c30eda7ed74f72dece09bb313f2a1855595ab677d@global.titanrelay.xyz
# commit-boost version, check https://github.com/Commit-Boost/commit-boost-client/pkgs/container/pbs
#COMMITBOOST_VERSION=

######### Monitoring Config #########

Expand Down Expand Up @@ -154,6 +145,6 @@ MEVBOOST_RELAYS=https://0xa15b52576bcbf1072f4a011c0f99f9fb6c66f3e1ff321f11f461d1
# LIGHTHOUSE_PROMTAIL_MONITORED=false
# CHARON_PROMTAIL_MONITORED=false
# LODESTAR_PROMTAIL_MONITORED=false
# MEV_BOOST_PROMTAIL_MONITORED=false
# COMMIT_BOOST_PROMTAIL_MONITORED=false
# EJECTOR_PROMTAIL_MONITORED=false
# DV_EXIT_PROMTAIL_MONITORED=false
13 changes: 13 additions & 0 deletions commit-boost/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
chain = "Mainnet"

[pbs]
port = 18550
host = "0.0.0.0"

[metrics]
enabled = true
host = "0.0.0.0"

[[relays]]
id = "titan"
url = "https://0x8c4ed5e24fe5c6ae21018437bde147693f68cda427cd1122cf20819c30eda7ed74f72dece09bb313f2a1855595ab677d@titanrelay.xyz"
6 changes: 3 additions & 3 deletions docker-compose.override.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
#ports:
#- 9090:9090 # Metrics

#mev-boost:
# Disable mev-boost
#commit-boost:
# Disable commit-boost
#profiles: [disable]
# Bind mev-boost internal ports to host ports
# Bind commit-boost internal ports to host ports
#ports:
#- 18550:18550 # Metrics
29 changes: 14 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
--execution-endpoint=http://nethermind:8551
--execution-jwt=/opt/jwt/jwt.hex
--datadir=/opt/app/beacon/
--builder=http://mev-boost:18550
--builder=http://commit-boost:18550
--http
--http-address=0.0.0.0
--http-port=5052
Expand Down Expand Up @@ -136,21 +136,20 @@ services:
- ./data/lodestar:/opt/data
restart: unless-stopped

# _ _
# _ __ ___ _____ __ | |__ ___ ___ ___| |_
# | '_ ` _ \ / _ \ \ / /____| '_ \ / _ \ / _ \/ __| __|
# | | | | | | __/\ V /_____| |_) | (_) | (_) \__ \ |_
# |_| |_| |_|\___| \_/ |_.__/ \___/ \___/|___/\__|
mev-boost:
image: ${MEVBOOST_IMAGE:-flashbots/mev-boost}:${MEVBOOST_VERSION:-1.9}
command: |
-${NETWORK}
-loglevel=debug
-addr=0.0.0.0:18550
-relay-check
-relays=${MEVBOOST_RELAYS}
# _ _ _ _
# ___ ___ _ __ ___ _ __ ___ (_) |_ | |__ ___ ___ ___| |_
# / __/ _ \| '_ ` _ \| '_ ` _ \| | __|____| '_ \ / _ \ / _ \/ __| __|
# | (_| (_) | | | | | | | | | | | | ||_____| |_) | (_) | (_) \__ \ |_
# \___\___/|_| |_| |_|_| |_| |_|_|\__| |_.__/ \___/ \___/|___/\__|
#
commit-boost:
image: ghcr.io/commit-boost/pbs:${COMMITBOOST_VERSION:-v0.8.0-rc.2}
environment:
- CB_CONFIG=/etc/commit-boost/config.toml
volumes:
- ./commit-boost/config.toml:/etc/commit-boost/config.toml:ro
labels:
- "promtail-monitored=${MEV_BOOST_PROMTAIL_MONITORED:-true}"
- "promtail-monitored=${COMMIT_BOOST_PROMTAIL_MONITORED:-true}"
networks: [dvnode]
restart: unless-stopped

Expand Down
3 changes: 3 additions & 0 deletions prometheus/prometheus.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ scrape_configs:
- job_name: "lodestar"
static_configs:
- targets: ["lodestar:5064"]
- job_name: "commit-boost"
static_configs:
- targets: ["commit-boost:10000"]
# Debug
- job_name: "node-exporter"
static_configs:
Expand Down
4 changes: 2 additions & 2 deletions promtail/config.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ scrape_configs:
replacement: 'lighthouse'
target_label: 'job'
- source_labels: ['container']
regex: '.*mev-boost.*'
replacement: 'mev-boost'
regex: '.*commit-boost.*'
replacement: 'commit-boost'
target_label: 'job'
- target_label: 'cluster_name'
replacement: $CLUSTER_NAME
Expand Down