@@ -104,7 +104,7 @@ Generated by [AVA](https://avajs.dev).
104104 ␊
105105 export default buildModule("MyTokenModule", (m) => {␊
106106 ␊
107- // TODO: Set addresses for the contract arguments below␊
107+ // TODO: Set values for the constructor arguments below␊
108108 const myToken = m.contract("MyToken", [recipient, defaultAdmin, pauser, minter]);␊
109109 ␊
110110 return { myToken };␊
@@ -263,7 +263,7 @@ Generated by [AVA](https://avajs.dev).
263263 async function main() {␊
264264 const ContractFactory = await ethers.getContractFactory("MyToken");␊
265265 ␊
266- // TODO: Set addresses for the contract arguments below␊
266+ // TODO: Set values for the constructor arguments below␊
267267 const instance = await upgrades.deployProxy(ContractFactory, [tokenBridge_, recipient, initialOwner]);␊
268268 await instance.waitForDeployment();␊
269269 ␊
@@ -370,7 +370,7 @@ Generated by [AVA](https://avajs.dev).
370370 async function main() {␊
371371 const ContractFactory = await ethers.getContractFactory("MyToken");␊
372372 ␊
373- // TODO: Set addresses for the contract arguments below␊
373+ // TODO: Set values for the constructor arguments below␊
374374 const instance = await upgrades.deployProxy(ContractFactory, [initialOwner]);␊
375375 await instance.waitForDeployment();␊
376376 ␊
@@ -462,7 +462,7 @@ Generated by [AVA](https://avajs.dev).
462462 ␊
463463 export default buildModule("MyTokenModule", (m) => {␊
464464 ␊
465- // TODO: Set addresses for the contract arguments below␊
465+ // TODO: Set values for the constructor arguments below␊
466466 const myToken = m.contract("MyToken", [initialOwner]);␊
467467 ␊
468468 return { myToken };␊
@@ -543,7 +543,7 @@ Generated by [AVA](https://avajs.dev).
543543 ␊
544544 export default buildModule("MyAccountModule", (m) => {␊
545545 ␊
546- // TODO: Set addresses for the contract arguments below␊
546+ // TODO: Set values for the constructor arguments below␊
547547 const myAccount = m.contract("MyAccount", [signer]);␊
548548 ␊
549549 return { myAccount };␊
@@ -641,8 +641,8 @@ Generated by [AVA](https://avajs.dev).
641641 async function main() {␊
642642 const ContractFactory = await ethers.getContractFactory("MyAccount");␊
643643 ␊
644- // TODO: Set addresses for the contract arguments below␊
645- const instance = await upgrades.deployProxy(ContractFactory, [signer], { unsafeAllow: 'constructor' });␊
644+ // TODO: Set values for the constructor arguments below␊
645+ const instance = await upgrades.deployProxy(ContractFactory, [signer], { unsafeAllow: [ 'constructor'] });␊
646646 await instance.waitForDeployment();␊
647647 ␊
648648 console.log(\`Proxy deployed to ${await instance.getAddress()}\`);␊
@@ -664,7 +664,7 @@ Generated by [AVA](https://avajs.dev).
664664 ␊
665665 const signer = (await ethers.getSigners())[0].address;␊
666666 ␊
667- const instance = await upgrades.deployProxy(ContractFactory, [signer], { unsafeAllow: 'constructor' });␊
667+ const instance = await upgrades.deployProxy(ContractFactory, [signer], { unsafeAllow: [ 'constructor'] });␊
668668 await instance.waitForDeployment();␊
669669 });␊
670670 });␊
0 commit comments