From 53019c23fb28c7cb14a657c432ba5a8d694da1f9 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 31 Jan 2023 16:00:09 +0800 Subject: [PATCH] feat(protocol): add `proto_broker` address into `AddressManager` in deploy_L1 script --- packages/protocol/tasks/deploy_L1.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/protocol/tasks/deploy_L1.ts b/packages/protocol/tasks/deploy_L1.ts index d05d261ec97..b6e16bfffa7 100644 --- a/packages/protocol/tasks/deploy_L1.ts +++ b/packages/protocol/tasks/deploy_L1.ts @@ -137,6 +137,15 @@ export async function deployContracts(hre: any) { await AddressManager.setAddress(`${chainId}.taiko`, TaikoL1.address) ); + // Used by TkoToken + await utils.waitTx( + hre, + await AddressManager.setAddress( + `${chainId}.proto_broker`, + TaikoL1.address + ) + ); + // Bridge const Bridge = await deployBridge(hre, AddressManager.address);