Skip to content

Commit

Permalink
feat: adding a fix for normalcy and strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
praetoriansentry committed Nov 4, 2024
1 parent f8f9cef commit 597488e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ DEFAULT_ROLLUP_ARGS = {
# Docker/Kubernetes cluster".
# https://docs.kurtosis.com/advanced-concepts/public-and-private-ips-and-ports/
"use_dynamic_ports": True,
# Set this to true to disable all special logics in hermez and only enable bridge update in pre-block execution
# https://hackmd.io/@4cbvqzFdRBSWMHNeI8Wbwg/r1hKHp_S0
"enable_normalcy": False,
}

Expand Down Expand Up @@ -302,6 +304,9 @@ def parse_args(plan, args):
deploy_cdk_erigon_node = deployment_stages.get("deploy_cdk_erigon_node", False)
l2_rpc_name = get_l2_rpc_name(deploy_cdk_erigon_node)

if args["enable_normalcy"] and args["erigon_strict_mode"]:
fail("normalcy and strict mode cannot be enabled together")

# Determine static ports, if specified.
if not args.get("use_dynamic_ports", True):
plan.print("Using static ports.")
Expand Down

0 comments on commit 597488e

Please sign in to comment.