From acdd910667e400b6512cfcad1f72d6999c3e3077 Mon Sep 17 00:00:00 2001 From: Santiago Pittella <87827390+SantiagoPittella@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:54:06 -0300 Subject: [PATCH] feat: Re-add WETH deploy (#9) * re-add weth step in zk init * add correct commit hash in contracts submodule --------- Co-authored-by: Santiago Pittella --- contracts | 2 +- infrastructure/zk/src/init.ts | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/contracts b/contracts index 0aceef7b0860..5e6ff980f03e 160000 --- a/contracts +++ b/contracts @@ -1 +1 @@ -Subproject commit 0aceef7b086081acc2ef121ffcbf07a91a1f33de +Subproject commit 5e6ff980f03e785dcd2cffcc53710e79a464e4d3 diff --git a/infrastructure/zk/src/init.ts b/infrastructure/zk/src/init.ts index 7fbcd81cc430..d168cf57ca16 100644 --- a/infrastructure/zk/src/init.ts +++ b/infrastructure/zk/src/init.ts @@ -72,15 +72,15 @@ export async function init(initArgs: InitArgs = DEFAULT_ARGS) { ); if (deployerL2ContractInput.includeL2WETH) { - // await announced('Initializing L2 WETH token', contract.initializeWethToken(governorPrivateKeyArgs)); + await announced('Initializing L2 WETH token', contract.initializeWethToken(governorPrivateKeyArgs)); } - // await announced( - // 'Initializing governance', - // contract.initializeGovernance([ - // ...governorPrivateKeyArgs, - // !deployerL2ContractInput.includeL2WETH ? ['--skip-weth-bridge'] : [] - // ]) - // ); + await announced( + 'Initializing governance', + contract.initializeGovernance([ + ...governorPrivateKeyArgs, + !deployerL2ContractInput.includeL2WETH ? ['--skip-weth-bridge'] : [] + ]) + ); } // A smaller version of `init` that "resets" the localhost environment, for which `init` was already called before.