@@ -326,7 +326,7 @@ const UpgradeModule = require("../ignition/modules/UpgradeModule");
326
326
describe (" Demo Proxy" , function () {
327
327
describe (" Proxy interaction" , async function () {
328
328
it (" Should be interactable via proxy" , async function () {
329
- const [owner , otherAccount ] = await ethers .getSigners ();
329
+ const [, otherAccount ] = await ethers .getSigners ();
330
330
331
331
const { demo } = await ignition .deploy (ProxyModule);
332
332
@@ -336,15 +336,15 @@ describe("Demo Proxy", function () {
336
336
337
337
describe (" Upgrading" , function () {
338
338
it (" Should have upgraded the proxy to DemoV2" , async function () {
339
- const [owner , otherAccount ] = await ethers .getSigners ();
339
+ const [, otherAccount ] = await ethers .getSigners ();
340
340
341
341
const { demo } = await ignition .deploy (UpgradeModule);
342
342
343
343
expect (await demo .connect (otherAccount).version ()).to .equal (" 2.0.0" );
344
344
});
345
345
346
346
it (" Should have set the name during upgrade" , async function () {
347
- const [owner , otherAccount ] = await ethers .getSigners ();
347
+ const [, otherAccount ] = await ethers .getSigners ();
348
348
349
349
const { demo } = await ignition .deploy (UpgradeModule);
350
350
0 commit comments