fix: add missing methods to IStore interface

This commit is contained in:
Derrick Hammer 2023-07-11 01:09:50 -04:00
parent bfb02263ef
commit 52aca21b78
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ export interface IProver {
export interface IStore { export interface IStore {
addUpdate(period: number, update: LightClientUpdate): Promise<void>; addUpdate(period: number, update: LightClientUpdate): Promise<void>;
getUpdate(period: number): Uint8Array;
getCommittee(period: number): Uint8Array;
getCommitteeHashes(period: number, count: number): Uint8Array;
} }
export interface IVerifyingProvider { export interface IVerifyingProvider {