stargate: Fix broken IBC query

This commit is contained in:
willclarktech 2021-02-03 12:00:42 +00:00
parent 8bb8b78c31
commit 2fbfd0e545
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -95,7 +95,7 @@ export function setupIbcExtension(base: QueryClient): IbcExtension {
const channelQueryService = new ChannelQuery({
request: (service: string, method: string, data: Uint8Array): Promise<Uint8Array> => {
// Parts of the path are unavailable, so we hardcode them here. See https://github.com/protobufjs/protobuf.js/issues/1229
const path = `/Query/${method}`;
const path = `/ibc.core.channel.v1.Query/${method}`;
return base.queryUnverified(path, data);
},
});