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

doc(testnets): update lighthouse flags & version #193

Merged
merged 1 commit into from
Aug 9, 2024
Merged
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: 13 additions & 2 deletions testnets/helder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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-LURo7Zja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cihtkyfUfNlpQNe9G8P2PCiHN5bmNuZXRzD4N0Y3CCIyiDdWRwgiMo \
--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
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions testnets/helder/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
Loading