From 462609e8a98a63363909b0bec7e680daacf40cf2 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 25 Jan 2023 21:28:08 +0800 Subject: [PATCH] feat(protocol): L1 deployment script changes related to #13047 (#13052) Co-authored-by: Daniel Wang Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com> --- packages/protocol/tasks/deploy_L1.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/protocol/tasks/deploy_L1.ts b/packages/protocol/tasks/deploy_L1.ts index 32f1f6fabbe..11941025d05 100644 --- a/packages/protocol/tasks/deploy_L1.ts +++ b/packages/protocol/tasks/deploy_L1.ts @@ -193,7 +193,10 @@ export async function deployContracts(hre: any) { await utils.waitTx( hre, await AddressManager.setAddress( - `${chainId}.plonk_verifier`, + ethers.utils.solidityPack( + ["string", "uint256"], + ["plonk_verifier_", 0] + ), PlonkVerifier.address ) );