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

fix: mev should work with the validator count change #225

Merged
merged 7 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 12 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ jobs:
- checkout
- run: kurtosis run ${PWD} "$(cat ./.circleci/tests/teku-all.json)"

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

workflows:
check_latest_version:
when: << pipeline.parameters.should-enable-check-latest-version-workflow >>
Expand Down Expand Up @@ -227,26 +234,22 @@ workflows:
ignore:
- main
- run_starlark:
context:
# This pulls in KurtosisBot's Github token, so that we can read from our private repos
- github-user
filters:
branches:
ignore:
- main
- run_starlark_arm64:
context:
# This pulls in KurtosisBot's Github token, so that we can read from our private repos
- github-user
filters:
branches:
ignore:
- main
- lint:
context:
# This pulls in KurtosisBot's Github token, so that we can read from our private repos
- github-user
filters:
branches:
ignore:
- main
- mev:
filters:
branches:
ignore:
- main
9 changes: 9 additions & 0 deletions .circleci/tests/mev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"mev_type": "full",
"mev_params": {
"launch_custom_flood": true
},
"network_params": {
"seconds_per_slot": 3
}
}
3 changes: 3 additions & 0 deletions src/package_io/parse_input.star
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ def enrich_mev_extra_params(parsed_arguments_dict, mev_prefix, mev_port, mev_typ
},
"validator_extra_params": ["--builder-proposals"],
"builder_network_params": None,
"validator_count": package_io_parser.default_network_params()[
"num_validator_keys_per_node"
],
}

parsed_arguments_dict["participants"].append(mev_participant)
Expand Down