Skip to content

Commit

Permalink
Remove unused queriers
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Oct 8, 2024
1 parent ef2986a commit 5edc2f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion src/query/tendermint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
export class TendermintQuerier {
constructor(private url: string) {}

aBCIQuery(
abciQuery(
req: ABCIQueryRequest,
headers?: HeadersInit,
): Promise<ABCIQueryResponse> {
Expand Down
12 changes: 0 additions & 12 deletions src/secret_network_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,9 @@ import {
} from "@cosmjs/proto-signing";
import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { AminoSigner, Signer } from "./wallet_amino";
import { GroupQuerier } from "./query/group";
import { OrmQuerier } from "./query/orm";
import { AppQuerier } from "./query/app";
import { NftQuerier } from "./query/nft";
import { CircuitQuerier } from "./query/circuit";
import { AutoCliQuerier } from "./query/autocli";
import { IbcWasmQuerier } from "./query/ibc_wasm";

export type CreateClientOptions = {
/** A URL to the API service, also known as LCD, REST API or gRPC-gateway, by default on port 1317 */
Expand Down Expand Up @@ -480,13 +476,9 @@ export type Querier = {
staking: StakingQuerier;
tendermint: TendermintQuerier;
upgrade: UpgradeQuerier;
group: GroupQuerier;
app: AppQuerier;
orm: OrmQuerier;
nft: NftQuerier;
circuit: CircuitQuerier;
autocli: AutoCliQuerier;
ibc_wasm: IbcWasmQuerier;
};

export type ArrayLog = Array<{
Expand Down Expand Up @@ -931,13 +923,9 @@ export class SecretNetworkClient {
staking: new StakingQuerier(options.url),
tendermint: new TendermintQuerier(options.url),
upgrade: new UpgradeQuerier(options.url),
group: new GroupQuerier(options.url),
orm: new OrmQuerier(options.url),
app: new AppQuerier(options.url),
nft: new NftQuerier(options.url),
circuit: new CircuitQuerier(options.url),
autocli: new AutoCliQuerier(options.url),
ibc_wasm: new IbcWasmQuerier(options.url),
getTx: (hash, ibcTxOptions) => this.getTx(hash, ibcTxOptions),
txsQuery: (query, ibcTxOptions, pagination, order_by) =>
this.txsQuery(query, ibcTxOptions, pagination, order_by),
Expand Down

0 comments on commit 5edc2f7

Please sign in to comment.