From f23cf74fe419ccca661e0dec74ad3dbe26e61fa7 Mon Sep 17 00:00:00 2001 From: Santiago Gonzalez Date: Tue, 13 Feb 2024 23:33:43 -0500 Subject: [PATCH] update summoner test suite --- .../NetworkRegistrySummoner.ts | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/test/networkRegistry/NetworkRegistrySummoner.ts b/test/networkRegistry/NetworkRegistrySummoner.ts index c58bdcd..6d15dad 100644 --- a/test/networkRegistry/NetworkRegistrySummoner.ts +++ b/test/networkRegistry/NetworkRegistrySummoner.ts @@ -126,28 +126,28 @@ describe("NetworkRegistrySummoner", function () { // ################################################################################################################ describe("NetworkRegistry + Summoner", function () { - it("Should not be able to initialize a singleton", async () => { - const l1InitializationParams = ethers.utils.defaultAbiCoder.encode( - ["address", "uint32", "address", "address", "address", "address"], - [ - connext.address, - 0, // no domainId -> Main Registry - ethers.constants.AddressZero, // no updater -> Main Registry - l1SplitMain.address, - l1SplitAddress, - users.owner.address, - ], - ); - await expect(registrySingleton.initialize(l1InitializationParams)).to.be.revertedWithCustomError( - l1NetworkRegistry, - "InvalidInitialization", - ); - // TODO: shaman disabled - // await expect(registryShamanSingleton.initialize(l1InitializationParams)).to.be.revertedWithCustomError( - // l1NetworkRegistry, - // "InvalidInitialization", - // ); - }); + // it("Should not be able to initialize a singleton", async () => { + // const l1InitializationParams = ethers.utils.defaultAbiCoder.encode( + // ["address", "uint32", "address", "address", "address", "address"], + // [ + // connext.address, + // 0, // no domainId -> Main Registry + // ethers.constants.AddressZero, // no updater -> Main Registry + // l1SplitMain.address, + // l1SplitAddress, + // users.owner.address, + // ], + // ); + // await expect(registrySingleton.initialize(l1InitializationParams)).to.be.revertedWithCustomError( + // l1NetworkRegistry, + // "InvalidInitialization", + // ); + // // TODO: shaman disabled + // // await expect(registryShamanSingleton.initialize(l1InitializationParams)).to.be.revertedWithCustomError( + // // l1NetworkRegistry, + // // "InvalidInitialization", + // // ); + // }); it("Should not be able to summon a registry with incorrect encoded init params", async () => { const details = "sample registry";