Skip to content

Commit

Permalink
fix(types): update type name to what contract returns
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Jul 25, 2024
1 parent ec36ee0 commit 99edbad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const gateways = await io.getGateways();
"failedConsecutiveEpochs": 0,
"passedEpochCount": 30,
"submittedEpochCount": 30,
"totalEpochParticipationCount": 31,
"totalEpochCount": 31,
"totalEpochsPrescribedCount": 31
},
"status": "joined",
Expand Down Expand Up @@ -364,7 +364,7 @@ const gateway = await io.getGateway({
"failedConsecutiveEpochs": 0,
"passedEpochCount": 30,
"submittedEpochCount": 30,
"totalEpochParticipationCount": 31,
"totalEpochCount": 31,
"totalEpochsPrescribedCount": 31
},
"status": "joined",
Expand Down Expand Up @@ -412,7 +412,7 @@ Available `sortBy` options are any of the keys on the gateway object, e.g. `oper
"failedConsecutiveEpochs": 0,
"passedEpochCount": 30,
"submittedEpochCount": 30,
"totalEpochParticipationCount": 31,
"totalEpochCount": 31,
"totalEpochsPrescribedCount": 31
},
"status": "joined",
Expand Down
2 changes: 1 addition & 1 deletion src/contract-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export type GatewayStats = {
failedConsecutiveEpochs: number;
passedEpochCount: number;
submittedEpochCount: number;
totalEpochParticipationCount: number;
totalEpochCount: number;
totalEpochsPrescribedCount: number;
};

Expand Down
2 changes: 1 addition & 1 deletion src/io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export type AoEpochData = {
export type AoGatewayStats = {
passedConsecutiveEpochs: number;
failedConsecutiveEpochs: number;
totalEpochParticipationCount: number;
totalEpochCount: number;
passedEpochCount: number;
failedEpochCount: number;
observedEpochCount: number;
Expand Down

0 comments on commit 99edbad

Please sign in to comment.