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

feat: parameterize mev-boost args #400

Merged
merged 41 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f44909c
parameterise mev-boost args
bharath-123 Dec 10, 2023
bded86c
update README
bharath-123 Dec 11, 2023
f657e07
Merge branch 'main' of https://github.com/kurtosis-tech/ethereum-pack…
bharath-123 Dec 14, 2023
3a8dd1a
Merge branch 'main' of https://github.com/kurtosis-tech/ethereum-pack…
bharath-123 Dec 14, 2023
40fbcb5
update doc
bharath-123 Dec 14, 2023
3d99121
fix typo
bharath-123 Dec 14, 2023
f9a0a63
Merge branch 'main' into parameterize-mev-boost
barnabasbusa Jan 5, 2024
7d9f056
Merge branch 'main' into parameterize-mev-boost
barnabasbusa Jan 9, 2024
3167074
fix: enable ws for geth (#446)
franjoespejo Jan 10, 2024
728df98
fix: erigon chain should be set to dev (#447)
barnabasbusa Jan 10, 2024
7a7703e
feat: enable checkpoint sync for devnets (#448)
barnabasbusa Jan 10, 2024
6045c62
fix: add prysm-multiarch upstream image (#451)
barnabasbusa Jan 10, 2024
a90396d
fix: use all enrs for nimbus via bootstrap file (#450)
h4ck3rk3y Jan 10, 2024
4adb26d
fix: dora template fix (#452)
barnabasbusa Jan 10, 2024
1a2a5dd
fix: increase db size for geth (#453)
barnabasbusa Jan 10, 2024
4fdb3bc
fix: erigon command arg (#454)
barnabasbusa Jan 11, 2024
e1bec2c
fix: added supprot for boot enr file (#456)
h4ck3rk3y Jan 11, 2024
56121ae
feat: enable syncing shadowforks (#457)
barnabasbusa Jan 15, 2024
6a5b4d9
fix: logging bug (#462)
barnabasbusa Jan 16, 2024
9696a36
fix: re-add networkid (#464)
barnabasbusa Jan 16, 2024
767d371
fix: Update nethermind to expose host on 0.0.0.0 (#467)
barnabasbusa Jan 17, 2024
b0e5e05
feat: Add Xatu Sentry (#466)
samcm Jan 18, 2024
cd14a49
feat: enable syncing ephemery (#459)
barnabasbusa Jan 19, 2024
6b860ef
fix: add CL genesis delay to final genesis time (#469)
barnabasbusa Jan 22, 2024
970c87f
chore(main): release 1.3.0 (#436)
github-actions[bot] Jan 23, 2024
84c1570
feat: enable custom resource limit per network (#471)
barnabasbusa Jan 29, 2024
b10104e
fix: add more prefund addresses for verkle-gen (#482)
barnabasbusa Jan 31, 2024
2383b0f
feat: add support for custom assertoor images & use assertoor image w…
pk910 Feb 1, 2024
c4794a6
fix: use latest stable image for assertoor (#484)
pk910 Feb 1, 2024
ad61460
feat: we no longer need 4788 deployer (#485)
barnabasbusa Feb 1, 2024
12ebc9d
fix: bump verkle genesis generator (#486)
parithosh Feb 1, 2024
513c104
feat: add verkle-gen-devnet-3 (#487)
barnabasbusa Feb 2, 2024
456d0bc
feat: blockscout support with sc verification (#481)
franjoespejo Feb 2, 2024
aaa38a7
feat: improve built-in assertoor tests (#488)
pk910 Feb 8, 2024
c38b81c
feat: Add suave-enabled geth support (#489)
0x416e746f6e Feb 9, 2024
a126820
feat: enable shadowforking (#475)
barnabasbusa Feb 9, 2024
7854d77
chore(main): release 1.4.0 (#473)
github-actions[bot] Feb 12, 2024
3ec7423
feat!: add node selectors features (#491)
bharath-123 Feb 18, 2024
8f2ff53
parameterize mev-boost args
bharath-123 Feb 18, 2024
df99f53
Merge branch 'main' into parameterize-mev-boost
bharath-123 Feb 18, 2024
926af31
Merge branch 'main' into parameterize-mev-boost
h4ck3rk3y Feb 20, 2024
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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,14 +543,16 @@ mev_type: null

# Parameters if MEV is used
mev_params:
# The image to use for MEV boot relay
# The image to use for MEV boost relay
mev_relay_image: flashbots/mev-boost-relay
# The image to use for the builder
mev_builder_image: ethpandaops/flashbots-builder:main
# The image to use for the CL builder
mev_builder_cl_image: sigp/lighthouse:latest
# The image to use for mev-boost
mev_boost_image: flashbots/mev-boost
# Parameters for MEV Boost. This overrides all arguments of the mev-boost container
mev_boost_args: []
# Extra parameters to send to the API
mev_relay_api_extra_args: []
# Extra parameters to send to the housekeeper
Expand Down
1 change: 1 addition & 0 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ def run(plan, args={}):
mev_boost_service_name,
network_params.network_id,
mev_params.mev_boost_image,
mev_params.mev_boost_args,
global_node_selectors,
)
all_mevboost_contexts.append(mev_boost_context)
Expand Down
2 changes: 2 additions & 0 deletions network_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ mev_params:
mev_flood_image: flashbots/mev-flood
mev_flood_extra_args: []
mev_flood_seconds_per_bundle: 15
mev_boost_image: flashbots/mev-boost
mev_boost_args: ["mev-boost", "--relay-check"]
grafana_additional_dashboards: []
persistent: false
xatu_sentry_enabled: false
Expand Down
8 changes: 4 additions & 4 deletions src/mev/mev_boost/mev_boost_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ def launch(
service_name,
network_id,
mev_boost_image,
mev_boost_args,
global_node_selectors,
):
config = get_config(
mev_boost_launcher,
network_id,
mev_boost_image,
mev_boost_args,
global_node_selectors,
)

Expand All @@ -49,12 +51,10 @@ def get_config(
mev_boost_launcher,
network_id,
mev_boost_image,
mev_boost_args,
node_selectors,
):
command = ["mev-boost"]

if mev_boost_launcher.should_check_relay:
command.append("-relay-check")
command = mev_boost_args

return ServiceConfig(
image=mev_boost_image,
Expand Down
2 changes: 2 additions & 0 deletions src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def input_parser(plan, input_args):
mev_builder_image=result["mev_params"]["mev_builder_image"],
mev_builder_cl_image=result["mev_params"]["mev_builder_cl_image"],
mev_boost_image=result["mev_params"]["mev_boost_image"],
mev_boost_args=result["mev_params"]["mev_boost_args"],
mev_relay_api_extra_args=result["mev_params"]["mev_relay_api_extra_args"],
mev_relay_housekeeper_extra_args=result["mev_params"][
"mev_relay_housekeeper_extra_args"
Expand Down Expand Up @@ -634,6 +635,7 @@ def get_default_mev_params():
"mev_builder_image": "flashbots/builder:latest",
"mev_builder_cl_image": "sigp/lighthouse:latest",
"mev_boost_image": "flashbots/mev-boost",
"mev_boost_args": ["mev-boost", "--relay-check"],
h4ck3rk3y marked this conversation as resolved.
Show resolved Hide resolved
"mev_relay_api_extra_args": [],
"mev_relay_housekeeper_extra_args": [],
"mev_relay_website_extra_args": [],
Expand Down