diff --git a/packages/stargate/src/queryclient/utils.ts b/packages/stargate/src/queryclient/utils.ts index fa086e90..a0fb6220 100644 --- a/packages/stargate/src/queryclient/utils.ts +++ b/packages/stargate/src/queryclient/utils.ts @@ -22,14 +22,7 @@ export function toAccAddress(address: string): Uint8Array { * request the next page. */ export function createPagination(paginationKey?: Uint8Array): PageRequest | undefined { - return paginationKey - ? PageRequest.fromPartial({ - key: paginationKey, - offset: Long.UZERO, - limit: Long.UZERO, - countTotal: false, - }) - : undefined; + return paginationKey ? PageRequest.fromPartial({ key: paginationKey }) : undefined; } export interface ProtobufRpcClient {