From aafb164e697c9e5a7cf10a8cdf92b047fa768765 Mon Sep 17 00:00:00 2001 From: Rekard0 <5880388+Rekard0@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:15:23 +0100 Subject: [PATCH] fix: formating --- packages/contracts/test/framework/dao/dao-factory.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/contracts/test/framework/dao/dao-factory.ts b/packages/contracts/test/framework/dao/dao-factory.ts index ad2445641..376594b9a 100644 --- a/packages/contracts/test/framework/dao/dao-factory.ts +++ b/packages/contracts/test/framework/dao/dao-factory.ts @@ -99,7 +99,7 @@ async function extractInfoFromCreateDaoTx(tx: any): Promise<{ }; } -async function getAnticipatedAddress(from: string, offset=0) { +async function getAnticipatedAddress(from: string, offset = 0) { let nonce = await ethers.provider.getTransactionCount(from); const anticipatedAddress = ethers.utils.getContractAddress({ from: from, @@ -355,7 +355,8 @@ describe('DAOFactory: ', function () { pluginInstallationData, ]); - const {dao, plugin, helpers, permissions} = await extractInfoFromCreateDaoTx(tx); + const {dao, plugin, helpers, permissions} = + await extractInfoFromCreateDaoTx(tx); const pluginRepoPointer: PluginRepoPointer = [ pluginSetupMockRepoAddress, @@ -533,9 +534,10 @@ describe('DAOFactory: ', function () { ); const expectedDao = await getAnticipatedAddress(daoFactory.address); - const expectedPlugins = [await getAnticipatedAddress( - pluginSetupV1Mock.address - ), await getAnticipatedAddress(pluginSetupV1Mock.address, 1)]; + const expectedPlugins = [ + await getAnticipatedAddress(pluginSetupV1Mock.address), + await getAnticipatedAddress(pluginSetupV1Mock.address, 1), + ]; // Setup plugins for installation const plugin1 = {...pluginInstallationData};