Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaiello committed Sep 25, 2024
1 parent 8ef87b0 commit 43313b9
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 43313b9

Please sign in to comment.