Skip to content

Commit

Permalink
docs: add note about capella at 0 for MEV (#266)
Browse files Browse the repository at this point in the history
Co-authored-by: Derek <103802618+leeederek@users.noreply.github.com>
  • Loading branch information
h4ck3rk3y and leeederek authored Oct 5, 2023
1 parent a5b939c commit 0b33c38
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@ This package also supports a `"mev_type": "mock"` mode that will only bring up:
For more details, including a guide and architecture of the `mev-boost` infrastructure, go [here](https://docs.kurtosis.com/how-to-full-mev-with-eth2-package).
## MEV-Boost usage with Capella at Epoch 0
This note is from 2023-10-05
`flashbots/mev-boost-relay:0.27` and later support `capella_fork_epoch` at `0` but this seems to require a few flags enabled
on the `lighthouse` beacon client including `--always-prefer-builder-payload` and `--disable-peer-scoring`
Users are recommended to use [`examples/capella-mev.json`](./examples/capella-mev.json); as inspiration for reliable payload
delivery.
## Pre-funded accounts at Genesis
This package comes with [seven prefunded keys for testing](https://github.com/kurtosis-tech/ethereum-package/blob/main/src/prelaunch_data_generator/genesis_constants/genesis_constants.star).
Expand Down
28 changes: 28 additions & 0 deletions examples/capella-mev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"mev_type": "full",
"participants": [{
"el_client_type": "geth",
"el_client_image": "ethereum/client-go:latest",
"el_client_log_level": "",
"cl_client_type": "lighthouse",
"cl_client_log_level": "",
"cl_client_image": "sigp/lighthouse",
"el_extra_params": [
],
"beacon_extra_params": [
"--always-prefer-builder-payload",
"--disable-peer-scoring"
]
}],
"network_params": {
"capella_fork_epoch": 0,
"seconds_per_slot": 12
},
"mev_params": {
"mev_flood_seconds_per_bundle": 12,
"launch_custom_flood": false,
"mev_flood_extra_args": [ "--txsPerBundle=300" ],
"mev_flood_image": "flashbots/mev-flood:0.0.9",
"mev_relay_image": "flashbots/mev-boost-relay:0.27.0"
}
}

0 comments on commit 0b33c38

Please sign in to comment.