From a37fcfc529941ff03b0e4c8bccf71fcc53ea1efc Mon Sep 17 00:00:00 2001 From: Jonas Bostoen Date: Fri, 9 Aug 2024 10:29:50 +0200 Subject: [PATCH] doc(testnets): update lighthouse flags & version --- testnets/helder/README.md | 15 +++++++++++++-- testnets/helder/docker-compose.yml | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/testnets/helder/README.md b/testnets/helder/README.md index 3f6323f49..363b8434d 100644 --- a/testnets/helder/README.md +++ b/testnets/helder/README.md @@ -64,7 +64,13 @@ geth init --datadir=$DATADIR --state.scheme=hash $DEVNET_PATH/genesis.json \ ## Beacon Node > [!IMPORTANT] -> The beacon node’s `builder-api` should point to the Bolt sidecar API to activate Bolt! +> The beacon node’s `builder-api` should point to the Bolt sidecar API to activate Bolt! It MUST also have +> the following flags enabled: +> ``` +> --always-prefer-builder-payload +> --builder-fallback-disable-checks +> ``` +> These flags ensure that no local payload is produced that does not respect the commitments made. Lighthouse: @@ -97,7 +103,9 @@ lighthouse beacon_node \ --testnet-dir=$DEVNET_PATH \ --jwt-secrets=jwtsecret \ --boot-nodes=enr:-Iq4QK3EWjpB_Wh4Nh9qDWsIlkwCo-ltVJIOZintRmXlq4BqSO3MgChdjo5bNSc_dBVcnhM_CZidGE-CMjazCeJhn7OGAZA6aA31gmlkgnY0gmlwhDQ6SFGJc2VjcDI1NmsxoQN4MIj6Xe7PBxpfvrpyDe2OkrcIq0gdj38hHXpWjB6Zl4N1ZHCCIyk,enr:-LK4QJIhICEs-MIlzVGEOJRco5B3eR1HjsoPrnlNdCifHlT_NQCaY51Z-ntBIgUQmNRcEBqBogOhh43BYdMR_d9Z-DgKh2F0dG5ldHOIAAYAAAAAAACEZXRoMpBLd1oGYBMnNj9CDwAAAAAAgmlkgnY0gmlwhDQ6SFGJc2VjcDI1NmsxoQOy0WhSLuSWpKXex_SG9dn4bOk-LURo7ZjaUuQ1Fbdbk4N0Y3CCIyiDdWRwgiMo,enr:-MS4QKp7W7f8BsoB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iMo \ - --builder=localhost:18551 # This will be the Bolt builder API + --builder=localhost:18551 \ # This will be the Bolt builder API + --always-prefer-builder-payload \ # This will always prefer the builder payload + --builder-fallback-disable-checks # This will disable chain health checking and local building in response ``` ## Bolt Sidecar + Bolt MEV-Boost @@ -140,6 +148,9 @@ VALIDATOR_INDEXES="" # Bolt-enabled relay on Helder BOLT_RELAY="http://0xa55c1285d84ba83a5ad26420cd5ad3091e49c55a813eee651cd467db38a8c8e63192f47955e9376f6b42f6d190571cb5@135.181.191.125:9062" + +# Genesis fork version for Helder +GENESIS_FORK_VERSION="0x10000000" ``` Then, simply run `docker compose up`. This will start the sidecar and the modified mev-boost. diff --git a/testnets/helder/docker-compose.yml b/testnets/helder/docker-compose.yml index c28b8bda1..5dacbdc5d 100644 --- a/testnets/helder/docker-compose.yml +++ b/testnets/helder/docker-compose.yml @@ -1,6 +1,6 @@ services: bolt-sidecar: - image: ghcr.io/chainbound/bolt-sidecar:v0.2.0-alpha + image: ghcr.io/chainbound/bolt-sidecar:v0.2.1-alpha container_name: bolt-sidecar restart: unless-stopped ports: @@ -10,7 +10,7 @@ services: entrypoint: /bin/sh -c '/bolt-sidecar --port $$BOLT_RPC_PORT --chain helder --validator-indexes $$VALIDATOR_INDEXES --beacon-api-url $$BEACON_API_URL --execution-api-url $$EXECUTION_API_URL --engine-api-url $$ENGINE_API_URL --private-key $$SIGNING_KEY --mevboost-url http://bolt-boost:18550 --mevboost-proxy-port 18551 --jwt-hex $$JWT_HEX --fee-recipient $$FEE_RECIPIENT' bolt-boost: - image: ghcr.io/chainbound/bolt-mev-boost:v0.2.0-alpha + image: ghcr.io/chainbound/bolt-mev-boost:v0.2.1-alpha container_name: bolt-boost restart: unless-stopped env_file: ./launch.env