From 52aca21b781160055b57ec983edd1ed8e9c0e3e4 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 11 Jul 2023 01:09:50 -0400 Subject: [PATCH] fix: add missing methods to IStore interface --- src/interfaces.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/interfaces.ts b/src/interfaces.ts index d871523..dcbcea8 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -13,6 +13,12 @@ export interface IProver { export interface IStore { addUpdate(period: number, update: LightClientUpdate): Promise; + + getUpdate(period: number): Uint8Array; + + getCommittee(period: number): Uint8Array; + + getCommitteeHashes(period: number, count: number): Uint8Array; } export interface IVerifyingProvider {