Skip to content

Commit

Permalink
Merge pull request #318 from ar-io/PE-7203-prescribed-observers-type
Browse files Browse the repository at this point in the history
fix(io): fix `AoEpochData` type, add prescribedNames
  • Loading branch information
dtfiedler authored Dec 17, 2024
2 parents c0529be + 1ba3588 commit 84b964d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export type AoEpochObservationData = {
failureSummaries: Record<WalletAddress, WalletAddress[]>;
reports: Record<WalletAddress, TransactionId>;
};
export type AoEpochPrescribedObservers = Record<WalletAddress, WalletAddress[]>;

export type AoVaultData = {
balance: number;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 84b964d

Please sign in to comment.