Skip to content

Commit

Permalink
Merge pull request #174 from ar-io/fix-gateway-types
Browse files Browse the repository at this point in the history
fix(gateway stats): update gateway stat types
  • Loading branch information
atticusofsparta authored Jul 25, 2024
2 parents d43278e + a59b166 commit 60d1674
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/contract-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,13 @@ export type GatewaySettings = GatewayConnectionSettings &
export type AllowedProtocols = 'https';

export type GatewayStats = {
failedConsecutiveEpochs: number;
passedEpochCount: number;
submittedEpochCount: number;
prescribedEpochCount: number;
observedEpochCount: number;
totalEpochCount: number;
totalEpochsPrescribedCount: number;
passedEpochCount: number;
failedEpochCount: number;
failedConsecutiveEpochs: number;
passedConsecutiveEpochs: number;
};

// Observations
Expand Down

0 comments on commit 60d1674

Please sign in to comment.