From 2fdacd0e00fcd5b7784a10f50b97a058bed049b3 Mon Sep 17 00:00:00 2001 From: Mateusz Radomski Date: Wed, 11 Oct 2023 10:12:06 +0200 Subject: [PATCH] ylff --- packages/contracts/scripts/deploy.ts | 4 +--- packages/contracts/test/Inputs.test.ts | 8 ++------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/contracts/scripts/deploy.ts b/packages/contracts/scripts/deploy.ts index 77d33c7..29ec81c 100644 --- a/packages/contracts/scripts/deploy.ts +++ b/packages/contracts/scripts/deploy.ts @@ -55,9 +55,7 @@ async function main(): Promise { await startPerpetualHardhatNode() } - const inputsFactory = await ethers.getContractFactory( - 'Inputs', - ) + const inputsFactory = await ethers.getContractFactory('Inputs') const inputs = await inputsFactory.deploy() await inputs.deployed() diff --git a/packages/contracts/test/Inputs.test.ts b/packages/contracts/test/Inputs.test.ts index 2cbada0..9f9cbde 100644 --- a/packages/contracts/test/Inputs.test.ts +++ b/packages/contracts/test/Inputs.test.ts @@ -14,9 +14,7 @@ describe('Inputs', () => { it('Should emit BatchAppended event', async () => { const deployer = await getDeployer() - const inputsFactory = await hre.ethers.getContractFactory( - 'Inputs', - ) + const inputsFactory = await hre.ethers.getContractFactory('Inputs') const inputs = await inputsFactory.deploy() await expect(inputs.appendBatch(randomBytes)) @@ -25,9 +23,7 @@ describe('Inputs', () => { }) it('Should revert if called from another contract', async () => { - const inputsFactory = await hre.ethers.getContractFactory( - 'Inputs', - ) + const inputsFactory = await hre.ethers.getContractFactory('Inputs') const inputs = await inputsFactory.deploy() const callerFactory = await hre.ethers.getContractFactory('Caller') const caller = await callerFactory.deploy(inputs.address)