Merge pull request #55 from ChainSafe/dapplion/deprecate-keypair
Deprecate IKeypair
This commit is contained in:
commit
2932863392
|
@ -55,8 +55,3 @@ export declare class Signature {
|
||||||
toBytes(): Uint8Array;
|
toBytes(): Uint8Array;
|
||||||
toHex(): string;
|
toHex(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IKeypair {
|
|
||||||
publicKey: PublicKey;
|
|
||||||
secretKey: SecretKey;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import {runSecretKeyTests} from "./secretKey.test";
|
import {runSecretKeyTests} from "./secretKey.test";
|
||||||
import {runPublicKeyTests} from "./publicKey.test";
|
import {runPublicKeyTests} from "./publicKey.test";
|
||||||
// import {runKeypairTests} from "./keypair.test";
|
|
||||||
import {runIndexTests} from "./index.test";
|
import {runIndexTests} from "./index.test";
|
||||||
import {describeForAllImplementations} from "../switch";
|
import {describeForAllImplementations} from "../switch";
|
||||||
|
|
||||||
|
@ -8,6 +7,5 @@ import {describeForAllImplementations} from "../switch";
|
||||||
describeForAllImplementations((bls) => {
|
describeForAllImplementations((bls) => {
|
||||||
runSecretKeyTests(bls);
|
runSecretKeyTests(bls);
|
||||||
runPublicKeyTests(bls);
|
runPublicKeyTests(bls);
|
||||||
// runKeypairTests(bls);
|
|
||||||
runIndexTests(bls);
|
runIndexTests(bls);
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import herumi from "../../src/herumi";
|
import herumi from "../../src/herumi";
|
||||||
import {runSecretKeyTests} from "./secretKey.test";
|
import {runSecretKeyTests} from "./secretKey.test";
|
||||||
import {runPublicKeyTests} from "./publicKey.test";
|
import {runPublicKeyTests} from "./publicKey.test";
|
||||||
// import {runKeypairTests} from "./keypair.test";
|
|
||||||
import {runIndexTests} from "./index.test";
|
import {runIndexTests} from "./index.test";
|
||||||
|
|
||||||
// This file is intended to be compiled and run by Karma
|
// This file is intended to be compiled and run by Karma
|
||||||
|
@ -16,6 +15,5 @@ describe("herumi", () => {
|
||||||
|
|
||||||
runSecretKeyTests(herumi);
|
runSecretKeyTests(herumi);
|
||||||
runPublicKeyTests(herumi);
|
runPublicKeyTests(herumi);
|
||||||
// runKeypairTests(bls);
|
|
||||||
runIndexTests(herumi);
|
runIndexTests(herumi);
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue