From 36c0eb0754470ad6f2660c1045701300b3431c0b Mon Sep 17 00:00:00 2001 From: invocamanman Date: Mon, 26 Feb 2024 16:09:16 +0100 Subject: [PATCH] comment upgrade --- test/contractsv2/PolygonRollupManager.test.ts | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/test/contractsv2/PolygonRollupManager.test.ts b/test/contractsv2/PolygonRollupManager.test.ts index efaaddb96..5c11ced5a 100644 --- a/test/contractsv2/PolygonRollupManager.test.ts +++ b/test/contractsv2/PolygonRollupManager.test.ts @@ -2669,18 +2669,24 @@ describe("Polygon Rollup Manager", () => { expect(await newZkEVMContract.dataAvailabilityProtocol()).to.be.equal(PolygonDataCommitee.target); - // Finally check compatibility with current ROllups: - const PolygonCurrentValidium = await ethers.getContractFactory("PolygonValidiumEtrog"); - - await upgrades.validateUpgrade(PolygonValidiumStorageMigration, PolygonCurrentValidium, { - constructorArgs: [ - polygonZkEVMGlobalExitRoot.target, - polTokenContract.target, - polygonZkEVMBridgeContract.target, - rollupManagerContract.target, - ], - unsafeAllow: ["constructor", "state-variable-immutable"], - } as any); + // // Finally check compatibility with current ROllups: + // const PolygonCurrentValidium = await ethers.getContractFactory("PolygonValidiumEtrog"); + // const PolygonCurrentValidiumContract = await PolygonCurrentValidium.deploy( + // polygonZkEVMGlobalExitRoot.target, + // polTokenContract.target, + // polygonZkEVMBridgeContract.target, + // rollupManagerContract.target + // ); + // await PolygonCurrentValidiumContract.waitForDeployment(); + // await upgrades.validateUpgrade(PolygonValidiumStorageMigration, PolygonCurrentValidium, { + // constructorArgs: [ + // polygonZkEVMGlobalExitRoot.target, + // polTokenContract.target, + // polygonZkEVMBridgeContract.target, + // rollupManagerContract.target, + // ], + // unsafeAllow: ["constructor", "state-variable-immutable"], + // } as any); }); it("should add existing rollup and test full flow", async () => {