Skip to content

Commit

Permalink
feat: Re-add WETH deploy (#9)
Browse files Browse the repository at this point in the history
* re-add weth step in zk init

* add correct commit hash in contracts submodule

---------

Co-authored-by: Santiago Pittella <[email protected]>
  • Loading branch information
SantiagoPittella and Santiago Pittella authored Dec 15, 2023
1 parent 28644d7 commit acdd910
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion contracts
16 changes: 8 additions & 8 deletions infrastructure/zk/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit acdd910

Please sign in to comment.