Fix lint errors
This commit is contained in:
parent
49d6d9f62c
commit
7f54032626
|
@ -2,7 +2,7 @@ import path from "path";
|
||||||
import bls, {initBLS} from "../../src";
|
import bls, {initBLS} from "../../src";
|
||||||
import {describeDirectorySpecTest, InputType} from "@chainsafe/lodestar-spec-test-util";
|
import {describeDirectorySpecTest, InputType} from "@chainsafe/lodestar-spec-test-util";
|
||||||
|
|
||||||
interface AggregateSigsVerifyTestCase {
|
interface IAggregateSigsVerifyTestCase {
|
||||||
data: {
|
data: {
|
||||||
input: {
|
input: {
|
||||||
pubkeys: string[];
|
pubkeys: string[];
|
||||||
|
@ -21,7 +21,7 @@ before(async function f() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
describeDirectorySpecTest<AggregateSigsVerifyTestCase, boolean>(
|
describeDirectorySpecTest<IAggregateSigsVerifyTestCase, boolean>(
|
||||||
"BLS - aggregate sigs verify",
|
"BLS - aggregate sigs verify",
|
||||||
path.join(__dirname, "../../node_modules/@chainsafe/eth2-spec-tests/tests/general/phase0/bls/aggregate_verify/small"),
|
path.join(__dirname, "../../node_modules/@chainsafe/eth2-spec-tests/tests/general/phase0/bls/aggregate_verify/small"),
|
||||||
(testCase) => {
|
(testCase) => {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import path from "path";
|
||||||
import bls, {initBLS} from "../../src";
|
import bls, {initBLS} from "../../src";
|
||||||
import {describeDirectorySpecTest, InputType} from "@chainsafe/lodestar-spec-test-util";
|
import {describeDirectorySpecTest, InputType} from "@chainsafe/lodestar-spec-test-util";
|
||||||
|
|
||||||
interface AggregateSigsVerifyTestCase {
|
interface IAggregateSigsVerifyTestCase {
|
||||||
data: {
|
data: {
|
||||||
input: {
|
input: {
|
||||||
pubkeys: string[];
|
pubkeys: string[];
|
||||||
|
@ -21,7 +21,7 @@ before(async function f() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
describeDirectorySpecTest<AggregateSigsVerifyTestCase, boolean>(
|
describeDirectorySpecTest<IAggregateSigsVerifyTestCase, boolean>(
|
||||||
"BLS - aggregate sigs verify",
|
"BLS - aggregate sigs verify",
|
||||||
path.join(
|
path.join(
|
||||||
__dirname,
|
__dirname,
|
||||||
|
|
|
@ -2,7 +2,6 @@ import bls, {aggregatePubkeys, aggregateSignatures, initBLS, Keypair, verify, ve
|
||||||
import SHA256 from "@chainsafe/as-sha256";
|
import SHA256 from "@chainsafe/as-sha256";
|
||||||
import {expect} from "chai";
|
import {expect} from "chai";
|
||||||
import {destroy} from "../../src/context";
|
import {destroy} from "../../src/context";
|
||||||
import {padLeft} from "../../src/helpers/utils";
|
|
||||||
|
|
||||||
describe("test bls", function () {
|
describe("test bls", function () {
|
||||||
before(async function () {
|
before(async function () {
|
||||||
|
|
Reference in New Issue