From 35af75a6c615619b7804b46d9610cd5a37b885cf Mon Sep 17 00:00:00 2001 From: Aleksandr Kuperman Date: Thu, 14 Dec 2023 17:15:48 +0000 Subject: [PATCH] test: adjusting existing tests --- test/CM.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/CM.js b/test/CM.js index ab9cfb6..677dccd 100644 --- a/test/CM.js +++ b/test/CM.js @@ -379,7 +379,7 @@ describe("Community Multisig", function () { const snapshot = await helpers.takeSnapshot(); // Change the proposal Id to a known one - payload = guard.interface.encodeFunctionData("changeGovernorCheckProposalId", + const payload = guard.interface.encodeFunctionData("changeGovernorCheckProposalId", ["62151151991217526951504761219057817227643973118811130641152828658327965685127"]); await timelock.execute(guard.address, payload); @@ -494,9 +494,6 @@ describe("Community Multisig", function () { let balance = await ethers.provider.getBalance(multisig.address); expect(balance).to.equal(amount); - // Get the balance before - const balanceBefore = await ethers.provider.getBalance(deployer.address); - // Send the funds back nonce = await multisig.nonce(); txHashData = await safeContracts.buildSafeTransaction({to: deployer.address, data: "0x", operation: 0, nonce: nonce});