cosmwasm-stargate: Update for new createProtobufRpcClient name

This commit is contained in:
willclarktech 2021-03-18 13:46:05 +01:00
parent dc4c48bcc5
commit 991fe9b25a
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/naming-convention */
import { JsonObject } from "@cosmjs/cosmwasm-launchpad";
import { fromUtf8, toAscii } from "@cosmjs/encoding";
import { createPagination, createRpc, QueryClient } from "@cosmjs/stargate";
import { createPagination, createProtobufRpcClient, QueryClient } from "@cosmjs/stargate";
import Long from "long";
import {
@ -63,7 +63,7 @@ export interface WasmExtension {
}
export function setupWasmExtension(base: QueryClient): WasmExtension {
const rpc = createRpc(base);
const rpc = createProtobufRpcClient(base);
// Use this service to get easy typed access to query methods
// This cannot be used for proof verification
const queryService = new QueryClientImpl(rpc);