diff --git a/CHANGELOG.md b/CHANGELOG.md index 57dde6b4..691e522e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to ## [Unreleased] +### Fixed + +- @cosmjs/stargate: Add missing pagination key arguments to query types in + `GovExtension`. + ## [0.26.0] - 2021-08-24 ### Added diff --git a/packages/stargate/src/queries/gov.ts b/packages/stargate/src/queries/gov.ts index 7e9c9d52..e8c81aae 100644 --- a/packages/stargate/src/queries/gov.ts +++ b/packages/stargate/src/queries/gov.ts @@ -27,12 +27,16 @@ export interface GovExtension { proposalStatus: ProposalStatus, depositor: string, voter: string, + paginationKey?: Uint8Array, ) => Promise; readonly proposal: (proposalId: GovProposalId) => Promise; - readonly deposits: (proposalId: GovProposalId) => Promise; + readonly deposits: ( + proposalId: GovProposalId, + paginationKey?: Uint8Array, + ) => Promise; readonly deposit: (proposalId: GovProposalId, depositorAddress: string) => Promise; readonly tally: (proposalId: GovProposalId) => Promise; - readonly votes: (proposalId: GovProposalId) => Promise; + readonly votes: (proposalId: GovProposalId, paginationKey?: Uint8Array) => Promise; readonly vote: (proposalId: GovProposalId, voterAddress: string) => Promise; }; }