Skip to content

Commit

Permalink
fix(protocol): update ProofVerifier address name in AddressManager (
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Jan 29, 2023
1 parent 830ba04 commit 4144f4b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/protocol/tasks/deploy_L1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,15 @@ export async function deployContracts(hre: any) {
await utils.waitTx(
hre,
await AddressManager.setAddress(
ethers.utils.solidityPack(
["string", "uint256"],
["plonk_verifier_", 0]
),
// string(abi.encodePacked("plonk_verifier_", i))
`${chainId}.${Buffer.from(
ethers.utils.arrayify(
ethers.utils.solidityPack(
["string", "uint256"],
["plonk_verifier_", 0]
)
)
).toString()}`,
PlonkVerifier.address
)
);
Expand Down

0 comments on commit 4144f4b

Please sign in to comment.