From 962b94b4c2588c7727fd63c99165ce6bf0af772d Mon Sep 17 00:00:00 2001 From: sklppy88 Date: Fri, 16 Aug 2024 11:58:59 +0000 Subject: [PATCH] init --- .../cli/src/cmds/devnet/bootstrap_network.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/yarn-project/cli/src/cmds/devnet/bootstrap_network.ts b/yarn-project/cli/src/cmds/devnet/bootstrap_network.ts index 51213bae3de..a0191b927ef 100644 --- a/yarn-project/cli/src/cmds/devnet/bootstrap_network.ts +++ b/yarn-project/cli/src/cmds/devnet/bootstrap_network.ts @@ -144,10 +144,14 @@ async function deployToken( // @ts-ignore - Importing noir-contracts.js even in devDeps results in a circular dependency error. Need to ignore because this line doesn't cause an error in a dev environment const { TokenContract, TokenBridgeContract } = await import('@aztec/noir-contracts.js'); const devCoin = await TokenContract.deploy(wallet, wallet.getAddress(), 'DevCoin', 'DEV', 18) - .send() + .send({ + universalDeploy: true, + }) .deployed({ proven: true, provenTimeout: 600 }); const bridge = await TokenBridgeContract.deploy(wallet, devCoin.address, l1Portal) - .send() + .send({ + universalDeploy: true, + }) .deployed({ proven: true, provenTimeout: 600 }); await new BatchCall(wallet, [ @@ -201,7 +205,11 @@ async function deployFPC(wallet: Wallet, tokenAddress: AztecAddress): Promise { // @ts-ignore - Importing noir-contracts.js even in devDeps results in a circular dependency error. Need to ignore because this line doesn't cause an error in a dev environment const { CounterContract } = await import('@aztec/noir-contracts.js'); const counter = await CounterContract.deploy(wallet, 1, wallet.getAddress(), wallet.getAddress()) - .send() + .send({ + universalDeploy: true, + }) .deployed({ proven: true, provenTimeout: 600 }); const info: ContractDeploymentInfo = { address: counter.address,