Merge pull request #55 from ChainSafe/dapplion/deprecate-keypair

Deprecate IKeypair
This commit is contained in:
Cayman 2020-11-30 17:08:45 -07:00 committed by GitHub
commit 2932863392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 9 deletions

View File

@ -55,8 +55,3 @@ export declare class Signature {
toBytes(): Uint8Array;
toHex(): string;
}
export interface IKeypair {
publicKey: PublicKey;
secretKey: SecretKey;
}

View File

@ -1,6 +1,5 @@
import {runSecretKeyTests} from "./secretKey.test";
import {runPublicKeyTests} from "./publicKey.test";
// import {runKeypairTests} from "./keypair.test";
import {runIndexTests} from "./index.test";
import {describeForAllImplementations} from "../switch";
@ -8,6 +7,5 @@ import {describeForAllImplementations} from "../switch";
describeForAllImplementations((bls) => {
runSecretKeyTests(bls);
runPublicKeyTests(bls);
// runKeypairTests(bls);
runIndexTests(bls);
});

View File

@ -1,7 +1,6 @@
import herumi from "../../src/herumi";
import {runSecretKeyTests} from "./secretKey.test";
import {runPublicKeyTests} from "./publicKey.test";
// import {runKeypairTests} from "./keypair.test";
import {runIndexTests} from "./index.test";
// This file is intended to be compiled and run by Karma
@ -16,6 +15,5 @@ describe("herumi", () => {
runSecretKeyTests(herumi);
runPublicKeyTests(herumi);
// runKeypairTests(bls);
runIndexTests(herumi);
});