Fix lint errors

This commit is contained in:
dapplion 2020-11-05 21:44:36 +00:00
parent 49d6d9f62c
commit 7f54032626
3 changed files with 4 additions and 5 deletions

View File

@ -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<AggregateSigsVerifyTestCase, boolean>(
describeDirectorySpecTest<IAggregateSigsVerifyTestCase, boolean>(
"BLS - aggregate sigs verify",
path.join(__dirname, "../../node_modules/@chainsafe/eth2-spec-tests/tests/general/phase0/bls/aggregate_verify/small"),
(testCase) => {

View File

@ -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<AggregateSigsVerifyTestCase, boolean>(
describeDirectorySpecTest<IAggregateSigsVerifyTestCase, boolean>(
"BLS - aggregate sigs verify",
path.join(
__dirname,

View File

@ -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 () {