From 39d8eebb8f548746f5213779ec513d9299fe66cb Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 9 Apr 2024 23:16:58 +0200 Subject: [PATCH] Make generate --- .../cli/zetacored/zetacored_query_fungible.md | 1 - .../zetacored_query_fungible_params.md | 33 ------------ docs/openapi/openapi.swagger.yaml | 25 ---------- typescript/fungible/genesis_pb.d.ts | 10 +--- typescript/fungible/index.d.ts | 1 - typescript/fungible/params_pb.d.ts | 29 ----------- typescript/fungible/query_pb.d.ts | 50 ------------------- 7 files changed, 2 insertions(+), 147 deletions(-) delete mode 100644 docs/cli/zetacored/zetacored_query_fungible_params.md delete mode 100644 typescript/fungible/params_pb.d.ts diff --git a/docs/cli/zetacored/zetacored_query_fungible.md b/docs/cli/zetacored/zetacored_query_fungible.md index 52d7ccc81e..9ac579947a 100644 --- a/docs/cli/zetacored/zetacored_query_fungible.md +++ b/docs/cli/zetacored/zetacored_query_fungible.md @@ -30,7 +30,6 @@ zetacored query fungible [flags] * [zetacored query fungible gas-stability-pool-balance](zetacored_query_fungible_gas-stability-pool-balance.md) - query the balance of a gas stability pool for a chain * [zetacored query fungible gas-stability-pool-balances](zetacored_query_fungible_gas-stability-pool-balances.md) - query all gas stability pool balances * [zetacored query fungible list-foreign-coins](zetacored_query_fungible_list-foreign-coins.md) - list all ForeignCoins -* [zetacored query fungible params](zetacored_query_fungible_params.md) - shows the parameters of the module * [zetacored query fungible show-foreign-coins](zetacored_query_fungible_show-foreign-coins.md) - shows a ForeignCoins * [zetacored query fungible system-contract](zetacored_query_fungible_system-contract.md) - query system contract diff --git a/docs/cli/zetacored/zetacored_query_fungible_params.md b/docs/cli/zetacored/zetacored_query_fungible_params.md deleted file mode 100644 index 9845c39cf3..0000000000 --- a/docs/cli/zetacored/zetacored_query_fungible_params.md +++ /dev/null @@ -1,33 +0,0 @@ -# query fungible params - -shows the parameters of the module - -``` -zetacored query fungible params [flags] -``` - -### Options - -``` - --grpc-addr string the gRPC endpoint to use for this chain - --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS - --height int Use a specific height to query state at (this can error if the node is pruning state) - -h, --help help for params - --node string [host]:[port] to Tendermint RPC interface for this chain - -o, --output string Output format (text|json) -``` - -### Options inherited from parent commands - -``` - --chain-id string The network chain ID - --home string directory for config and data - --log_format string The logging format (json|plain) - --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) - --trace print out full stack trace on errors -``` - -### SEE ALSO - -* [zetacored query fungible](zetacored_query_fungible.md) - Querying commands for the fungible module - diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index faf3e60692..65191e5d7f 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -27401,21 +27401,6 @@ paths: format: int64 tags: - Query - /zeta-chain/fungible/params: - get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacorefungibleQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query /zeta-chain/fungible/system_contract: get: summary: Queries SystemContract @@ -54764,16 +54749,6 @@ definitions: $ref: '#/definitions/zetacoreemissionsParams' description: params holds all the parameters of this module. description: QueryParamsResponse is response type for the Query/Params RPC method. - zetacorefungibleParams: - type: object - description: Params defines the parameters for the module. - zetacorefungibleQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/zetacorefungibleParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. zetacoreobserverParams: type: object properties: diff --git a/typescript/fungible/genesis_pb.d.ts b/typescript/fungible/genesis_pb.d.ts index 1a338d01c8..dd979f05a2 100644 --- a/typescript/fungible/genesis_pb.d.ts +++ b/typescript/fungible/genesis_pb.d.ts @@ -5,7 +5,6 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; -import type { Params } from "./params_pb.js"; import type { ForeignCoins } from "./foreign_coins_pb.js"; import type { SystemContract } from "./system_contract_pb.js"; @@ -16,17 +15,12 @@ import type { SystemContract } from "./system_contract_pb.js"; */ export declare class GenesisState extends Message { /** - * @generated from field: zetachain.zetacore.fungible.Params params = 1; - */ - params?: Params; - - /** - * @generated from field: repeated zetachain.zetacore.fungible.ForeignCoins foreignCoinsList = 2; + * @generated from field: repeated zetachain.zetacore.fungible.ForeignCoins foreignCoinsList = 1; */ foreignCoinsList: ForeignCoins[]; /** - * @generated from field: zetachain.zetacore.fungible.SystemContract systemContract = 3; + * @generated from field: zetachain.zetacore.fungible.SystemContract systemContract = 2; */ systemContract?: SystemContract; diff --git a/typescript/fungible/index.d.ts b/typescript/fungible/index.d.ts index ca17377759..1c8f51dade 100644 --- a/typescript/fungible/index.d.ts +++ b/typescript/fungible/index.d.ts @@ -1,7 +1,6 @@ export * from "./events_pb"; export * from "./foreign_coins_pb"; export * from "./genesis_pb"; -export * from "./params_pb"; export * from "./query_pb"; export * from "./system_contract_pb"; export * from "./tx_pb"; diff --git a/typescript/fungible/params_pb.d.ts b/typescript/fungible/params_pb.d.ts deleted file mode 100644 index a9f83a1d01..0000000000 --- a/typescript/fungible/params_pb.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -// @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file fungible/params.proto (package zetachain.zetacore.fungible, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; - -/** - * Params defines the parameters for the module. - * - * @generated from message zetachain.zetacore.fungible.Params - */ -export declare class Params extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.fungible.Params"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Params; - - static fromJson(jsonValue: JsonValue, options?: Partial): Params; - - static fromJsonString(jsonString: string, options?: Partial): Params; - - static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean; -} - diff --git a/typescript/fungible/query_pb.d.ts b/typescript/fungible/query_pb.d.ts index 57b15066b9..df76823dc6 100644 --- a/typescript/fungible/query_pb.d.ts +++ b/typescript/fungible/query_pb.d.ts @@ -5,60 +5,10 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; -import type { Params } from "./params_pb.js"; import type { ForeignCoins } from "./foreign_coins_pb.js"; import type { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination_pb.js"; import type { SystemContract } from "./system_contract_pb.js"; -/** - * QueryParamsRequest is request type for the Query/Params RPC method. - * - * @generated from message zetachain.zetacore.fungible.QueryParamsRequest - */ -export declare class QueryParamsRequest extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.fungible.QueryParamsRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; - - static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; - - static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; -} - -/** - * QueryParamsResponse is response type for the Query/Params RPC method. - * - * @generated from message zetachain.zetacore.fungible.QueryParamsResponse - */ -export declare class QueryParamsResponse extends Message { - /** - * params holds all the parameters of this module. - * - * @generated from field: zetachain.zetacore.fungible.Params params = 1; - */ - params?: Params; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.fungible.QueryParamsResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; - - static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; - - static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; -} - /** * @generated from message zetachain.zetacore.fungible.QueryGetForeignCoinsRequest */