Skip to content

Commit

Permalink
fix: ActiveStake.stakePoolHash field name
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Feb 7, 2021
1 parent 05a961a commit 08fe609
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-cardano-db-hasura/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ type ActiveStake {
amount: String!
epoch: Epoch
epochNo: Int!
stakePpoolHash: Hash28Hex!
stakePoolHash: Hash28Hex!
stakePoolId: StakePoolID!
registeredWith: StakePool!
}
Expand Down
2 changes: 2 additions & 0 deletions packages/api-cardano-db-hasura/test/activeStake.query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ describe('activeStake', () => {
expect(activeStake[0].amount).toBeDefined()
expect(activeStake[0].epochNo).toBeDefined()
expect(activeStake[0].registeredWith.hash).toBeDefined()
expect(activeStake[0].stakePoolHash).toBeDefined()
expect(activeStake[0].stakePoolId).toBeDefined()
})

it('can return aggregated active stake information for an address', async () => {
Expand Down

0 comments on commit 08fe609

Please sign in to comment.