From 1ba358814d7019475ce049e0d5d8af1f76c429fc Mon Sep 17 00:00:00 2001 From: dtfiedler Date: Tue, 17 Dec 2024 09:53:11 -0600 Subject: [PATCH] fix(io): fix `AoEpochData` type, add prescribedNames --- src/types/io.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types/io.ts b/src/types/io.ts index 5bf4ba01..82fabc0f 100644 --- a/src/types/io.ts +++ b/src/types/io.ts @@ -82,6 +82,7 @@ export type AoEpochObservationData = { failureSummaries: Record; reports: Record; }; +export type AoEpochPrescribedObservers = Record; export type AoVaultData = { balance: number; @@ -151,7 +152,8 @@ export type AoEpochData = { epochIndex: AoEpochIndex; startHeight: BlockHeight; observations: AoEpochObservationData; - prescribedObservers: AoWeightedObserver[]; + prescribedObservers: AoEpochPrescribedObservers; + prescribedNames: string[]; startTimestamp: Timestamp; endTimestamp: Timestamp; distributionTimestamp: Timestamp;