Commit ebff2d0b authored by Gyanendra Mishra's avatar Gyanendra Mishra Committed by GitHub

fix: fail capella fork epoch (#196)

parent b0954249
......@@ -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"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment