From 452938b6367f2fba0cafa1277c64438af5fa2d67 Mon Sep 17 00:00:00 2001 From: Max Andreev Date: Tue, 04 Oct 2022 09:14:02 +0000 Subject: [PATCH] Fix eslint --- --- a/tests/src/eth/fractionalizer/fractionalizer.test.ts +++ b/tests/src/eth/fractionalizer/fractionalizer.test.ts @@ -40,13 +40,13 @@ ]); } return compiledFractionalizer; -} +}; const deployContract = async (helper: EthUniqueHelper, owner: string): Promise => { const compiled = await compileContract(helper); return await helper.ethContract.deployByAbi(owner, compiled.abi, compiled.object); -} +}; const initContract = async (helper: EthUniqueHelper, owner: string): Promise<{contract: Contract, rftCollectionAddress: string}> => { @@ -57,7 +57,7 @@ const result = await fractionalizer.methods.createAndSetRFTCollection('A', 'B', 'C').send({value: Number(2n * helper.balance.getOneTokenNominal())}); const rftCollectionAddress = result.events.RFTCollectionSet.returnValues._collection; return {contract: fractionalizer, rftCollectionAddress}; -} +}; const mintRFTToken = async (helper: EthUniqueHelper, owner: string, fractionalizer: Contract, amount: bigint): Promise<{ nftCollectionAddress: string, nftTokenId: number, rftTokenAddress: string @@ -76,7 +76,7 @@ nftTokenId: _tokenId, rftTokenAddress: _rftToken, }; -} +}; describe('Fractionalizer contract usage', () => { -- gitstuff