Skip to content

Commit

Permalink
fix: make nimbus work with mev components (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y authored Sep 28, 2023
1 parent de59952 commit 5c64ed5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 40 deletions.
60 changes: 21 additions & 39 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,49 +170,31 @@ jobs:
- checkout
- run: kurtosis run ${PWD} "$(cat ./.circleci/tests/mev.json)"

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

workflows:
check_latest_version:
when: << pipeline.parameters.should-enable-check-latest-version-workflow >>
jobs:
- check_latest_version:
context:
- slack-secrets
- besu-all:
context:
- slack-secrets
- erigon-all:
context:
- slack-secrets
- ethereumjs-all:
context:
- slack-secrets
- geth-all:
context:
- slack-secrets
- lighthouse-all:
context:
- slack-secrets
- lodestar-all:
context:
- slack-secrets
- mix:
context:
- slack-secrets
- nethermind-all:
context:
- slack-secrets
- nimbus-all:
context:
- slack-secrets
- prysm-all:
context:
- slack-secrets
- reth-all:
context:
- slack-secrets
- teku-all:
context:
- slack-secrets
- check_latest_version
- besu-all
- erigon-all
- ethereumjs-all
- geth-all
- lighthouse-all
- lodestar-all
- mix
- nethermind-all
- nimbus-all
- prysm-all
- reth-all
- teku-all
- nimbus_mev

build:
when: << pipeline.parameters.should-enable-build-workflow >>
Expand Down
17 changes: 17 additions & 0 deletions .circleci/tests/nimbus-mev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"participants": [{
"el_client_type": "geth",
"cl_client_type": "nimbus"
}],
"network_params": {
"network_id": "3151908",
"deposit_contract_address": "0x4242424242424242424242424242424242424242",
"seconds_per_slot": 12,
"slots_per_epoch": 32,
"num_validator_keys_per_node": 64,
"preregistered_validator_keys_mnemonic": "giant issue aisle success illegal bike spike question tent bar rely arctic volcano long crawl hungry vocal artwork sniff fantasy very lucky have athlete",
"capella_fork_epoch": 1
},
"global_client_log_level": "info",
"mev_type": "full"
}
3 changes: 2 additions & 1 deletion src/package_io/parse_input.star
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,9 @@ def enrich_mev_extra_params(parsed_arguments_dict, mev_prefix, mev_port, mev_typ
)
if participant["cl_client_type"] == "nimbus":
participant["validator_extra_params"].append("--payload-builder=true")
participant["beacon_extra_params"].append("--payload-builder=true")
participant["beacon_extra_params"].append(
"--payload-builder=true", "--payload-builder-url={0}".format(mev_url)
"--payload-builder-url={0}".format(mev_url)
)
if participant["cl_client_type"] == "teku":
participant["validator_extra_params"].append(
Expand Down

0 comments on commit 5c64ed5

Please sign in to comment.