Skip to content

Commit

Permalink
fix: fail capella fork epoch (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y authored Sep 14, 2023
1 parent b095424 commit ebff2d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/package_io/parse_input.star
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ def parse_input(plan, input_args):
if result.get("mev_type") in ("mock", "full"):
result = enrich_mev_extra_params(result, MEV_BOOST_SERVICE_NAME_PREFIX, FLASHBOTS_MEV_BOOST_PORT, result.get("mev_type"))

if result.get("mev_type") == "full" and result["network_params"]["capella_fork_epoch"] == 0:
fail("capella_fork_epoch needs to be set to a non-zero value when using full MEV, set it using network_params.capella_fork_epoch")

return struct(
participants=[struct(
el_client_type=participant["el_client_type"],
Expand Down

0 comments on commit ebff2d0

Please sign in to comment.