Skip to content

Commit

Permalink
fix: formating
Browse files Browse the repository at this point in the history
  • Loading branch information
Rekard0 committed Nov 6, 2024
1 parent f39cd58 commit aafb164
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/contracts/test/framework/dao/dao-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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};
Expand Down

0 comments on commit aafb164

Please sign in to comment.