Skip to content

Commit 1515185

Browse files
committed
fix
1 parent a7672d8 commit 1515185

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

scripts/update_server.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ def get_l1_settling_chains(self) -> list[str]:
250250
def write_l1_settling_configs(
251251
self,
252252
ctx: ScriptCtx,
253+
zkstack_bin: Path,
253254
ecosystem_dir: Path,
254255
protocol_version: str,
255256
protocol_base: Path,
@@ -372,6 +373,7 @@ def on_initial_chain_ready(
372373
def write_l1_settling_configs(
373374
self,
374375
ctx: ScriptCtx,
376+
zkstack_bin: Path,
375377
ecosystem_dir: Path,
376378
protocol_version: str,
377379
protocol_base: Path,
@@ -391,6 +393,17 @@ def write_l1_settling_configs(
391393
contracts_yaml, "bridgehub_proxy_addr"
392394
)
393395

396+
ctx.logger.info(f"Unpausing deposits for L1-settling chain {chain}...")
397+
ctx.sh(
398+
f"""
399+
{zkstack_bin}
400+
chain unpause-deposits
401+
--chain {chain}
402+
--l1-rpc-url="{config.ANVIL_DEFAULT_URL}"
403+
""",
404+
cwd=ecosystem_dir,
405+
)
406+
394407
ctx.logger.info(
395408
f"Generating L1 -> L2 deposit transaction for "
396409
f"L1-settling chain {chain}..."
@@ -628,7 +641,7 @@ def init_ecosystem(
628641
)
629642

630643
setup.write_l1_settling_configs(
631-
ctx, ecosystem_dir, protocol_version, protocol_base
644+
ctx, zkstack_bin, ecosystem_dir, protocol_version, protocol_base
632645
)
633646

634647

0 commit comments

Comments
 (0)