Skip to content

Commit

Permalink
ci: added bchains mev test (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y authored Oct 2, 2023
1 parent cf6fbca commit cfca6d1
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,13 @@ jobs:
- checkout
- run: kurtosis run ${PWD} "$(cat ./.circleci/tests/mev.json)"

complex_mev:
executor: ubuntu_vm
steps:
- <<: *setup_kurtosis
- checkout
- run: kurtosis run ${PWD} "$(cat ./.circleci/tests/complex-mev.json)"

nimbus_mev:
executor: ubuntu_vm
steps:
Expand Down Expand Up @@ -234,3 +241,9 @@ workflows:
branches:
ignore:
- main

- complex_mev:
filters:
branches:
ignore:
- main
30 changes: 30 additions & 0 deletions .circleci/tests/complex-mev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"participants": [
{
"el_client_type": "geth",
"el_client_image": "ethereum/client-go:latest",
"el_client_log_level": "",
"el_extra_params": [],
"cl_client_type": "lighthouse",
"cl_client_image": "",
"cl_client_log_level": "",
"beacon_extra_params": [],
"validator_extra_params": [],
"builder_network_params": null,
"count": 1
}
],
"network_params": {
"seconds_per_slot": 12,
"slots_per_epoch": 32,
"capella_fork_epoch": 1
},
"mev_type": "full",
"mev_params": {
"mev_relay_image": "public.ecr.aws/t1d5h1w5/pepc-boost-relay:latest",
"mev_builder_image": "public.ecr.aws/t1d5h1w5/pepc-boost-builder:latest",
"mev_flood_seconds_per_bundle": 7,
"launch_custom_flood": true
}
}

2 changes: 1 addition & 1 deletion src/mev_custom_flood/mev_custom_flood_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CUSTOM_FLOOD_SREVICE_NAME = "mev-custom-flood"


def spam_in_background(plan, sender_key, receiver_key, el_uri):
sender_script = plan.upload_files("../mev_custom_flood/sender.py")
sender_script = plan.upload_files("./sender.py")

plan.add_service(
name=CUSTOM_FLOOD_SREVICE_NAME,
Expand Down

0 comments on commit cfca6d1

Please sign in to comment.