From 7f5403262694732dfd165b0e160f62b1e756de9e Mon Sep 17 00:00:00 2001 From: dapplion Date: Thu, 5 Nov 2020 21:44:36 +0000 Subject: [PATCH] Fix lint errors --- test/spec/aggregate_sigs_verify.test.ts | 4 ++-- test/spec/fast_aggregate_verify.test.ts | 4 ++-- test/unit/index.test.ts | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/spec/aggregate_sigs_verify.test.ts b/test/spec/aggregate_sigs_verify.test.ts index a4d711a..8079830 100644 --- a/test/spec/aggregate_sigs_verify.test.ts +++ b/test/spec/aggregate_sigs_verify.test.ts @@ -2,7 +2,7 @@ import path from "path"; import bls, {initBLS} from "../../src"; import {describeDirectorySpecTest, InputType} from "@chainsafe/lodestar-spec-test-util"; -interface AggregateSigsVerifyTestCase { +interface IAggregateSigsVerifyTestCase { data: { input: { pubkeys: string[]; @@ -21,7 +21,7 @@ before(async function f() { } }); -describeDirectorySpecTest( +describeDirectorySpecTest( "BLS - aggregate sigs verify", path.join(__dirname, "../../node_modules/@chainsafe/eth2-spec-tests/tests/general/phase0/bls/aggregate_verify/small"), (testCase) => { diff --git a/test/spec/fast_aggregate_verify.test.ts b/test/spec/fast_aggregate_verify.test.ts index 84abf33..d4f8322 100644 --- a/test/spec/fast_aggregate_verify.test.ts +++ b/test/spec/fast_aggregate_verify.test.ts @@ -2,7 +2,7 @@ import path from "path"; import bls, {initBLS} from "../../src"; import {describeDirectorySpecTest, InputType} from "@chainsafe/lodestar-spec-test-util"; -interface AggregateSigsVerifyTestCase { +interface IAggregateSigsVerifyTestCase { data: { input: { pubkeys: string[]; @@ -21,7 +21,7 @@ before(async function f() { } }); -describeDirectorySpecTest( +describeDirectorySpecTest( "BLS - aggregate sigs verify", path.join( __dirname, diff --git a/test/unit/index.test.ts b/test/unit/index.test.ts index 9085828..af18eb2 100644 --- a/test/unit/index.test.ts +++ b/test/unit/index.test.ts @@ -2,7 +2,6 @@ import bls, {aggregatePubkeys, aggregateSignatures, initBLS, Keypair, verify, ve import SHA256 from "@chainsafe/as-sha256"; import {expect} from "chai"; import {destroy} from "../../src/context"; -import {padLeft} from "../../src/helpers/utils"; describe("test bls", function () { before(async function () {