Skip to content

Commit

Permalink
Update ibc queries
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasist-crypto committed Jun 10, 2022
1 parent 06a16de commit eb8f8dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/stargate/src/modules/ibc/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export interface IbcExtension {
readonly packetCommitment: (
portId: string,
channelId: string,
sequence: Long,
sequence: number,
) => Promise<QueryPacketCommitmentResponse>;
readonly packetCommitments: (
portId: string,
Expand Down Expand Up @@ -261,11 +261,11 @@ export function setupIbcExtension(base: QueryClient): IbcExtension {
revisionNumber: Long.fromNumber(revisionNumber, true),
revisionHeight: Long.fromNumber(revisionHeight, true),
}),
packetCommitment: async (portId: string, channelId: string, sequence: Long) =>
packetCommitment: async (portId: string, channelId: string, sequence: number) =>
channelQueryService.PacketCommitment({
portId: portId,
channelId: channelId,
sequence: sequence,
sequence: Long.fromNumber(sequence, true),
}),
packetCommitments: async (portId: string, channelId: string, paginationKey?: Uint8Array) =>
channelQueryService.PacketCommitments({
Expand Down

0 comments on commit eb8f8dd

Please sign in to comment.