Skip to content

Commit

Permalink
ci: fix nightly test (#297)
Browse files Browse the repository at this point in the history
fix: use 0.27 as the mev boost image
fix: use ethpandaops/erigon as its multiarch
  • Loading branch information
h4ck3rk3y authored Oct 17, 2023
1 parent ff2f14e commit 839af19
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ workflows:
<<: *setup_kurtosis_k3s
- mix_with_tools_k8s:
<<: *setup_kurtosis_k3s
- mix_with_tools_docker

build:
when: << pipeline.parameters.should-enable-build-workflow >>
Expand Down Expand Up @@ -320,3 +319,9 @@ workflows:
branches:
ignore:
- main

- mix_with_tools_docker:
filters:
branches:
ignore:
- main
2 changes: 1 addition & 1 deletion .circleci/tests/mev.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"network_params": {
"seconds_per_slot": 3,
"capella_fork_epoch": 0
"capella_fork_epoch": 1
}
}
5 changes: 4 additions & 1 deletion .circleci/tests/mix-with-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
"full_beaconchain_explorer",
"custom_flood"
],
"mev_type": "full"
"mev_type": "full",
"mev_params": {
"mev_relay_image": "flashbots/mev-boost-relay:0.27"
}
}

1 change: 1 addition & 0 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ def run(plan, args={}):
genesis_constants.PRE_FUNDED_ACCOUNTS,
all_el_client_contexts,
all_cl_client_contexts[0],
network_params.seconds_per_slot,
goomy_blob_params,
)
plan.print("Succesfully launched goomy the blob spammer")
Expand Down
10 changes: 6 additions & 4 deletions src/package_io/parse_input.star
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DEFAULT_EL_IMAGES = {
"geth": "ethereum/client-go:latest",
"erigon": "thorax/erigon:devel",
"erigon": "ethpandaops/erigon:devel",
"nethermind": "nethermind/nethermind:latest",
"besu": "hyperledger/besu:develop",
"reth": "ghcr.io/paradigmxyz/reth",
Expand All @@ -15,7 +15,8 @@ DEFAULT_CL_IMAGES = {
"lodestar": "chainsafe/lodestar:latest",
}

MEV_BOOST_RELAY_DEFAULT_IMAGE = "flashbots/mev-boost-relay:0.26"
MEV_BOOST_RELAY_DEFAULT_IMAGE = "flashbots/mev-boost-relay:0.27"
MEV_BOOST_RELAY_IMAGE_NON_ZERO_CAPELLA = "flashbots/mev-boost-relay:0.26"

NETHERMIND_NODE_NAME = "nethermind"
NIMBUS_NODE_NAME = "nimbus"
Expand Down Expand Up @@ -98,11 +99,12 @@ def parse_input(plan, input_args):
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
and result["mev_params"]["mev_relay_image"]
== MEV_BOOST_RELAY_IMAGE_NON_ZERO_CAPELLA
):
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
MEV_BOOST_RELAY_IMAGE_NON_ZERO_CAPELLA
)
)

Expand Down

0 comments on commit 839af19

Please sign in to comment.