Skip to content

Commit 5edc2f7

Browse files
committed
Remove unused queriers
1 parent ef2986a commit 5edc2f7

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/query/tendermint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
export class TendermintQuerier {
2020
constructor(private url: string) {}
2121

22-
aBCIQuery(
22+
abciQuery(
2323
req: ABCIQueryRequest,
2424
headers?: HeadersInit,
2525
): Promise<ABCIQueryResponse> {

src/secret_network_client.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,9 @@ import {
255255
} from "@cosmjs/proto-signing";
256256
import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx";
257257
import { AminoSigner, Signer } from "./wallet_amino";
258-
import { GroupQuerier } from "./query/group";
259258
import { OrmQuerier } from "./query/orm";
260259
import { AppQuerier } from "./query/app";
261-
import { NftQuerier } from "./query/nft";
262-
import { CircuitQuerier } from "./query/circuit";
263260
import { AutoCliQuerier } from "./query/autocli";
264-
import { IbcWasmQuerier } from "./query/ibc_wasm";
265261

266262
export type CreateClientOptions = {
267263
/** A URL to the API service, also known as LCD, REST API or gRPC-gateway, by default on port 1317 */
@@ -480,13 +476,9 @@ export type Querier = {
480476
staking: StakingQuerier;
481477
tendermint: TendermintQuerier;
482478
upgrade: UpgradeQuerier;
483-
group: GroupQuerier;
484479
app: AppQuerier;
485480
orm: OrmQuerier;
486-
nft: NftQuerier;
487-
circuit: CircuitQuerier;
488481
autocli: AutoCliQuerier;
489-
ibc_wasm: IbcWasmQuerier;
490482
};
491483

492484
export type ArrayLog = Array<{
@@ -931,13 +923,9 @@ export class SecretNetworkClient {
931923
staking: new StakingQuerier(options.url),
932924
tendermint: new TendermintQuerier(options.url),
933925
upgrade: new UpgradeQuerier(options.url),
934-
group: new GroupQuerier(options.url),
935926
orm: new OrmQuerier(options.url),
936927
app: new AppQuerier(options.url),
937-
nft: new NftQuerier(options.url),
938-
circuit: new CircuitQuerier(options.url),
939928
autocli: new AutoCliQuerier(options.url),
940-
ibc_wasm: new IbcWasmQuerier(options.url),
941929
getTx: (hash, ibcTxOptions) => this.getTx(hash, ibcTxOptions),
942930
txsQuery: (query, ibcTxOptions, pagination, order_by) =>
943931
this.txsQuery(query, ibcTxOptions, pagination, order_by),

0 commit comments

Comments
 (0)