Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
9dfc4de1
Unverified
Commit
9dfc4de1
authored
Oct 05, 2023
by
Gyanendra Mishra
Committed by
GitHub
Oct 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: set MEV image to 0.26.0 and complain if capella is zero with MEV set to full (#261)
parent
cfca6d13
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
config.yml
.circleci/config.yml
+1
-6
mev.json
.circleci/tests/mev.json
+4
-2
parse_input.star
src/package_io/parse_input.star
+13
-1
No files found.
.circleci/config.yml
View file @
9dfc4de1
...
...
@@ -202,6 +202,7 @@ workflows:
-
reth-all
-
teku-all
-
nimbus_mev
-
complex_mev
build
:
when
:
<< pipeline.parameters.should-enable-build-workflow >>
...
...
@@ -241,9 +242,3 @@ workflows:
branches
:
ignore
:
-
main
-
complex_mev
:
filters
:
branches
:
ignore
:
-
main
.circleci/tests/mev.json
View file @
9dfc4de1
{
"mev_type"
:
"full"
,
"mev_params"
:
{
"launch_custom_flood"
:
true
"launch_custom_flood"
:
true
,
"mev_relay_image"
:
"flashbots/mev-boost-relay:0.27"
},
"network_params"
:
{
"seconds_per_slot"
:
3
"seconds_per_slot"
:
3
,
"capella_fork_epoch"
:
0
}
}
\ No newline at end of file
src/package_io/parse_input.star
View file @
9dfc4de1
...
...
@@ -15,6 +15,7 @@ DEFAULT_CL_IMAGES = {
"lodestar": "chainsafe/lodestar:latest",
}
MEV_BOOST_RELAY_DEFAULT_IMAGE = "flashbots/mev-boost-relay:0.26"
NETHERMIND_NODE_NAME = "nethermind"
NIMBUS_NODE_NAME = "nimbus"
...
...
@@ -82,6 +83,17 @@ def parse_input(plan, input_args):
result.get("mev_type"),
)
if (
result.get("mev_type") == "full"
and result["network_params"]["capella_fork_epoch"] == 0
and result["mev_params"]["mev_relay_image"] == MEV_BOOST_RELAY_DEFAULT_IMAGE
):
fail(
"The default MEV image {0} requires a non-zero value for capella fork epoch set via network_params.capella_fork_epoch".format(
MEV_BOOST_RELAY_DEFAULT_IMAGE
)
)
result["tx_spammer_params"] = get_default_tx_spammer_params()
return struct(
...
...
@@ -373,7 +385,7 @@ def default_participant():
def get_default_mev_params():
return {
"mev_relay_image":
"flashbots/mev-boost-relay:latest"
,
"mev_relay_image":
MEV_BOOST_RELAY_DEFAULT_IMAGE
,
# TODO replace with flashbots/builder when they publish an arm64 image as mentioned in flashbots/builder#105
"mev_builder_image": "ethpandaops/flashbots-builder:main",
"mev_boost_image": "flashbots/mev-boost",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment