From 43313b947097d5ea93846f396f9f5a184df1e27e Mon Sep 17 00:00:00 2001 From: Andres Aiello Date: Wed, 25 Sep 2024 14:43:54 -0300 Subject: [PATCH] remove unused code --- .../test/proof-of-liveness/proof-of-liveness.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/zevm-app-contracts/test/proof-of-liveness/proof-of-liveness.ts b/packages/zevm-app-contracts/test/proof-of-liveness/proof-of-liveness.ts index 94fbaea..5476c77 100644 --- a/packages/zevm-app-contracts/test/proof-of-liveness/proof-of-liveness.ts +++ b/packages/zevm-app-contracts/test/proof-of-liveness/proof-of-liveness.ts @@ -1,12 +1,10 @@ import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers"; import { expect } from "chai"; -import { BigNumber, utils } from "ethers"; -import { parseEther } from "ethers/lib/utils"; import { ethers } from "hardhat"; import { ProofOfLiveness } from "../../typechain-types"; -const HARDHAT_CHAIN_ID = 1337; +const PROOF_PERIOD = 24 * 60 * 60; // 24 hours in seconds describe("Proof Of Liveness Contract test", () => { let proofOfLiveness: ProofOfLiveness, @@ -34,8 +32,6 @@ describe("Proof Of Liveness Contract test", () => { }); it("Should proof 5 times every 24 hours and return correct view values", async () => { - const PROOF_PERIOD = 24 * 60 * 60; // 24 hours in seconds - // Prove liveness 5 times for (let i = 0; i < 5; i++) { // Call the proveLiveness function @@ -55,8 +51,6 @@ describe("Proof Of Liveness Contract test", () => { }); it("Should proof 5 times every 24 hours and return correct view values if one day is missing", async () => { - const PROOF_PERIOD = 24 * 60 * 60; // 24 hours in seconds - // Prove liveness 5 times for (let i = 0; i < 5; i++) { // Call the proveLiveness function if day is not 3