From e2211d9d9ab9898557bf42274ef6a453980b2b06 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Wed, 29 May 2024 14:57:26 -0500 Subject: [PATCH 1/7] Bump `borsh` to v1 (#210) * Bump borsh to v1 * Undo toml formatting * Enable required `derive` feature of `borsh` and fix compilation issues --------- Co-authored-by: Romain Ruetschi --- Cargo.toml | 2 +- src/google.rs | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dd6f76cf..33639618 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ scale-info = { version = "2.1.2", default-features = false, features = [ ## Optional: enabled by the `borsh` feature ## For borsh encode or decode, needs to track `anchor-lang` and `near-sdk-rs` borsh version -borsh = { version = "0.10", default-features = false, optional = true } +borsh = { version = "1", default-features = false, features = ["derive"], optional = true } [dependencies.tendermint-proto] version = "0.36" diff --git a/src/google.rs b/src/google.rs index 74acb0fb..8fcb721c 100644 --- a/src/google.rs +++ b/src/google.rs @@ -257,10 +257,7 @@ pub mod protobuf { #[cfg(feature = "borsh")] impl borsh::BorshSerialize for Any { - fn serialize( - &self, - writer: &mut W, - ) -> borsh::maybestd::io::Result<()> { + fn serialize(&self, writer: &mut W) -> borsh::io::Result<()> { let inner_any = InnerAny { type_url: self.type_url.clone(), value: self.value.clone(), @@ -272,9 +269,7 @@ pub mod protobuf { #[cfg(feature = "borsh")] impl borsh::BorshDeserialize for Any { - fn deserialize_reader( - reader: &mut R, - ) -> borsh::maybestd::io::Result { + fn deserialize_reader(reader: &mut R) -> borsh::io::Result { let inner_any = InnerAny::deserialize_reader(reader)?; Ok(Any { From a597cb523e89b9a6c71f27b1614e35e947d45c44 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 May 2024 23:28:15 +0200 Subject: [PATCH 2/7] Update tonic requirement from 0.10 to 0.11 (#195) * Update tonic requirement from 0.10 to 0.11 Updates the requirements on [tonic](https://github.com/hyperium/tonic) to permit the latest version. - [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/tonic/compare/v0.10.0...v0.11.0) --- updated-dependencies: - dependency-name: tonic dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Update `tonic-build` to v0.11 * Fix issue with ICS buf.lock file * Re-generate protos * Add changelog entry --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Romain Ruetschi --- .../breaking-changes/195-tonic-0.11.md | 1 + scripts/sync-protobuf.sh | 10 +- src/prost/cosmos.app.v1alpha1.rs | 16 +- src/prost/cosmos.auth.module.v1.rs | 11 +- src/prost/cosmos.auth.v1beta1.rs | 136 ++++-- src/prost/cosmos.bank.module.v1.rs | 6 +- src/prost/cosmos.bank.v1beta1.rs | 206 +++++++-- src/prost/cosmos.base.abci.v1beta1.rs | 51 ++- src/prost/cosmos.base.kv.v1beta1.rs | 11 +- src/prost/cosmos.base.node.v1beta1.rs | 11 +- src/prost/cosmos.base.query.v1beta1.rs | 11 +- src/prost/cosmos.base.reflection.v1beta1.rs | 21 +- src/prost/cosmos.base.reflection.v2alpha1.rs | 131 ++++-- src/prost/cosmos.base.snapshots.v1beta1.rs | 46 +- src/prost/cosmos.base.tendermint.v1beta1.rs | 106 ++++- src/prost/cosmos.base.v1beta1.rs | 21 +- src/prost/cosmos.crypto.ed25519.rs | 11 +- src/prost/cosmos.crypto.hd.v1.rs | 6 +- src/prost/cosmos.crypto.keyring.v1.rs | 26 +- src/prost/cosmos.crypto.multisig.rs | 6 +- src/prost/cosmos.crypto.multisig.v1beta1.rs | 11 +- src/prost/cosmos.crypto.secp256k1.rs | 11 +- src/prost/cosmos.crypto.secp256r1.rs | 11 +- src/prost/cosmos.gov.module.v1.rs | 6 +- src/prost/cosmos.gov.v1.rs | 191 ++++++-- src/prost/cosmos.gov.v1beta1.rs | 171 +++++-- src/prost/cosmos.staking.module.v1.rs | 6 +- src/prost/cosmos.staking.v1beta1.rs | 338 +++++++++++--- src/prost/cosmos.tx.config.v1.rs | 6 +- src/prost/cosmos.tx.signing.v1beta1.rs | 32 +- src/prost/cosmos.tx.v1beta1.rs | 156 +++++-- src/prost/cosmos.upgrade.module.v1.rs | 6 +- src/prost/cosmos.upgrade.v1beta1.rs | 91 +++- src/prost/cosmos_proto.rs | 11 +- src/prost/google.api.rs | 16 +- src/prost/google.protobuf.rs | 178 ++++++-- src/prost/ibc.applications.fee.v1.rs | 196 ++++++-- ...tions.interchain_accounts.controller.v1.rs | 88 ++-- ...ications.interchain_accounts.genesis.v1.rs | 38 +- ...pplications.interchain_accounts.host.v1.rs | 36 +- ...ibc.applications.interchain_accounts.v1.rs | 21 +- src/prost/ibc.applications.nft_transfer.v1.rs | 91 +++- src/prost/ibc.applications.transfer.v1.rs | 106 ++++- src/prost/ibc.applications.transfer.v2.rs | 6 +- src/prost/ibc.core.channel.v1.rs | 431 ++++++++++++++---- src/prost/ibc.core.client.v1.rs | 211 +++++++-- src/prost/ibc.core.commitment.v1.rs | 21 +- src/prost/ibc.core.connection.v1.rs | 151 ++++-- src/prost/ibc.core.types.v1.rs | 6 +- src/prost/ibc.lightclients.localhost.v1.rs | 6 +- src/prost/ibc.lightclients.localhost.v2.rs | 6 +- src/prost/ibc.lightclients.solomachine.v2.rs | 81 +++- src/prost/ibc.lightclients.solomachine.v3.rs | 41 +- src/prost/ibc.lightclients.tendermint.v1.rs | 26 +- src/prost/ibc.lightclients.wasm.v1.rs | 81 +++- src/prost/ibc.mock.rs | 21 +- .../interchain_security.ccv.consumer.v1.rs | 55 ++- .../interchain_security.ccv.provider.v1.rs | 276 ++++++++--- src/prost/interchain_security.ccv.v1.rs | 71 ++- src/prost/proto_descriptor.bin | Bin 762475 -> 762475 bytes src/prost/stride.interchainquery.v1.rs | 11 +- tools/proto-compiler/Cargo.toml | 4 +- 62 files changed, 3307 insertions(+), 859 deletions(-) create mode 100644 .changelog/unreleased/breaking-changes/195-tonic-0.11.md diff --git a/.changelog/unreleased/breaking-changes/195-tonic-0.11.md b/.changelog/unreleased/breaking-changes/195-tonic-0.11.md new file mode 100644 index 00000000..d8fde298 --- /dev/null +++ b/.changelog/unreleased/breaking-changes/195-tonic-0.11.md @@ -0,0 +1 @@ +- Update `tonic` to v0.11.0 ([#195](https://github.com/cosmos/ibc-proto-rs/pull/195)) diff --git a/scripts/sync-protobuf.sh b/scripts/sync-protobuf.sh index dbf5b653..46200757 100755 --- a/scripts/sync-protobuf.sh +++ b/scripts/sync-protobuf.sh @@ -127,9 +127,10 @@ COSMOS_ICS_DIR=$(mktemp -d /tmp/interchain-security-XXXXXXXX) pushd "$COSMOS_ICS_DIR" git clone "$COSMOS_ICS_GIT" . -git checkout -b "$INTERCHAIN_SECURITY_COMMIT" "$INTERCHAIN_SECURITY_COMMIT" +git checkout "$INTERCHAIN_SECURITY_COMMIT" cd proto +buf mod prune buf mod update buf export -v -o ../proto-include popd @@ -138,9 +139,10 @@ COSMOS_SDK_DIR=$(mktemp -d /tmp/cosmos-sdk-XXXXXXXX) pushd "$COSMOS_SDK_DIR" git clone "$COSMOS_SDK_GIT" . -git checkout -b "$COSMOS_SDK_COMMIT" "$COSMOS_SDK_COMMIT" +git checkout "$COSMOS_SDK_COMMIT" cd proto +buf mod prune buf mod update buf export -v -o ../proto-include popd @@ -164,7 +166,7 @@ IBC_GO_DIR=$(mktemp -d /tmp/ibc-go-XXXXXXXX) pushd "$IBC_GO_DIR" git clone "$IBC_GO_GIT" . -git checkout -b "$IBC_GO_COMMIT" "$IBC_GO_COMMIT" +git checkout "$IBC_GO_COMMIT" cd proto buf export -v -o ../proto-include @@ -174,7 +176,7 @@ NFT_TRANSFER_DIR=$(mktemp -d /tmp/nft-transfer-XXXXXXXX) pushd "$NFT_TRANSFER_DIR" git clone "$NFT_TRANSFER_GIT" . -git checkout -b "$NFT_TRANSFER_COMMIT" "$NFT_TRANSFER_COMMIT" +git checkout "$NFT_TRANSFER_COMMIT" cd proto buf export -v -o ../proto-include diff --git a/src/prost/cosmos.app.v1alpha1.rs b/src/prost/cosmos.app.v1alpha1.rs index b70937bf..805d54b1 100644 --- a/src/prost/cosmos.app.v1alpha1.rs +++ b/src/prost/cosmos.app.v1alpha1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ModuleDescriptor describes an app module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -27,7 +28,10 @@ impl ::prost::Name for ModuleDescriptor { const NAME: &'static str = "ModuleDescriptor"; const PACKAGE: &'static str = "cosmos.app.v1alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + "cosmos.app.v1alpha1.ModuleDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.app.v1alpha1.ModuleDescriptor".into() } } /// PackageReference is a reference to a protobuf package used by a module. @@ -79,7 +83,10 @@ impl ::prost::Name for PackageReference { const NAME: &'static str = "PackageReference"; const PACKAGE: &'static str = "cosmos.app.v1alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + "cosmos.app.v1alpha1.PackageReference".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.app.v1alpha1.PackageReference".into() } } /// MigrateFromInfo is information on a module version that a newer module @@ -96,6 +103,9 @@ impl ::prost::Name for MigrateFromInfo { const NAME: &'static str = "MigrateFromInfo"; const PACKAGE: &'static str = "cosmos.app.v1alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.app.v1alpha1.{}", Self::NAME) + "cosmos.app.v1alpha1.MigrateFromInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.app.v1alpha1.MigrateFromInfo".into() } } diff --git a/src/prost/cosmos.auth.module.v1.rs b/src/prost/cosmos.auth.module.v1.rs index 59a0940d..bc779d97 100644 --- a/src/prost/cosmos.auth.module.v1.rs +++ b/src/prost/cosmos.auth.module.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Module is the config object for the auth module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -16,7 +17,10 @@ impl ::prost::Name for Module { const NAME: &'static str = "Module"; const PACKAGE: &'static str = "cosmos.auth.module.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.module.v1.{}", Self::NAME) + "cosmos.auth.module.v1.Module".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.module.v1.Module".into() } } /// ModuleAccountPermission represents permissions for a module account. @@ -35,6 +39,9 @@ impl ::prost::Name for ModuleAccountPermission { const NAME: &'static str = "ModuleAccountPermission"; const PACKAGE: &'static str = "cosmos.auth.module.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.module.v1.{}", Self::NAME) + "cosmos.auth.module.v1.ModuleAccountPermission".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.module.v1.ModuleAccountPermission".into() } } diff --git a/src/prost/cosmos.auth.v1beta1.rs b/src/prost/cosmos.auth.v1beta1.rs index b6c3e8d7..8de8da18 100644 --- a/src/prost/cosmos.auth.v1beta1.rs +++ b/src/prost/cosmos.auth.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// BaseAccount defines a base account type. It contains all the necessary fields /// for basic account functionality. Any custom account type should extend this /// type for additional functionality (e.g. vesting). @@ -17,7 +18,10 @@ impl ::prost::Name for BaseAccount { const NAME: &'static str = "BaseAccount"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.BaseAccount".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.BaseAccount".into() } } /// ModuleAccount defines an account for modules that holds coins on a pool. @@ -35,7 +39,10 @@ impl ::prost::Name for ModuleAccount { const NAME: &'static str = "ModuleAccount"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.ModuleAccount".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.ModuleAccount".into() } } /// ModuleCredential represents a unclaimable pubkey for base accounts controlled by modules. @@ -56,7 +63,10 @@ impl ::prost::Name for ModuleCredential { const NAME: &'static str = "ModuleCredential"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.ModuleCredential".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.ModuleCredential".into() } } /// Params defines the parameters for the auth module. @@ -78,7 +88,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.Params".into() } } /// MsgUpdateParams is the Msg/UpdateParams request type. @@ -100,7 +113,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the response structure for executing a @@ -114,7 +130,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.MsgUpdateParamsResponse".into() } } /// Generated client implementations. @@ -436,7 +455,10 @@ impl ::prost::Name for QueryAccountsRequest { const NAME: &'static str = "QueryAccountsRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryAccountsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryAccountsRequest".into() } } /// QueryAccountsResponse is the response type for the Query/Accounts RPC method. @@ -458,7 +480,10 @@ impl ::prost::Name for QueryAccountsResponse { const NAME: &'static str = "QueryAccountsResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryAccountsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryAccountsResponse".into() } } /// QueryAccountRequest is the request type for the Query/Account RPC method. @@ -473,7 +498,10 @@ impl ::prost::Name for QueryAccountRequest { const NAME: &'static str = "QueryAccountRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryAccountRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryAccountRequest".into() } } /// QueryAccountResponse is the response type for the Query/Account RPC method. @@ -488,7 +516,10 @@ impl ::prost::Name for QueryAccountResponse { const NAME: &'static str = "QueryAccountResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryAccountResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryAccountResponse".into() } } /// QueryParamsRequest is the request type for the Query/Params RPC method. @@ -499,7 +530,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryParamsRequest".into() } } /// QueryParamsResponse is the response type for the Query/Params RPC method. @@ -514,7 +548,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryParamsResponse".into() } } /// QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. @@ -527,7 +564,10 @@ impl ::prost::Name for QueryModuleAccountsRequest { const NAME: &'static str = "QueryModuleAccountsRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryModuleAccountsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryModuleAccountsRequest".into() } } /// QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. @@ -543,7 +583,10 @@ impl ::prost::Name for QueryModuleAccountsResponse { const NAME: &'static str = "QueryModuleAccountsResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryModuleAccountsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryModuleAccountsResponse".into() } } /// QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. @@ -557,7 +600,10 @@ impl ::prost::Name for QueryModuleAccountByNameRequest { const NAME: &'static str = "QueryModuleAccountByNameRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryModuleAccountByNameRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryModuleAccountByNameRequest".into() } } /// QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. @@ -571,7 +617,10 @@ impl ::prost::Name for QueryModuleAccountByNameResponse { const NAME: &'static str = "QueryModuleAccountByNameResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryModuleAccountByNameResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryModuleAccountByNameResponse".into() } } /// Bech32PrefixRequest is the request type for Bech32Prefix rpc method. @@ -584,7 +633,10 @@ impl ::prost::Name for Bech32PrefixRequest { const NAME: &'static str = "Bech32PrefixRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.Bech32PrefixRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.Bech32PrefixRequest".into() } } /// Bech32PrefixResponse is the response type for Bech32Prefix rpc method. @@ -600,7 +652,10 @@ impl ::prost::Name for Bech32PrefixResponse { const NAME: &'static str = "Bech32PrefixResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.Bech32PrefixResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.Bech32PrefixResponse".into() } } /// AddressBytesToStringRequest is the request type for AddressString rpc method. @@ -616,7 +671,10 @@ impl ::prost::Name for AddressBytesToStringRequest { const NAME: &'static str = "AddressBytesToStringRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.AddressBytesToStringRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.AddressBytesToStringRequest".into() } } /// AddressBytesToStringResponse is the response type for AddressString rpc method. @@ -632,7 +690,10 @@ impl ::prost::Name for AddressBytesToStringResponse { const NAME: &'static str = "AddressBytesToStringResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.AddressBytesToStringResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.AddressBytesToStringResponse".into() } } /// AddressStringToBytesRequest is the request type for AccountBytes rpc method. @@ -648,7 +709,10 @@ impl ::prost::Name for AddressStringToBytesRequest { const NAME: &'static str = "AddressStringToBytesRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.AddressStringToBytesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.AddressStringToBytesRequest".into() } } /// AddressStringToBytesResponse is the response type for AddressBytes rpc method. @@ -664,7 +728,10 @@ impl ::prost::Name for AddressStringToBytesResponse { const NAME: &'static str = "AddressStringToBytesResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.AddressStringToBytesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.AddressStringToBytesResponse".into() } } /// QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method @@ -691,7 +758,10 @@ impl ::prost::Name for QueryAccountAddressByIdRequest { const NAME: &'static str = "QueryAccountAddressByIDRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryAccountAddressByIDRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryAccountAddressByIDRequest".into() } } /// QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method @@ -707,7 +777,10 @@ impl ::prost::Name for QueryAccountAddressByIdResponse { const NAME: &'static str = "QueryAccountAddressByIDResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryAccountAddressByIDResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryAccountAddressByIDResponse".into() } } /// QueryAccountInfoRequest is the Query/AccountInfo request type. @@ -724,7 +797,10 @@ impl ::prost::Name for QueryAccountInfoRequest { const NAME: &'static str = "QueryAccountInfoRequest"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryAccountInfoRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryAccountInfoRequest".into() } } /// QueryAccountInfoResponse is the Query/AccountInfo response type. @@ -741,7 +817,10 @@ impl ::prost::Name for QueryAccountInfoResponse { const NAME: &'static str = "QueryAccountInfoResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.QueryAccountInfoResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.QueryAccountInfoResponse".into() } } /// Generated client implementations. @@ -1822,6 +1901,9 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME) + "cosmos.auth.v1beta1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.auth.v1beta1.GenesisState".into() } } diff --git a/src/prost/cosmos.bank.module.v1.rs b/src/prost/cosmos.bank.module.v1.rs index fe1abca4..c955d667 100644 --- a/src/prost/cosmos.bank.module.v1.rs +++ b/src/prost/cosmos.bank.module.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Module is the config object of the bank module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -17,6 +18,9 @@ impl ::prost::Name for Module { const NAME: &'static str = "Module"; const PACKAGE: &'static str = "cosmos.bank.module.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.module.v1.{}", Self::NAME) + "cosmos.bank.module.v1.Module".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.module.v1.Module".into() } } diff --git a/src/prost/cosmos.bank.v1beta1.rs b/src/prost/cosmos.bank.v1beta1.rs index 842fd5c8..5b680942 100644 --- a/src/prost/cosmos.bank.v1beta1.rs +++ b/src/prost/cosmos.bank.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Params defines the parameters for the bank module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -17,7 +18,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.Params".into() } } /// SendEnabled maps coin denom to a send_enabled status (whether a denom is @@ -34,7 +38,10 @@ impl ::prost::Name for SendEnabled { const NAME: &'static str = "SendEnabled"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.SendEnabled".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.SendEnabled".into() } } /// Input models transaction input. @@ -50,7 +57,10 @@ impl ::prost::Name for Input { const NAME: &'static str = "Input"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.Input".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.Input".into() } } /// Output models transaction outputs. @@ -66,7 +76,10 @@ impl ::prost::Name for Output { const NAME: &'static str = "Output"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.Output".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.Output".into() } } /// Supply represents a struct that passively keeps track of the total supply @@ -82,7 +95,10 @@ impl ::prost::Name for Supply { const NAME: &'static str = "Supply"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.Supply".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.Supply".into() } } /// DenomUnit represents a struct that describes a given @@ -108,7 +124,10 @@ impl ::prost::Name for DenomUnit { const NAME: &'static str = "DenomUnit"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.DenomUnit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.DenomUnit".into() } } /// Metadata represents a struct that describes @@ -155,7 +174,10 @@ impl ::prost::Name for Metadata { const NAME: &'static str = "Metadata"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.Metadata".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.Metadata".into() } } /// MsgSend represents a message to send coins from one account to another. @@ -173,7 +195,10 @@ impl ::prost::Name for MsgSend { const NAME: &'static str = "MsgSend"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.MsgSend".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.MsgSend".into() } } /// MsgSendResponse defines the Msg/Send response type. @@ -184,7 +209,10 @@ impl ::prost::Name for MsgSendResponse { const NAME: &'static str = "MsgSendResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.MsgSendResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.MsgSendResponse".into() } } /// MsgMultiSend represents an arbitrary multi-in, multi-out send message. @@ -202,7 +230,10 @@ impl ::prost::Name for MsgMultiSend { const NAME: &'static str = "MsgMultiSend"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.MsgMultiSend".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.MsgMultiSend".into() } } /// MsgMultiSendResponse defines the Msg/MultiSend response type. @@ -213,7 +244,10 @@ impl ::prost::Name for MsgMultiSendResponse { const NAME: &'static str = "MsgMultiSendResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.MsgMultiSendResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.MsgMultiSendResponse".into() } } /// MsgUpdateParams is the Msg/UpdateParams request type. @@ -235,7 +269,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the response structure for executing a @@ -249,7 +286,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.MsgUpdateParamsResponse".into() } } /// MsgSetSendEnabled is the Msg/SetSendEnabled request type. @@ -278,7 +318,10 @@ impl ::prost::Name for MsgSetSendEnabled { const NAME: &'static str = "MsgSetSendEnabled"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.MsgSetSendEnabled".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.MsgSetSendEnabled".into() } } /// MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type. @@ -291,7 +334,10 @@ impl ::prost::Name for MsgSetSendEnabledResponse { const NAME: &'static str = "MsgSetSendEnabledResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.MsgSetSendEnabledResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.MsgSetSendEnabledResponse".into() } } /// Generated client implementations. @@ -853,7 +899,10 @@ impl ::prost::Name for QueryBalanceRequest { const NAME: &'static str = "QueryBalanceRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryBalanceRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryBalanceRequest".into() } } /// QueryBalanceResponse is the response type for the Query/Balance RPC method. @@ -868,7 +917,10 @@ impl ::prost::Name for QueryBalanceResponse { const NAME: &'static str = "QueryBalanceResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryBalanceResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryBalanceResponse".into() } } /// QueryBalanceRequest is the request type for the Query/AllBalances RPC method. @@ -888,7 +940,10 @@ impl ::prost::Name for QueryAllBalancesRequest { const NAME: &'static str = "QueryAllBalancesRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryAllBalancesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryAllBalancesRequest".into() } } /// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC @@ -909,7 +964,10 @@ impl ::prost::Name for QueryAllBalancesResponse { const NAME: &'static str = "QueryAllBalancesResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryAllBalancesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryAllBalancesResponse".into() } } /// QuerySpendableBalancesRequest defines the gRPC request structure for querying @@ -932,7 +990,10 @@ impl ::prost::Name for QuerySpendableBalancesRequest { const NAME: &'static str = "QuerySpendableBalancesRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QuerySpendableBalancesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QuerySpendableBalancesRequest".into() } } /// QuerySpendableBalancesResponse defines the gRPC response structure for querying @@ -955,7 +1016,10 @@ impl ::prost::Name for QuerySpendableBalancesResponse { const NAME: &'static str = "QuerySpendableBalancesResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QuerySpendableBalancesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QuerySpendableBalancesResponse".into() } } /// QuerySpendableBalanceByDenomRequest defines the gRPC request structure for @@ -976,7 +1040,10 @@ impl ::prost::Name for QuerySpendableBalanceByDenomRequest { const NAME: &'static str = "QuerySpendableBalanceByDenomRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest".into() } } /// QuerySpendableBalanceByDenomResponse defines the gRPC response structure for @@ -994,7 +1061,10 @@ impl ::prost::Name for QuerySpendableBalanceByDenomResponse { const NAME: &'static str = "QuerySpendableBalanceByDenomResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse".into() } } /// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC @@ -1014,7 +1084,10 @@ impl ::prost::Name for QueryTotalSupplyRequest { const NAME: &'static str = "QueryTotalSupplyRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryTotalSupplyRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryTotalSupplyRequest".into() } } /// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC @@ -1037,7 +1110,10 @@ impl ::prost::Name for QueryTotalSupplyResponse { const NAME: &'static str = "QueryTotalSupplyResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryTotalSupplyResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryTotalSupplyResponse".into() } } /// QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. @@ -1052,7 +1128,10 @@ impl ::prost::Name for QuerySupplyOfRequest { const NAME: &'static str = "QuerySupplyOfRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QuerySupplyOfRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QuerySupplyOfRequest".into() } } /// QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. @@ -1067,7 +1146,10 @@ impl ::prost::Name for QuerySupplyOfResponse { const NAME: &'static str = "QuerySupplyOfResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QuerySupplyOfResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QuerySupplyOfResponse".into() } } /// QueryParamsRequest defines the request type for querying x/bank parameters. @@ -1078,7 +1160,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryParamsRequest".into() } } /// QueryParamsResponse defines the response type for querying x/bank parameters. @@ -1092,7 +1177,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryParamsResponse".into() } } /// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. @@ -1109,7 +1197,10 @@ impl ::prost::Name for QueryDenomsMetadataRequest { const NAME: &'static str = "QueryDenomsMetadataRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryDenomsMetadataRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryDenomsMetadataRequest".into() } } /// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC @@ -1130,7 +1221,10 @@ impl ::prost::Name for QueryDenomsMetadataResponse { const NAME: &'static str = "QueryDenomsMetadataResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryDenomsMetadataResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryDenomsMetadataResponse".into() } } /// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. @@ -1145,7 +1239,10 @@ impl ::prost::Name for QueryDenomMetadataRequest { const NAME: &'static str = "QueryDenomMetadataRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryDenomMetadataRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryDenomMetadataRequest".into() } } /// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC @@ -1161,7 +1258,10 @@ impl ::prost::Name for QueryDenomMetadataResponse { const NAME: &'static str = "QueryDenomMetadataResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryDenomMetadataResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryDenomMetadataResponse".into() } } /// QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, @@ -1183,7 +1283,10 @@ impl ::prost::Name for QueryDenomOwnersRequest { const NAME: &'static str = "QueryDenomOwnersRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryDenomOwnersRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryDenomOwnersRequest".into() } } /// DenomOwner defines structure representing an account that owns or holds a @@ -1205,7 +1308,10 @@ impl ::prost::Name for DenomOwner { const NAME: &'static str = "DenomOwner"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.DenomOwner".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.DenomOwner".into() } } /// QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. @@ -1226,7 +1332,10 @@ impl ::prost::Name for QueryDenomOwnersResponse { const NAME: &'static str = "QueryDenomOwnersResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QueryDenomOwnersResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QueryDenomOwnersResponse".into() } } /// QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries. @@ -1249,7 +1358,10 @@ impl ::prost::Name for QuerySendEnabledRequest { const NAME: &'static str = "QuerySendEnabledRequest"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QuerySendEnabledRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QuerySendEnabledRequest".into() } } /// QuerySendEnabledResponse defines the RPC response of a SendEnable query. @@ -1271,7 +1383,10 @@ impl ::prost::Name for QuerySendEnabledResponse { const NAME: &'static str = "QuerySendEnabledResponse"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.QuerySendEnabledResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.QuerySendEnabledResponse".into() } } /// Generated client implementations. @@ -2470,7 +2585,10 @@ impl ::prost::Name for SendAuthorization { const NAME: &'static str = "SendAuthorization"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.SendAuthorization".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.SendAuthorization".into() } } /// GenesisState defines the bank module's genesis state. @@ -2500,7 +2618,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.GenesisState".into() } } /// Balance defines an account address and balance pair used in the bank module's @@ -2519,6 +2640,9 @@ impl ::prost::Name for Balance { const NAME: &'static str = "Balance"; const PACKAGE: &'static str = "cosmos.bank.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.bank.v1beta1.{}", Self::NAME) + "cosmos.bank.v1beta1.Balance".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.bank.v1beta1.Balance".into() } } diff --git a/src/prost/cosmos.base.abci.v1beta1.rs b/src/prost/cosmos.base.abci.v1beta1.rs index 1097a955..dd61d744 100644 --- a/src/prost/cosmos.base.abci.v1beta1.rs +++ b/src/prost/cosmos.base.abci.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// TxResponse defines a structure containing relevant tx data and metadata. The /// tags are stringified and the log is JSON decoded. #[allow(clippy::derive_partial_eq_without_eq)] @@ -55,7 +56,10 @@ impl ::prost::Name for TxResponse { const NAME: &'static str = "TxResponse"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.TxResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.TxResponse".into() } } /// ABCIMessageLog defines a structure containing an indexed tx ABCI message log. @@ -75,7 +79,10 @@ impl ::prost::Name for AbciMessageLog { const NAME: &'static str = "ABCIMessageLog"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.ABCIMessageLog".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.ABCIMessageLog".into() } } /// StringEvent defines en Event object wrapper where all the attributes @@ -92,7 +99,10 @@ impl ::prost::Name for StringEvent { const NAME: &'static str = "StringEvent"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.StringEvent".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.StringEvent".into() } } /// Attribute defines an attribute wrapper where the key and value are @@ -109,7 +119,10 @@ impl ::prost::Name for Attribute { const NAME: &'static str = "Attribute"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.Attribute".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.Attribute".into() } } /// GasInfo defines tx execution gas context. @@ -127,7 +140,10 @@ impl ::prost::Name for GasInfo { const NAME: &'static str = "GasInfo"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.GasInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.GasInfo".into() } } /// Result is the union of ResponseFormat and ResponseCheckTx. @@ -160,7 +176,10 @@ impl ::prost::Name for Result { const NAME: &'static str = "Result"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.Result".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.Result".into() } } /// SimulationResponse defines the response generated when a transaction is @@ -177,7 +196,10 @@ impl ::prost::Name for SimulationResponse { const NAME: &'static str = "SimulationResponse"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.SimulationResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.SimulationResponse".into() } } /// MsgData defines the data returned in a Result object during message @@ -194,7 +216,10 @@ impl ::prost::Name for MsgData { const NAME: &'static str = "MsgData"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.MsgData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.MsgData".into() } } /// TxMsgData defines a list of MsgData. A transaction will have a MsgData object @@ -218,7 +243,10 @@ impl ::prost::Name for TxMsgData { const NAME: &'static str = "TxMsgData"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.TxMsgData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.TxMsgData".into() } } /// SearchTxsResult defines a structure for querying txs pageable @@ -248,6 +276,9 @@ impl ::prost::Name for SearchTxsResult { const NAME: &'static str = "SearchTxsResult"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.abci.v1beta1.{}", Self::NAME) + "cosmos.base.abci.v1beta1.SearchTxsResult".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.abci.v1beta1.SearchTxsResult".into() } } diff --git a/src/prost/cosmos.base.kv.v1beta1.rs b/src/prost/cosmos.base.kv.v1beta1.rs index 6bd5f9c6..b0ee7493 100644 --- a/src/prost/cosmos.base.kv.v1beta1.rs +++ b/src/prost/cosmos.base.kv.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Pairs defines a repeated slice of Pair objects. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -9,7 +10,10 @@ impl ::prost::Name for Pairs { const NAME: &'static str = "Pairs"; const PACKAGE: &'static str = "cosmos.base.kv.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.kv.v1beta1.{}", Self::NAME) + "cosmos.base.kv.v1beta1.Pairs".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.kv.v1beta1.Pairs".into() } } /// Pair defines a key/value bytes tuple. @@ -25,6 +29,9 @@ impl ::prost::Name for Pair { const NAME: &'static str = "Pair"; const PACKAGE: &'static str = "cosmos.base.kv.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.kv.v1beta1.{}", Self::NAME) + "cosmos.base.kv.v1beta1.Pair".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.kv.v1beta1.Pair".into() } } diff --git a/src/prost/cosmos.base.node.v1beta1.rs b/src/prost/cosmos.base.node.v1beta1.rs index 69d16e40..e454f017 100644 --- a/src/prost/cosmos.base.node.v1beta1.rs +++ b/src/prost/cosmos.base.node.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ConfigRequest defines the request structure for the Config gRPC query. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -6,7 +7,10 @@ impl ::prost::Name for ConfigRequest { const NAME: &'static str = "ConfigRequest"; const PACKAGE: &'static str = "cosmos.base.node.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.node.v1beta1.{}", Self::NAME) + "cosmos.base.node.v1beta1.ConfigRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.node.v1beta1.ConfigRequest".into() } } /// ConfigResponse defines the response structure for the Config gRPC query. @@ -20,7 +24,10 @@ impl ::prost::Name for ConfigResponse { const NAME: &'static str = "ConfigResponse"; const PACKAGE: &'static str = "cosmos.base.node.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.node.v1beta1.{}", Self::NAME) + "cosmos.base.node.v1beta1.ConfigResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.node.v1beta1.ConfigResponse".into() } } /// Generated client implementations. diff --git a/src/prost/cosmos.base.query.v1beta1.rs b/src/prost/cosmos.base.query.v1beta1.rs index 2a5124cf..dc11f529 100644 --- a/src/prost/cosmos.base.query.v1beta1.rs +++ b/src/prost/cosmos.base.query.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// PageRequest is to be embedded in gRPC request messages for efficient /// pagination. Ex: /// @@ -38,7 +39,10 @@ impl ::prost::Name for PageRequest { const NAME: &'static str = "PageRequest"; const PACKAGE: &'static str = "cosmos.base.query.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.query.v1beta1.{}", Self::NAME) + "cosmos.base.query.v1beta1.PageRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.query.v1beta1.PageRequest".into() } } /// PageResponse is to be embedded in gRPC response messages where the @@ -65,6 +69,9 @@ impl ::prost::Name for PageResponse { const NAME: &'static str = "PageResponse"; const PACKAGE: &'static str = "cosmos.base.query.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.query.v1beta1.{}", Self::NAME) + "cosmos.base.query.v1beta1.PageResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.query.v1beta1.PageResponse".into() } } diff --git a/src/prost/cosmos.base.reflection.v1beta1.rs b/src/prost/cosmos.base.reflection.v1beta1.rs index 09305595..6f188820 100644 --- a/src/prost/cosmos.base.reflection.v1beta1.rs +++ b/src/prost/cosmos.base.reflection.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -6,7 +7,10 @@ impl ::prost::Name for ListAllInterfacesRequest { const NAME: &'static str = "ListAllInterfacesRequest"; const PACKAGE: &'static str = "cosmos.base.reflection.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v1beta1.{}", Self::NAME) + "cosmos.base.reflection.v1beta1.ListAllInterfacesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest".into() } } /// ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. @@ -21,7 +25,10 @@ impl ::prost::Name for ListAllInterfacesResponse { const NAME: &'static str = "ListAllInterfacesResponse"; const PACKAGE: &'static str = "cosmos.base.reflection.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v1beta1.{}", Self::NAME) + "cosmos.base.reflection.v1beta1.ListAllInterfacesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse".into() } } /// ListImplementationsRequest is the request type of the ListImplementations @@ -37,7 +44,10 @@ impl ::prost::Name for ListImplementationsRequest { const NAME: &'static str = "ListImplementationsRequest"; const PACKAGE: &'static str = "cosmos.base.reflection.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v1beta1.{}", Self::NAME) + "cosmos.base.reflection.v1beta1.ListImplementationsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v1beta1.ListImplementationsRequest".into() } } /// ListImplementationsResponse is the response type of the ListImplementations @@ -54,7 +64,10 @@ impl ::prost::Name for ListImplementationsResponse { const NAME: &'static str = "ListImplementationsResponse"; const PACKAGE: &'static str = "cosmos.base.reflection.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v1beta1.{}", Self::NAME) + "cosmos.base.reflection.v1beta1.ListImplementationsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v1beta1.ListImplementationsResponse".into() } } /// Generated client implementations. diff --git a/src/prost/cosmos.base.reflection.v2alpha1.rs b/src/prost/cosmos.base.reflection.v2alpha1.rs index ec09ac3a..f4a409ac 100644 --- a/src/prost/cosmos.base.reflection.v2alpha1.rs +++ b/src/prost/cosmos.base.reflection.v2alpha1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// AppDescriptor describes a cosmos-sdk based application #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -26,7 +27,10 @@ impl ::prost::Name for AppDescriptor { const NAME: &'static str = "AppDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.AppDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.AppDescriptor".into() } } /// TxDescriptor describes the accepted transaction type @@ -46,7 +50,10 @@ impl ::prost::Name for TxDescriptor { const NAME: &'static str = "TxDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.TxDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.TxDescriptor".into() } } /// AuthnDescriptor provides information on how to sign transactions without relying @@ -62,7 +69,10 @@ impl ::prost::Name for AuthnDescriptor { const NAME: &'static str = "AuthnDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.AuthnDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.AuthnDescriptor".into() } } /// SigningModeDescriptor provides information on a signing flow of the application @@ -87,7 +97,10 @@ impl ::prost::Name for SigningModeDescriptor { const NAME: &'static str = "SigningModeDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.SigningModeDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.SigningModeDescriptor".into() } } /// ChainDescriptor describes chain information of the application @@ -102,7 +115,10 @@ impl ::prost::Name for ChainDescriptor { const NAME: &'static str = "ChainDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.ChainDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.ChainDescriptor".into() } } /// CodecDescriptor describes the registered interfaces and provides metadata information on the types @@ -117,7 +133,10 @@ impl ::prost::Name for CodecDescriptor { const NAME: &'static str = "CodecDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.CodecDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.CodecDescriptor".into() } } /// InterfaceDescriptor describes the implementation of an interface @@ -141,7 +160,10 @@ impl ::prost::Name for InterfaceDescriptor { const NAME: &'static str = "InterfaceDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.InterfaceDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.InterfaceDescriptor".into() } } /// InterfaceImplementerDescriptor describes an interface implementer @@ -162,7 +184,10 @@ impl ::prost::Name for InterfaceImplementerDescriptor { const NAME: &'static str = "InterfaceImplementerDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor".into() } } /// InterfaceAcceptingMessageDescriptor describes a protobuf message which contains @@ -183,7 +208,10 @@ impl ::prost::Name for InterfaceAcceptingMessageDescriptor { const NAME: &'static str = "InterfaceAcceptingMessageDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor".into() } } /// ConfigurationDescriptor contains metadata information on the sdk.Config @@ -198,7 +226,10 @@ impl ::prost::Name for ConfigurationDescriptor { const NAME: &'static str = "ConfigurationDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor".into() } } /// MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction @@ -213,7 +244,10 @@ impl ::prost::Name for MsgDescriptor { const NAME: &'static str = "MsgDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.MsgDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.MsgDescriptor".into() } } /// GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC @@ -224,7 +258,10 @@ impl ::prost::Name for GetAuthnDescriptorRequest { const NAME: &'static str = "GetAuthnDescriptorRequest"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest".into() } } /// GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC @@ -239,7 +276,10 @@ impl ::prost::Name for GetAuthnDescriptorResponse { const NAME: &'static str = "GetAuthnDescriptorResponse"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse".into() } } /// GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC @@ -250,7 +290,10 @@ impl ::prost::Name for GetChainDescriptorRequest { const NAME: &'static str = "GetChainDescriptorRequest"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest".into() } } /// GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC @@ -265,7 +308,10 @@ impl ::prost::Name for GetChainDescriptorResponse { const NAME: &'static str = "GetChainDescriptorResponse"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse".into() } } /// GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC @@ -276,7 +322,10 @@ impl ::prost::Name for GetCodecDescriptorRequest { const NAME: &'static str = "GetCodecDescriptorRequest"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest".into() } } /// GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC @@ -291,7 +340,10 @@ impl ::prost::Name for GetCodecDescriptorResponse { const NAME: &'static str = "GetCodecDescriptorResponse"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse".into() } } /// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC @@ -302,7 +354,10 @@ impl ::prost::Name for GetConfigurationDescriptorRequest { const NAME: &'static str = "GetConfigurationDescriptorRequest"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest".into() } } /// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC @@ -317,7 +372,10 @@ impl ::prost::Name for GetConfigurationDescriptorResponse { const NAME: &'static str = "GetConfigurationDescriptorResponse"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse".into() } } /// GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC @@ -328,7 +386,10 @@ impl ::prost::Name for GetQueryServicesDescriptorRequest { const NAME: &'static str = "GetQueryServicesDescriptorRequest"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest".into() } } /// GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC @@ -343,7 +404,10 @@ impl ::prost::Name for GetQueryServicesDescriptorResponse { const NAME: &'static str = "GetQueryServicesDescriptorResponse"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse".into() } } /// GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC @@ -354,7 +418,10 @@ impl ::prost::Name for GetTxDescriptorRequest { const NAME: &'static str = "GetTxDescriptorRequest"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest".into() } } /// GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC @@ -370,7 +437,10 @@ impl ::prost::Name for GetTxDescriptorResponse { const NAME: &'static str = "GetTxDescriptorResponse"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse".into() } } /// QueryServicesDescriptor contains the list of cosmos-sdk queriable services @@ -385,7 +455,10 @@ impl ::prost::Name for QueryServicesDescriptor { const NAME: &'static str = "QueryServicesDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.QueryServicesDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor".into() } } /// QueryServiceDescriptor describes a cosmos-sdk queryable service @@ -406,7 +479,10 @@ impl ::prost::Name for QueryServiceDescriptor { const NAME: &'static str = "QueryServiceDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.QueryServiceDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor".into() } } /// QueryMethodDescriptor describes a queryable method of a query service @@ -427,7 +503,10 @@ impl ::prost::Name for QueryMethodDescriptor { const NAME: &'static str = "QueryMethodDescriptor"; const PACKAGE: &'static str = "cosmos.base.reflection.v2alpha1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.reflection.v2alpha1.{}", Self::NAME) + "cosmos.base.reflection.v2alpha1.QueryMethodDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor".into() } } /// Generated client implementations. diff --git a/src/prost/cosmos.base.snapshots.v1beta1.rs b/src/prost/cosmos.base.snapshots.v1beta1.rs index 614c936c..5dffaf63 100644 --- a/src/prost/cosmos.base.snapshots.v1beta1.rs +++ b/src/prost/cosmos.base.snapshots.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Snapshot contains Tendermint state sync snapshot info. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -17,7 +18,10 @@ impl ::prost::Name for Snapshot { const NAME: &'static str = "Snapshot"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.Snapshot".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.Snapshot".into() } } /// Metadata contains SDK-specific snapshot metadata. @@ -32,7 +36,10 @@ impl ::prost::Name for Metadata { const NAME: &'static str = "Metadata"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.Metadata".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.Metadata".into() } } /// SnapshotItem is an item contained in a rootmulti.Store snapshot. @@ -69,7 +76,10 @@ impl ::prost::Name for SnapshotItem { const NAME: &'static str = "SnapshotItem"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.SnapshotItem".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.SnapshotItem".into() } } /// SnapshotStoreItem contains metadata about a snapshotted store. @@ -85,7 +95,10 @@ impl ::prost::Name for SnapshotStoreItem { const NAME: &'static str = "SnapshotStoreItem"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.SnapshotStoreItem".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem".into() } } /// SnapshotIAVLItem is an exported IAVL node. @@ -109,7 +122,10 @@ impl ::prost::Name for SnapshotIavlItem { const NAME: &'static str = "SnapshotIAVLItem"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.SnapshotIAVLItem".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem".into() } } /// SnapshotExtensionMeta contains metadata about an external snapshotter. @@ -127,7 +143,10 @@ impl ::prost::Name for SnapshotExtensionMeta { const NAME: &'static str = "SnapshotExtensionMeta"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta".into() } } /// SnapshotExtensionPayload contains payloads of an external snapshotter. @@ -143,7 +162,10 @@ impl ::prost::Name for SnapshotExtensionPayload { const NAME: &'static str = "SnapshotExtensionPayload"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload".into() } } /// SnapshotKVItem is an exported Key/Value Pair @@ -162,7 +184,10 @@ impl ::prost::Name for SnapshotKvItem { const NAME: &'static str = "SnapshotKVItem"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.SnapshotKVItem".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.SnapshotKVItem".into() } } /// SnapshotSchema is an exported schema of smt store @@ -179,6 +204,9 @@ impl ::prost::Name for SnapshotSchema { const NAME: &'static str = "SnapshotSchema"; const PACKAGE: &'static str = "cosmos.base.snapshots.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.snapshots.v1beta1.{}", Self::NAME) + "cosmos.base.snapshots.v1beta1.SnapshotSchema".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.snapshots.v1beta1.SnapshotSchema".into() } } diff --git a/src/prost/cosmos.base.tendermint.v1beta1.rs b/src/prost/cosmos.base.tendermint.v1beta1.rs index 82dd22d6..1009e500 100644 --- a/src/prost/cosmos.base.tendermint.v1beta1.rs +++ b/src/prost/cosmos.base.tendermint.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Block is tendermint type Block, with the Header proposer address /// field converted to bech32 string. #[allow(clippy::derive_partial_eq_without_eq)] @@ -16,7 +17,10 @@ impl ::prost::Name for Block { const NAME: &'static str = "Block"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.Block".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.Block".into() } } /// Header defines the structure of a Tendermint block header. @@ -79,7 +83,10 @@ impl ::prost::Name for Header { const NAME: &'static str = "Header"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.Header".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.Header".into() } } /// GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. @@ -96,7 +103,10 @@ impl ::prost::Name for GetValidatorSetByHeightRequest { const NAME: &'static str = "GetValidatorSetByHeightRequest"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest".into() } } /// GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. @@ -115,7 +125,10 @@ impl ::prost::Name for GetValidatorSetByHeightResponse { const NAME: &'static str = "GetValidatorSetByHeightResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse".into() } } /// GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. @@ -130,7 +143,10 @@ impl ::prost::Name for GetLatestValidatorSetRequest { const NAME: &'static str = "GetLatestValidatorSetRequest"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest".into() } } /// GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. @@ -149,7 +165,10 @@ impl ::prost::Name for GetLatestValidatorSetResponse { const NAME: &'static str = "GetLatestValidatorSetResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse".into() } } /// Validator is the type for the validator-set. @@ -171,7 +190,10 @@ impl ::prost::Name for Validator { const NAME: &'static str = "Validator"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.Validator".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.Validator".into() } } /// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. @@ -185,7 +207,10 @@ impl ::prost::Name for GetBlockByHeightRequest { const NAME: &'static str = "GetBlockByHeightRequest"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest".into() } } /// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. @@ -205,7 +230,10 @@ impl ::prost::Name for GetBlockByHeightResponse { const NAME: &'static str = "GetBlockByHeightResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse".into() } } /// GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. @@ -216,7 +244,10 @@ impl ::prost::Name for GetLatestBlockRequest { const NAME: &'static str = "GetLatestBlockRequest"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetLatestBlockRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest".into() } } /// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. @@ -236,7 +267,10 @@ impl ::prost::Name for GetLatestBlockResponse { const NAME: &'static str = "GetLatestBlockResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse".into() } } /// GetSyncingRequest is the request type for the Query/GetSyncing RPC method. @@ -247,7 +281,10 @@ impl ::prost::Name for GetSyncingRequest { const NAME: &'static str = "GetSyncingRequest"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetSyncingRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetSyncingRequest".into() } } /// GetSyncingResponse is the response type for the Query/GetSyncing RPC method. @@ -261,7 +298,10 @@ impl ::prost::Name for GetSyncingResponse { const NAME: &'static str = "GetSyncingResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetSyncingResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetSyncingResponse".into() } } /// GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. @@ -272,7 +312,10 @@ impl ::prost::Name for GetNodeInfoRequest { const NAME: &'static str = "GetNodeInfoRequest"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetNodeInfoRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest".into() } } /// GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. @@ -290,7 +333,10 @@ impl ::prost::Name for GetNodeInfoResponse { const NAME: &'static str = "GetNodeInfoResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.GetNodeInfoResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse".into() } } /// VersionInfo is the type for the GetNodeInfoResponse message. @@ -319,7 +365,10 @@ impl ::prost::Name for VersionInfo { const NAME: &'static str = "VersionInfo"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.VersionInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.VersionInfo".into() } } /// Module is the type for VersionInfo @@ -340,7 +389,10 @@ impl ::prost::Name for Module { const NAME: &'static str = "Module"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.Module".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.Module".into() } } /// ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. @@ -360,7 +412,10 @@ impl ::prost::Name for AbciQueryRequest { const NAME: &'static str = "ABCIQueryRequest"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.ABCIQueryRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest".into() } } /// ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. @@ -395,7 +450,10 @@ impl ::prost::Name for AbciQueryResponse { const NAME: &'static str = "ABCIQueryResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.ABCIQueryResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse".into() } } /// ProofOp defines an operation used for calculating Merkle root. The data could @@ -417,7 +475,10 @@ impl ::prost::Name for ProofOp { const NAME: &'static str = "ProofOp"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.ProofOp".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.ProofOp".into() } } /// ProofOps is Merkle proof defined by the list of ProofOps. @@ -433,7 +494,10 @@ impl ::prost::Name for ProofOps { const NAME: &'static str = "ProofOps"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.tendermint.v1beta1.{}", Self::NAME) + "cosmos.base.tendermint.v1beta1.ProofOps".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.tendermint.v1beta1.ProofOps".into() } } /// Generated client implementations. diff --git a/src/prost/cosmos.base.v1beta1.rs b/src/prost/cosmos.base.v1beta1.rs index e3497310..057afb09 100644 --- a/src/prost/cosmos.base.v1beta1.rs +++ b/src/prost/cosmos.base.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Coin defines a token with a denomination and an amount. /// /// NOTE: The amount field is an Int which implements the custom method @@ -14,7 +15,10 @@ impl ::prost::Name for Coin { const NAME: &'static str = "Coin"; const PACKAGE: &'static str = "cosmos.base.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + "cosmos.base.v1beta1.Coin".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.v1beta1.Coin".into() } } /// DecCoin defines a token with a denomination and a decimal amount. @@ -33,7 +37,10 @@ impl ::prost::Name for DecCoin { const NAME: &'static str = "DecCoin"; const PACKAGE: &'static str = "cosmos.base.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + "cosmos.base.v1beta1.DecCoin".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.v1beta1.DecCoin".into() } } /// IntProto defines a Protobuf wrapper around an Int object. @@ -47,7 +54,10 @@ impl ::prost::Name for IntProto { const NAME: &'static str = "IntProto"; const PACKAGE: &'static str = "cosmos.base.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + "cosmos.base.v1beta1.IntProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.v1beta1.IntProto".into() } } /// DecProto defines a Protobuf wrapper around a Dec object. @@ -61,6 +71,9 @@ impl ::prost::Name for DecProto { const NAME: &'static str = "DecProto"; const PACKAGE: &'static str = "cosmos.base.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.base.v1beta1.{}", Self::NAME) + "cosmos.base.v1beta1.DecProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.base.v1beta1.DecProto".into() } } diff --git a/src/prost/cosmos.crypto.ed25519.rs b/src/prost/cosmos.crypto.ed25519.rs index 4195c048..8c52ed2e 100644 --- a/src/prost/cosmos.crypto.ed25519.rs +++ b/src/prost/cosmos.crypto.ed25519.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// PubKey is an ed25519 public key for handling Tendermint keys in SDK. /// It's needed for Any serialization and SDK compatibility. /// It must not be used in a non Tendermint key context because it doesn't implement @@ -13,7 +14,10 @@ impl ::prost::Name for PubKey { const NAME: &'static str = "PubKey"; const PACKAGE: &'static str = "cosmos.crypto.ed25519"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.ed25519.{}", Self::NAME) + "cosmos.crypto.ed25519.PubKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.ed25519.PubKey".into() } } /// Deprecated: PrivKey defines a ed25519 private key. @@ -28,6 +32,9 @@ impl ::prost::Name for PrivKey { const NAME: &'static str = "PrivKey"; const PACKAGE: &'static str = "cosmos.crypto.ed25519"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.ed25519.{}", Self::NAME) + "cosmos.crypto.ed25519.PrivKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.ed25519.PrivKey".into() } } diff --git a/src/prost/cosmos.crypto.hd.v1.rs b/src/prost/cosmos.crypto.hd.v1.rs index 0561b040..05732e83 100644 --- a/src/prost/cosmos.crypto.hd.v1.rs +++ b/src/prost/cosmos.crypto.hd.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// BIP44Params is used as path field in ledger item in Record. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -23,6 +24,9 @@ impl ::prost::Name for Bip44Params { const NAME: &'static str = "BIP44Params"; const PACKAGE: &'static str = "cosmos.crypto.hd.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.hd.v1.{}", Self::NAME) + "cosmos.crypto.hd.v1.BIP44Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.hd.v1.BIP44Params".into() } } diff --git a/src/prost/cosmos.crypto.keyring.v1.rs b/src/prost/cosmos.crypto.keyring.v1.rs index 1990225d..2f4a0e2b 100644 --- a/src/prost/cosmos.crypto.keyring.v1.rs +++ b/src/prost/cosmos.crypto.keyring.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Record is used for representing a key in the keyring. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -30,7 +31,10 @@ pub mod record { const NAME: &'static str = "Local"; const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.keyring.v1.Record.{}", Self::NAME) + "cosmos.crypto.keyring.v1.Record.Local".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.keyring.v1.Record.Local".into() } } /// Ledger item @@ -44,7 +48,10 @@ pub mod record { const NAME: &'static str = "Ledger"; const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.keyring.v1.Record.{}", Self::NAME) + "cosmos.crypto.keyring.v1.Record.Ledger".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.keyring.v1.Record.Ledger".into() } } /// Multi item @@ -55,7 +62,10 @@ pub mod record { const NAME: &'static str = "Multi"; const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.keyring.v1.Record.{}", Self::NAME) + "cosmos.crypto.keyring.v1.Record.Multi".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.keyring.v1.Record.Multi".into() } } /// Offline item @@ -66,7 +76,10 @@ pub mod record { const NAME: &'static str = "Offline"; const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.keyring.v1.Record.{}", Self::NAME) + "cosmos.crypto.keyring.v1.Record.Offline".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.keyring.v1.Record.Offline".into() } } /// Record contains one of the following items @@ -91,6 +104,9 @@ impl ::prost::Name for Record { const NAME: &'static str = "Record"; const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.keyring.v1.{}", Self::NAME) + "cosmos.crypto.keyring.v1.Record".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.keyring.v1.Record".into() } } diff --git a/src/prost/cosmos.crypto.multisig.rs b/src/prost/cosmos.crypto.multisig.rs index 6455fb3d..c799f002 100644 --- a/src/prost/cosmos.crypto.multisig.rs +++ b/src/prost/cosmos.crypto.multisig.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// LegacyAminoPubKey specifies a public key type /// which nests multiple public keys and a threshold, /// it uses legacy amino address rules. @@ -15,6 +16,9 @@ impl ::prost::Name for LegacyAminoPubKey { const NAME: &'static str = "LegacyAminoPubKey"; const PACKAGE: &'static str = "cosmos.crypto.multisig"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.multisig.{}", Self::NAME) + "cosmos.crypto.multisig.LegacyAminoPubKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.multisig.LegacyAminoPubKey".into() } } diff --git a/src/prost/cosmos.crypto.multisig.v1beta1.rs b/src/prost/cosmos.crypto.multisig.v1beta1.rs index 1d784f69..ea870783 100644 --- a/src/prost/cosmos.crypto.multisig.v1beta1.rs +++ b/src/prost/cosmos.crypto.multisig.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. /// See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers /// signed and with which modes. @@ -11,7 +12,10 @@ impl ::prost::Name for MultiSignature { const NAME: &'static str = "MultiSignature"; const PACKAGE: &'static str = "cosmos.crypto.multisig.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.multisig.v1beta1.{}", Self::NAME) + "cosmos.crypto.multisig.v1beta1.MultiSignature".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.multisig.v1beta1.MultiSignature".into() } } /// CompactBitArray is an implementation of a space efficient bit array. @@ -30,6 +34,9 @@ impl ::prost::Name for CompactBitArray { const NAME: &'static str = "CompactBitArray"; const PACKAGE: &'static str = "cosmos.crypto.multisig.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.multisig.v1beta1.{}", Self::NAME) + "cosmos.crypto.multisig.v1beta1.CompactBitArray".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.multisig.v1beta1.CompactBitArray".into() } } diff --git a/src/prost/cosmos.crypto.secp256k1.rs b/src/prost/cosmos.crypto.secp256k1.rs index cafdb65e..fb4ba372 100644 --- a/src/prost/cosmos.crypto.secp256k1.rs +++ b/src/prost/cosmos.crypto.secp256k1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// PubKey defines a secp256k1 public key /// Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte /// if the y-coordinate is the lexicographically largest of the two associated with @@ -13,7 +14,10 @@ impl ::prost::Name for PubKey { const NAME: &'static str = "PubKey"; const PACKAGE: &'static str = "cosmos.crypto.secp256k1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.secp256k1.{}", Self::NAME) + "cosmos.crypto.secp256k1.PubKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.secp256k1.PubKey".into() } } /// PrivKey defines a secp256k1 private key. @@ -27,6 +31,9 @@ impl ::prost::Name for PrivKey { const NAME: &'static str = "PrivKey"; const PACKAGE: &'static str = "cosmos.crypto.secp256k1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.secp256k1.{}", Self::NAME) + "cosmos.crypto.secp256k1.PrivKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.secp256k1.PrivKey".into() } } diff --git a/src/prost/cosmos.crypto.secp256r1.rs b/src/prost/cosmos.crypto.secp256r1.rs index 067eef4b..39ba3874 100644 --- a/src/prost/cosmos.crypto.secp256r1.rs +++ b/src/prost/cosmos.crypto.secp256r1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// PubKey defines a secp256r1 ECDSA public key. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -11,7 +12,10 @@ impl ::prost::Name for PubKey { const NAME: &'static str = "PubKey"; const PACKAGE: &'static str = "cosmos.crypto.secp256r1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.secp256r1.{}", Self::NAME) + "cosmos.crypto.secp256r1.PubKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.secp256r1.PubKey".into() } } /// PrivKey defines a secp256r1 ECDSA private key. @@ -26,6 +30,9 @@ impl ::prost::Name for PrivKey { const NAME: &'static str = "PrivKey"; const PACKAGE: &'static str = "cosmos.crypto.secp256r1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.crypto.secp256r1.{}", Self::NAME) + "cosmos.crypto.secp256r1.PrivKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.crypto.secp256r1.PrivKey".into() } } diff --git a/src/prost/cosmos.gov.module.v1.rs b/src/prost/cosmos.gov.module.v1.rs index 9a066d49..e7d5510c 100644 --- a/src/prost/cosmos.gov.module.v1.rs +++ b/src/prost/cosmos.gov.module.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Module is the config object of the gov module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -14,6 +15,9 @@ impl ::prost::Name for Module { const NAME: &'static str = "Module"; const PACKAGE: &'static str = "cosmos.gov.module.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.module.v1.{}", Self::NAME) + "cosmos.gov.module.v1.Module".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.module.v1.Module".into() } } diff --git a/src/prost/cosmos.gov.v1.rs b/src/prost/cosmos.gov.v1.rs index feb0a17d..5617f868 100644 --- a/src/prost/cosmos.gov.v1.rs +++ b/src/prost/cosmos.gov.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// WeightedVoteOption defines a unit of vote for vote split. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -13,7 +14,10 @@ impl ::prost::Name for WeightedVoteOption { const NAME: &'static str = "WeightedVoteOption"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.WeightedVoteOption".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.WeightedVoteOption".into() } } /// Deposit defines an amount deposited by an account address to an active @@ -35,7 +39,10 @@ impl ::prost::Name for Deposit { const NAME: &'static str = "Deposit"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.Deposit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.Deposit".into() } } /// Proposal defines the core field members of a governance proposal. @@ -102,7 +109,10 @@ impl ::prost::Name for Proposal { const NAME: &'static str = "Proposal"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.Proposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.Proposal".into() } } /// TallyResult defines a standard tally for a governance proposal. @@ -126,7 +136,10 @@ impl ::prost::Name for TallyResult { const NAME: &'static str = "TallyResult"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.TallyResult".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.TallyResult".into() } } /// Vote defines a vote on a governance proposal. @@ -151,7 +164,10 @@ impl ::prost::Name for Vote { const NAME: &'static str = "Vote"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.Vote".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.Vote".into() } } /// DepositParams defines the params for deposits on governance proposals. @@ -172,7 +188,10 @@ impl ::prost::Name for DepositParams { const NAME: &'static str = "DepositParams"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.DepositParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.DepositParams".into() } } /// VotingParams defines the params for voting on governance proposals. @@ -189,7 +208,10 @@ impl ::prost::Name for VotingParams { const NAME: &'static str = "VotingParams"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.VotingParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.VotingParams".into() } } /// TallyParams defines the params for tallying votes on governance proposals. @@ -212,7 +234,10 @@ impl ::prost::Name for TallyParams { const NAME: &'static str = "TallyParams"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.TallyParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.TallyParams".into() } } /// Params defines the parameters for the x/gov module. @@ -263,7 +288,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.Params".into() } } /// VoteOption enumerates the valid vote options for a given governance proposal. @@ -389,7 +417,10 @@ impl ::prost::Name for MsgSubmitProposal { const NAME: &'static str = "MsgSubmitProposal"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgSubmitProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgSubmitProposal".into() } } /// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. @@ -404,7 +435,10 @@ impl ::prost::Name for MsgSubmitProposalResponse { const NAME: &'static str = "MsgSubmitProposalResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgSubmitProposalResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgSubmitProposalResponse".into() } } /// MsgExecLegacyContent is used to wrap the legacy content field into a message. @@ -423,7 +457,10 @@ impl ::prost::Name for MsgExecLegacyContent { const NAME: &'static str = "MsgExecLegacyContent"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgExecLegacyContent".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgExecLegacyContent".into() } } /// MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. @@ -434,7 +471,10 @@ impl ::prost::Name for MsgExecLegacyContentResponse { const NAME: &'static str = "MsgExecLegacyContentResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgExecLegacyContentResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgExecLegacyContentResponse".into() } } /// MsgVote defines a message to cast a vote. @@ -458,7 +498,10 @@ impl ::prost::Name for MsgVote { const NAME: &'static str = "MsgVote"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgVote".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgVote".into() } } /// MsgVoteResponse defines the Msg/Vote response type. @@ -469,7 +512,10 @@ impl ::prost::Name for MsgVoteResponse { const NAME: &'static str = "MsgVoteResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgVoteResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgVoteResponse".into() } } /// MsgVoteWeighted defines a message to cast a vote. @@ -493,7 +539,10 @@ impl ::prost::Name for MsgVoteWeighted { const NAME: &'static str = "MsgVoteWeighted"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgVoteWeighted".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgVoteWeighted".into() } } /// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. @@ -504,7 +553,10 @@ impl ::prost::Name for MsgVoteWeightedResponse { const NAME: &'static str = "MsgVoteWeightedResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgVoteWeightedResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgVoteWeightedResponse".into() } } /// MsgDeposit defines a message to submit a deposit to an existing proposal. @@ -525,7 +577,10 @@ impl ::prost::Name for MsgDeposit { const NAME: &'static str = "MsgDeposit"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgDeposit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgDeposit".into() } } /// MsgDepositResponse defines the Msg/Deposit response type. @@ -536,7 +591,10 @@ impl ::prost::Name for MsgDepositResponse { const NAME: &'static str = "MsgDepositResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgDepositResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgDepositResponse".into() } } /// MsgUpdateParams is the Msg/UpdateParams request type. @@ -558,7 +616,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the response structure for executing a @@ -572,7 +633,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.MsgUpdateParamsResponse".into() } } /// Generated client implementations. @@ -1275,7 +1339,10 @@ impl ::prost::Name for QueryProposalRequest { const NAME: &'static str = "QueryProposalRequest"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryProposalRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryProposalRequest".into() } } /// QueryProposalResponse is the response type for the Query/Proposal RPC method. @@ -1290,7 +1357,10 @@ impl ::prost::Name for QueryProposalResponse { const NAME: &'static str = "QueryProposalResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryProposalResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryProposalResponse".into() } } /// QueryProposalsRequest is the request type for the Query/Proposals RPC method. @@ -1316,7 +1386,10 @@ impl ::prost::Name for QueryProposalsRequest { const NAME: &'static str = "QueryProposalsRequest"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryProposalsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryProposalsRequest".into() } } /// QueryProposalsResponse is the response type for the Query/Proposals RPC @@ -1337,7 +1410,10 @@ impl ::prost::Name for QueryProposalsResponse { const NAME: &'static str = "QueryProposalsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryProposalsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryProposalsResponse".into() } } /// QueryVoteRequest is the request type for the Query/Vote RPC method. @@ -1355,7 +1431,10 @@ impl ::prost::Name for QueryVoteRequest { const NAME: &'static str = "QueryVoteRequest"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryVoteRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryVoteRequest".into() } } /// QueryVoteResponse is the response type for the Query/Vote RPC method. @@ -1370,7 +1449,10 @@ impl ::prost::Name for QueryVoteResponse { const NAME: &'static str = "QueryVoteResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryVoteResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryVoteResponse".into() } } /// QueryVotesRequest is the request type for the Query/Votes RPC method. @@ -1390,7 +1472,10 @@ impl ::prost::Name for QueryVotesRequest { const NAME: &'static str = "QueryVotesRequest"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryVotesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryVotesRequest".into() } } /// QueryVotesResponse is the response type for the Query/Votes RPC method. @@ -1410,7 +1495,10 @@ impl ::prost::Name for QueryVotesResponse { const NAME: &'static str = "QueryVotesResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryVotesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryVotesResponse".into() } } /// QueryParamsRequest is the request type for the Query/Params RPC method. @@ -1426,7 +1514,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryParamsRequest".into() } } /// QueryParamsResponse is the response type for the Query/Params RPC method. @@ -1458,7 +1549,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryParamsResponse".into() } } /// QueryDepositRequest is the request type for the Query/Deposit RPC method. @@ -1476,7 +1570,10 @@ impl ::prost::Name for QueryDepositRequest { const NAME: &'static str = "QueryDepositRequest"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryDepositRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryDepositRequest".into() } } /// QueryDepositResponse is the response type for the Query/Deposit RPC method. @@ -1491,7 +1588,10 @@ impl ::prost::Name for QueryDepositResponse { const NAME: &'static str = "QueryDepositResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryDepositResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryDepositResponse".into() } } /// QueryDepositsRequest is the request type for the Query/Deposits RPC method. @@ -1511,7 +1611,10 @@ impl ::prost::Name for QueryDepositsRequest { const NAME: &'static str = "QueryDepositsRequest"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryDepositsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryDepositsRequest".into() } } /// QueryDepositsResponse is the response type for the Query/Deposits RPC method. @@ -1531,7 +1634,10 @@ impl ::prost::Name for QueryDepositsResponse { const NAME: &'static str = "QueryDepositsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryDepositsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryDepositsResponse".into() } } /// QueryTallyResultRequest is the request type for the Query/Tally RPC method. @@ -1546,7 +1652,10 @@ impl ::prost::Name for QueryTallyResultRequest { const NAME: &'static str = "QueryTallyResultRequest"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryTallyResultRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryTallyResultRequest".into() } } /// QueryTallyResultResponse is the response type for the Query/Tally RPC method. @@ -1561,7 +1670,10 @@ impl ::prost::Name for QueryTallyResultResponse { const NAME: &'static str = "QueryTallyResultResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.QueryTallyResultResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.QueryTallyResultResponse".into() } } /// Generated client implementations. @@ -2454,6 +2566,9 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.gov.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1.{}", Self::NAME) + "cosmos.gov.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1.GenesisState".into() } } diff --git a/src/prost/cosmos.gov.v1beta1.rs b/src/prost/cosmos.gov.v1beta1.rs index d421555b..de0be35b 100644 --- a/src/prost/cosmos.gov.v1beta1.rs +++ b/src/prost/cosmos.gov.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// WeightedVoteOption defines a unit of vote for vote split. /// /// Since: cosmos-sdk 0.43 @@ -15,7 +16,10 @@ impl ::prost::Name for WeightedVoteOption { const NAME: &'static str = "WeightedVoteOption"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.WeightedVoteOption".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.WeightedVoteOption".into() } } /// TextProposal defines a standard text proposal whose changes need to be @@ -34,7 +38,10 @@ impl ::prost::Name for TextProposal { const NAME: &'static str = "TextProposal"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.TextProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.TextProposal".into() } } /// Deposit defines an amount deposited by an account address to an active @@ -56,7 +63,10 @@ impl ::prost::Name for Deposit { const NAME: &'static str = "Deposit"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.Deposit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.Deposit".into() } } /// Proposal defines the core field members of a governance proposal. @@ -105,7 +115,10 @@ impl ::prost::Name for Proposal { const NAME: &'static str = "Proposal"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.Proposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.Proposal".into() } } /// TallyResult defines a standard tally for a governance proposal. @@ -129,7 +142,10 @@ impl ::prost::Name for TallyResult { const NAME: &'static str = "TallyResult"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.TallyResult".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.TallyResult".into() } } /// Vote defines a vote on a governance proposal. @@ -159,7 +175,10 @@ impl ::prost::Name for Vote { const NAME: &'static str = "Vote"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.Vote".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.Vote".into() } } /// DepositParams defines the params for deposits on governance proposals. @@ -180,7 +199,10 @@ impl ::prost::Name for DepositParams { const NAME: &'static str = "DepositParams"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.DepositParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.DepositParams".into() } } /// VotingParams defines the params for voting on governance proposals. @@ -197,7 +219,10 @@ impl ::prost::Name for VotingParams { const NAME: &'static str = "VotingParams"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.VotingParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.VotingParams".into() } } /// TallyParams defines the params for tallying votes on governance proposals. @@ -220,7 +245,10 @@ impl ::prost::Name for TallyParams { const NAME: &'static str = "TallyParams"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.TallyParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.TallyParams".into() } } /// VoteOption enumerates the valid vote options for a given governance proposal. @@ -333,7 +361,10 @@ impl ::prost::Name for MsgSubmitProposal { const NAME: &'static str = "MsgSubmitProposal"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.MsgSubmitProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.MsgSubmitProposal".into() } } /// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. @@ -348,7 +379,10 @@ impl ::prost::Name for MsgSubmitProposalResponse { const NAME: &'static str = "MsgSubmitProposalResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.MsgSubmitProposalResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.MsgSubmitProposalResponse".into() } } /// MsgVote defines a message to cast a vote. @@ -369,7 +403,10 @@ impl ::prost::Name for MsgVote { const NAME: &'static str = "MsgVote"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.MsgVote".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.MsgVote".into() } } /// MsgVoteResponse defines the Msg/Vote response type. @@ -380,7 +417,10 @@ impl ::prost::Name for MsgVoteResponse { const NAME: &'static str = "MsgVoteResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.MsgVoteResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.MsgVoteResponse".into() } } /// MsgVoteWeighted defines a message to cast a vote. @@ -403,7 +443,10 @@ impl ::prost::Name for MsgVoteWeighted { const NAME: &'static str = "MsgVoteWeighted"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.MsgVoteWeighted".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.MsgVoteWeighted".into() } } /// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. @@ -416,7 +459,10 @@ impl ::prost::Name for MsgVoteWeightedResponse { const NAME: &'static str = "MsgVoteWeightedResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.MsgVoteWeightedResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.MsgVoteWeightedResponse".into() } } /// MsgDeposit defines a message to submit a deposit to an existing proposal. @@ -437,7 +483,10 @@ impl ::prost::Name for MsgDeposit { const NAME: &'static str = "MsgDeposit"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.MsgDeposit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.MsgDeposit".into() } } /// MsgDepositResponse defines the Msg/Deposit response type. @@ -448,7 +497,10 @@ impl ::prost::Name for MsgDepositResponse { const NAME: &'static str = "MsgDepositResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.MsgDepositResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.MsgDepositResponse".into() } } /// Generated client implementations. @@ -995,7 +1047,10 @@ impl ::prost::Name for QueryProposalRequest { const NAME: &'static str = "QueryProposalRequest"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryProposalRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryProposalRequest".into() } } /// QueryProposalResponse is the response type for the Query/Proposal RPC method. @@ -1009,7 +1064,10 @@ impl ::prost::Name for QueryProposalResponse { const NAME: &'static str = "QueryProposalResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryProposalResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryProposalResponse".into() } } /// QueryProposalsRequest is the request type for the Query/Proposals RPC method. @@ -1035,7 +1093,10 @@ impl ::prost::Name for QueryProposalsRequest { const NAME: &'static str = "QueryProposalsRequest"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryProposalsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryProposalsRequest".into() } } /// QueryProposalsResponse is the response type for the Query/Proposals RPC @@ -1056,7 +1117,10 @@ impl ::prost::Name for QueryProposalsResponse { const NAME: &'static str = "QueryProposalsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryProposalsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryProposalsResponse".into() } } /// QueryVoteRequest is the request type for the Query/Vote RPC method. @@ -1074,7 +1138,10 @@ impl ::prost::Name for QueryVoteRequest { const NAME: &'static str = "QueryVoteRequest"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryVoteRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryVoteRequest".into() } } /// QueryVoteResponse is the response type for the Query/Vote RPC method. @@ -1089,7 +1156,10 @@ impl ::prost::Name for QueryVoteResponse { const NAME: &'static str = "QueryVoteResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryVoteResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryVoteResponse".into() } } /// QueryVotesRequest is the request type for the Query/Votes RPC method. @@ -1109,7 +1179,10 @@ impl ::prost::Name for QueryVotesRequest { const NAME: &'static str = "QueryVotesRequest"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryVotesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryVotesRequest".into() } } /// QueryVotesResponse is the response type for the Query/Votes RPC method. @@ -1129,7 +1202,10 @@ impl ::prost::Name for QueryVotesResponse { const NAME: &'static str = "QueryVotesResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryVotesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryVotesResponse".into() } } /// QueryParamsRequest is the request type for the Query/Params RPC method. @@ -1145,7 +1221,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryParamsRequest".into() } } /// QueryParamsResponse is the response type for the Query/Params RPC method. @@ -1166,7 +1245,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryParamsResponse".into() } } /// QueryDepositRequest is the request type for the Query/Deposit RPC method. @@ -1184,7 +1266,10 @@ impl ::prost::Name for QueryDepositRequest { const NAME: &'static str = "QueryDepositRequest"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryDepositRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryDepositRequest".into() } } /// QueryDepositResponse is the response type for the Query/Deposit RPC method. @@ -1199,7 +1284,10 @@ impl ::prost::Name for QueryDepositResponse { const NAME: &'static str = "QueryDepositResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryDepositResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryDepositResponse".into() } } /// QueryDepositsRequest is the request type for the Query/Deposits RPC method. @@ -1219,7 +1307,10 @@ impl ::prost::Name for QueryDepositsRequest { const NAME: &'static str = "QueryDepositsRequest"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryDepositsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryDepositsRequest".into() } } /// QueryDepositsResponse is the response type for the Query/Deposits RPC method. @@ -1239,7 +1330,10 @@ impl ::prost::Name for QueryDepositsResponse { const NAME: &'static str = "QueryDepositsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryDepositsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryDepositsResponse".into() } } /// QueryTallyResultRequest is the request type for the Query/Tally RPC method. @@ -1254,7 +1348,10 @@ impl ::prost::Name for QueryTallyResultRequest { const NAME: &'static str = "QueryTallyResultRequest"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryTallyResultRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryTallyResultRequest".into() } } /// QueryTallyResultResponse is the response type for the Query/Tally RPC method. @@ -1269,7 +1366,10 @@ impl ::prost::Name for QueryTallyResultResponse { const NAME: &'static str = "QueryTallyResultResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.QueryTallyResultResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.QueryTallyResultResponse".into() } } /// Generated client implementations. @@ -2155,6 +2255,9 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.gov.v1beta1.{}", Self::NAME) + "cosmos.gov.v1beta1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.gov.v1beta1.GenesisState".into() } } diff --git a/src/prost/cosmos.staking.module.v1.rs b/src/prost/cosmos.staking.module.v1.rs index 2a8d086b..803365bf 100644 --- a/src/prost/cosmos.staking.module.v1.rs +++ b/src/prost/cosmos.staking.module.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Module is the config object of the staking module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -15,6 +16,9 @@ impl ::prost::Name for Module { const NAME: &'static str = "Module"; const PACKAGE: &'static str = "cosmos.staking.module.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.module.v1.{}", Self::NAME) + "cosmos.staking.module.v1.Module".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.module.v1.Module".into() } } diff --git a/src/prost/cosmos.staking.v1beta1.rs b/src/prost/cosmos.staking.v1beta1.rs index 2c2c1b8d..622024a3 100644 --- a/src/prost/cosmos.staking.v1beta1.rs +++ b/src/prost/cosmos.staking.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// HistoricalInfo contains header and validator information for a given block. /// It is stored as part of staking module's state, which persists the `n` most /// recent HistoricalInfo @@ -14,7 +15,10 @@ impl ::prost::Name for HistoricalInfo { const NAME: &'static str = "HistoricalInfo"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.HistoricalInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.HistoricalInfo".into() } } /// CommissionRates defines the initial commission rates to be used for creating @@ -36,7 +40,10 @@ impl ::prost::Name for CommissionRates { const NAME: &'static str = "CommissionRates"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.CommissionRates".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.CommissionRates".into() } } /// Commission defines commission parameters for a given validator. @@ -56,7 +63,10 @@ impl ::prost::Name for Commission { const NAME: &'static str = "Commission"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.Commission".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.Commission".into() } } /// Description defines a validator description. @@ -83,7 +93,10 @@ impl ::prost::Name for Description { const NAME: &'static str = "Description"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.Description".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.Description".into() } } /// Validator defines a validator, together with the total amount of the @@ -147,7 +160,10 @@ impl ::prost::Name for Validator { const NAME: &'static str = "Validator"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.Validator".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.Validator".into() } } /// ValAddresses defines a repeated set of validator addresses. @@ -161,7 +177,10 @@ impl ::prost::Name for ValAddresses { const NAME: &'static str = "ValAddresses"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.ValAddresses".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.ValAddresses".into() } } /// DVPair is struct that just has a delegator-validator pair with no other data. @@ -179,7 +198,10 @@ impl ::prost::Name for DvPair { const NAME: &'static str = "DVPair"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.DVPair".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.DVPair".into() } } /// DVPairs defines an array of DVPair objects. @@ -193,7 +215,10 @@ impl ::prost::Name for DvPairs { const NAME: &'static str = "DVPairs"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.DVPairs".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.DVPairs".into() } } /// DVVTriplet is struct that just has a delegator-validator-validator triplet @@ -214,7 +239,10 @@ impl ::prost::Name for DvvTriplet { const NAME: &'static str = "DVVTriplet"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.DVVTriplet".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.DVVTriplet".into() } } /// DVVTriplets defines an array of DVVTriplet objects. @@ -228,7 +256,10 @@ impl ::prost::Name for DvvTriplets { const NAME: &'static str = "DVVTriplets"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.DVVTriplets".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.DVVTriplets".into() } } /// Delegation represents the bond with tokens held by an account. It is @@ -251,7 +282,10 @@ impl ::prost::Name for Delegation { const NAME: &'static str = "Delegation"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.Delegation".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.Delegation".into() } } /// UnbondingDelegation stores all of a single delegator's unbonding bonds @@ -275,7 +309,10 @@ impl ::prost::Name for UnbondingDelegation { const NAME: &'static str = "UnbondingDelegation"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.UnbondingDelegation".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.UnbondingDelegation".into() } } /// UnbondingDelegationEntry defines an unbonding object with relevant metadata. @@ -307,7 +344,10 @@ impl ::prost::Name for UnbondingDelegationEntry { const NAME: &'static str = "UnbondingDelegationEntry"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.UnbondingDelegationEntry".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.UnbondingDelegationEntry".into() } } /// RedelegationEntry defines a redelegation object with relevant metadata. @@ -339,7 +379,10 @@ impl ::prost::Name for RedelegationEntry { const NAME: &'static str = "RedelegationEntry"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.RedelegationEntry".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.RedelegationEntry".into() } } /// Redelegation contains the list of a particular delegator's redelegating bonds @@ -366,7 +409,10 @@ impl ::prost::Name for Redelegation { const NAME: &'static str = "Redelegation"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.Redelegation".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.Redelegation".into() } } /// Params defines the parameters for the x/staking module. @@ -398,7 +444,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.Params".into() } } /// DelegationResponse is equivalent to Delegation except that it contains a @@ -415,7 +464,10 @@ impl ::prost::Name for DelegationResponse { const NAME: &'static str = "DelegationResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.DelegationResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.DelegationResponse".into() } } /// RedelegationEntryResponse is equivalent to a RedelegationEntry except that it @@ -433,7 +485,10 @@ impl ::prost::Name for RedelegationEntryResponse { const NAME: &'static str = "RedelegationEntryResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.RedelegationEntryResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.RedelegationEntryResponse".into() } } /// RedelegationResponse is equivalent to a Redelegation except that its entries @@ -451,7 +506,10 @@ impl ::prost::Name for RedelegationResponse { const NAME: &'static str = "RedelegationResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.RedelegationResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.RedelegationResponse".into() } } /// Pool is used for tracking bonded and not-bonded token supply of the bond @@ -468,7 +526,10 @@ impl ::prost::Name for Pool { const NAME: &'static str = "Pool"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.Pool".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.Pool".into() } } /// ValidatorUpdates defines an array of abci.ValidatorUpdate objects. @@ -483,7 +544,10 @@ impl ::prost::Name for ValidatorUpdates { const NAME: &'static str = "ValidatorUpdates"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.ValidatorUpdates".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.ValidatorUpdates".into() } } /// BondStatus is the status of a validator. @@ -612,7 +676,10 @@ impl ::prost::Name for MsgCreateValidator { const NAME: &'static str = "MsgCreateValidator"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgCreateValidator".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgCreateValidator".into() } } /// MsgCreateValidatorResponse defines the Msg/CreateValidator response type. @@ -623,7 +690,10 @@ impl ::prost::Name for MsgCreateValidatorResponse { const NAME: &'static str = "MsgCreateValidatorResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgCreateValidatorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgCreateValidatorResponse".into() } } /// MsgEditValidator defines a SDK message for editing an existing validator. @@ -647,7 +717,10 @@ impl ::prost::Name for MsgEditValidator { const NAME: &'static str = "MsgEditValidator"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgEditValidator".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgEditValidator".into() } } /// MsgEditValidatorResponse defines the Msg/EditValidator response type. @@ -658,7 +731,10 @@ impl ::prost::Name for MsgEditValidatorResponse { const NAME: &'static str = "MsgEditValidatorResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgEditValidatorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgEditValidatorResponse".into() } } /// MsgDelegate defines a SDK message for performing a delegation of coins @@ -677,7 +753,10 @@ impl ::prost::Name for MsgDelegate { const NAME: &'static str = "MsgDelegate"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgDelegate".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgDelegate".into() } } /// MsgDelegateResponse defines the Msg/Delegate response type. @@ -688,7 +767,10 @@ impl ::prost::Name for MsgDelegateResponse { const NAME: &'static str = "MsgDelegateResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgDelegateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgDelegateResponse".into() } } /// MsgBeginRedelegate defines a SDK message for performing a redelegation @@ -709,7 +791,10 @@ impl ::prost::Name for MsgBeginRedelegate { const NAME: &'static str = "MsgBeginRedelegate"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgBeginRedelegate".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgBeginRedelegate".into() } } /// MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. @@ -725,7 +810,10 @@ impl ::prost::Name for MsgBeginRedelegateResponse { const NAME: &'static str = "MsgBeginRedelegateResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgBeginRedelegateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse".into() } } /// MsgUndelegate defines a SDK message for performing an undelegation from a @@ -744,7 +832,10 @@ impl ::prost::Name for MsgUndelegate { const NAME: &'static str = "MsgUndelegate"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgUndelegate".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgUndelegate".into() } } /// MsgUndelegateResponse defines the Msg/Undelegate response type. @@ -760,7 +851,10 @@ impl ::prost::Name for MsgUndelegateResponse { const NAME: &'static str = "MsgUndelegateResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgUndelegateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgUndelegateResponse".into() } } /// MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator @@ -784,7 +878,10 @@ impl ::prost::Name for MsgCancelUnbondingDelegation { const NAME: &'static str = "MsgCancelUnbondingDelegation"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgCancelUnbondingDelegation".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation".into() } } /// MsgCancelUnbondingDelegationResponse @@ -797,7 +894,10 @@ impl ::prost::Name for MsgCancelUnbondingDelegationResponse { const NAME: &'static str = "MsgCancelUnbondingDelegationResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse".into() } } /// MsgUpdateParams is the Msg/UpdateParams request type. @@ -819,7 +919,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the response structure for executing a @@ -833,7 +936,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.MsgUpdateParamsResponse".into() } } /// Generated client implementations. @@ -1646,7 +1752,10 @@ impl ::prost::Name for QueryValidatorsRequest { const NAME: &'static str = "QueryValidatorsRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryValidatorsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryValidatorsRequest".into() } } /// QueryValidatorsResponse is response type for the Query/Validators RPC method @@ -1666,7 +1775,10 @@ impl ::prost::Name for QueryValidatorsResponse { const NAME: &'static str = "QueryValidatorsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryValidatorsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryValidatorsResponse".into() } } /// QueryValidatorRequest is response type for the Query/Validator RPC method @@ -1681,7 +1793,10 @@ impl ::prost::Name for QueryValidatorRequest { const NAME: &'static str = "QueryValidatorRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryValidatorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryValidatorRequest".into() } } /// QueryValidatorResponse is response type for the Query/Validator RPC method @@ -1696,7 +1811,10 @@ impl ::prost::Name for QueryValidatorResponse { const NAME: &'static str = "QueryValidatorResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryValidatorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryValidatorResponse".into() } } /// QueryValidatorDelegationsRequest is request type for the @@ -1717,7 +1835,10 @@ impl ::prost::Name for QueryValidatorDelegationsRequest { const NAME: &'static str = "QueryValidatorDelegationsRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryValidatorDelegationsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest".into() } } /// QueryValidatorDelegationsResponse is response type for the @@ -1737,7 +1858,10 @@ impl ::prost::Name for QueryValidatorDelegationsResponse { const NAME: &'static str = "QueryValidatorDelegationsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryValidatorDelegationsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse".into() } } /// QueryValidatorUnbondingDelegationsRequest is required type for the @@ -1758,7 +1882,10 @@ impl ::prost::Name for QueryValidatorUnbondingDelegationsRequest { const NAME: &'static str = "QueryValidatorUnbondingDelegationsRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest".into() } } /// QueryValidatorUnbondingDelegationsResponse is response type for the @@ -1778,7 +1905,10 @@ impl ::prost::Name for QueryValidatorUnbondingDelegationsResponse { const NAME: &'static str = "QueryValidatorUnbondingDelegationsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse".into() } } /// QueryDelegationRequest is request type for the Query/Delegation RPC method. @@ -1796,7 +1926,10 @@ impl ::prost::Name for QueryDelegationRequest { const NAME: &'static str = "QueryDelegationRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegationRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegationRequest".into() } } /// QueryDelegationResponse is response type for the Query/Delegation RPC method. @@ -1811,7 +1944,10 @@ impl ::prost::Name for QueryDelegationResponse { const NAME: &'static str = "QueryDelegationResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegationResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegationResponse".into() } } /// QueryUnbondingDelegationRequest is request type for the @@ -1830,7 +1966,10 @@ impl ::prost::Name for QueryUnbondingDelegationRequest { const NAME: &'static str = "QueryUnbondingDelegationRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryUnbondingDelegationRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest".into() } } /// QueryDelegationResponse is response type for the Query/UnbondingDelegation @@ -1846,7 +1985,10 @@ impl ::prost::Name for QueryUnbondingDelegationResponse { const NAME: &'static str = "QueryUnbondingDelegationResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryUnbondingDelegationResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse".into() } } /// QueryDelegatorDelegationsRequest is request type for the @@ -1867,7 +2009,10 @@ impl ::prost::Name for QueryDelegatorDelegationsRequest { const NAME: &'static str = "QueryDelegatorDelegationsRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest".into() } } /// QueryDelegatorDelegationsResponse is response type for the @@ -1888,7 +2033,10 @@ impl ::prost::Name for QueryDelegatorDelegationsResponse { const NAME: &'static str = "QueryDelegatorDelegationsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse".into() } } /// QueryDelegatorUnbondingDelegationsRequest is request type for the @@ -1909,7 +2057,10 @@ impl ::prost::Name for QueryDelegatorUnbondingDelegationsRequest { const NAME: &'static str = "QueryDelegatorUnbondingDelegationsRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest".into() } } /// QueryUnbondingDelegatorDelegationsResponse is response type for the @@ -1929,7 +2080,10 @@ impl ::prost::Name for QueryDelegatorUnbondingDelegationsResponse { const NAME: &'static str = "QueryDelegatorUnbondingDelegationsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse".into() } } /// QueryRedelegationsRequest is request type for the Query/Redelegations RPC @@ -1956,7 +2110,10 @@ impl ::prost::Name for QueryRedelegationsRequest { const NAME: &'static str = "QueryRedelegationsRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryRedelegationsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryRedelegationsRequest".into() } } /// QueryRedelegationsResponse is response type for the Query/Redelegations RPC @@ -1976,7 +2133,10 @@ impl ::prost::Name for QueryRedelegationsResponse { const NAME: &'static str = "QueryRedelegationsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryRedelegationsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryRedelegationsResponse".into() } } /// QueryDelegatorValidatorsRequest is request type for the @@ -1997,7 +2157,10 @@ impl ::prost::Name for QueryDelegatorValidatorsRequest { const NAME: &'static str = "QueryDelegatorValidatorsRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest".into() } } /// QueryDelegatorValidatorsResponse is response type for the @@ -2018,7 +2181,10 @@ impl ::prost::Name for QueryDelegatorValidatorsResponse { const NAME: &'static str = "QueryDelegatorValidatorsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse".into() } } /// QueryDelegatorValidatorRequest is request type for the @@ -2037,7 +2203,10 @@ impl ::prost::Name for QueryDelegatorValidatorRequest { const NAME: &'static str = "QueryDelegatorValidatorRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegatorValidatorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest".into() } } /// QueryDelegatorValidatorResponse response type for the @@ -2053,7 +2222,10 @@ impl ::prost::Name for QueryDelegatorValidatorResponse { const NAME: &'static str = "QueryDelegatorValidatorResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryDelegatorValidatorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse".into() } } /// QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC @@ -2069,7 +2241,10 @@ impl ::prost::Name for QueryHistoricalInfoRequest { const NAME: &'static str = "QueryHistoricalInfoRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryHistoricalInfoRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryHistoricalInfoRequest".into() } } /// QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC @@ -2085,7 +2260,10 @@ impl ::prost::Name for QueryHistoricalInfoResponse { const NAME: &'static str = "QueryHistoricalInfoResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryHistoricalInfoResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryHistoricalInfoResponse".into() } } /// QueryPoolRequest is request type for the Query/Pool RPC method. @@ -2096,7 +2274,10 @@ impl ::prost::Name for QueryPoolRequest { const NAME: &'static str = "QueryPoolRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryPoolRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryPoolRequest".into() } } /// QueryPoolResponse is response type for the Query/Pool RPC method. @@ -2111,7 +2292,10 @@ impl ::prost::Name for QueryPoolResponse { const NAME: &'static str = "QueryPoolResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryPoolResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryPoolResponse".into() } } /// QueryParamsRequest is request type for the Query/Params RPC method. @@ -2122,7 +2306,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryParamsRequest".into() } } /// QueryParamsResponse is response type for the Query/Params RPC method. @@ -2137,7 +2324,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.QueryParamsResponse".into() } } /// Generated client implementations. @@ -3621,9 +3811,10 @@ pub mod stake_authorization { const NAME: &'static str = "Validators"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "cosmos.staking.v1beta1.StakeAuthorization.{}", Self::NAME - ) + "cosmos.staking.v1beta1.StakeAuthorization.Validators".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.StakeAuthorization.Validators".into() } } /// validators is the oneof that represents either allow_list or deny_list @@ -3643,7 +3834,10 @@ impl ::prost::Name for StakeAuthorization { const NAME: &'static str = "StakeAuthorization"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.StakeAuthorization".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.StakeAuthorization".into() } } /// AuthorizationType defines the type of staking module authorization type @@ -3719,7 +3913,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.GenesisState".into() } } /// LastValidatorPower required for validator set update logic. @@ -3737,6 +3934,9 @@ impl ::prost::Name for LastValidatorPower { const NAME: &'static str = "LastValidatorPower"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.staking.v1beta1.{}", Self::NAME) + "cosmos.staking.v1beta1.LastValidatorPower".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.staking.v1beta1.LastValidatorPower".into() } } diff --git a/src/prost/cosmos.tx.config.v1.rs b/src/prost/cosmos.tx.config.v1.rs index b79ab2e0..f5ecc33c 100644 --- a/src/prost/cosmos.tx.config.v1.rs +++ b/src/prost/cosmos.tx.config.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Config is the config object of the x/auth/tx package. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -15,6 +16,9 @@ impl ::prost::Name for Config { const NAME: &'static str = "Config"; const PACKAGE: &'static str = "cosmos.tx.config.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.config.v1.{}", Self::NAME) + "cosmos.tx.config.v1.Config".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.config.v1.Config".into() } } diff --git a/src/prost/cosmos.tx.signing.v1beta1.rs b/src/prost/cosmos.tx.signing.v1beta1.rs index 4685364f..0a203e9c 100644 --- a/src/prost/cosmos.tx.signing.v1beta1.rs +++ b/src/prost/cosmos.tx.signing.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// SignatureDescriptors wraps multiple SignatureDescriptor's. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -10,7 +11,10 @@ impl ::prost::Name for SignatureDescriptors { const NAME: &'static str = "SignatureDescriptors"; const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.signing.v1beta1.{}", Self::NAME) + "cosmos.tx.signing.v1beta1.SignatureDescriptors".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.signing.v1beta1.SignatureDescriptors".into() } } /// SignatureDescriptor is a convenience type which represents the full data for @@ -60,9 +64,10 @@ pub mod signature_descriptor { const NAME: &'static str = "Single"; const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.{}", Self::NAME - ) + "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single".into() } } /// Multi is the signature data for a multisig public key @@ -82,9 +87,10 @@ pub mod signature_descriptor { const NAME: &'static str = "Multi"; const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.{}", Self::NAME - ) + "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi".into() } } /// sum is the oneof that specifies whether this represents single or multi-signature data @@ -103,9 +109,10 @@ pub mod signature_descriptor { const NAME: &'static str = "Data"; const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "cosmos.tx.signing.v1beta1.SignatureDescriptor.{}", Self::NAME - ) + "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.signing.v1beta1.SignatureDescriptor.Data".into() } } } @@ -113,7 +120,10 @@ impl ::prost::Name for SignatureDescriptor { const NAME: &'static str = "SignatureDescriptor"; const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.signing.v1beta1.{}", Self::NAME) + "cosmos.tx.signing.v1beta1.SignatureDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.signing.v1beta1.SignatureDescriptor".into() } } /// SignMode represents a signing mode with its own security guarantees. diff --git a/src/prost/cosmos.tx.v1beta1.rs b/src/prost/cosmos.tx.v1beta1.rs index 403722eb..09178daf 100644 --- a/src/prost/cosmos.tx.v1beta1.rs +++ b/src/prost/cosmos.tx.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Tx is the standard type used for broadcasting transactions. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -19,7 +20,10 @@ impl ::prost::Name for Tx { const NAME: &'static str = "Tx"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.Tx".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.Tx".into() } } /// TxRaw is a variant of Tx that pins the signer's exact binary representation @@ -48,7 +52,10 @@ impl ::prost::Name for TxRaw { const NAME: &'static str = "TxRaw"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxRaw".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxRaw".into() } } /// SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. @@ -76,7 +83,10 @@ impl ::prost::Name for SignDoc { const NAME: &'static str = "SignDoc"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.SignDoc".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.SignDoc".into() } } /// SignDocDirectAux is the type used for generating sign bytes for @@ -117,7 +127,10 @@ impl ::prost::Name for SignDocDirectAux { const NAME: &'static str = "SignDocDirectAux"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.SignDocDirectAux".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.SignDocDirectAux".into() } } /// TxBody is the body of a transaction that all signers sign over. @@ -161,7 +174,10 @@ impl ::prost::Name for TxBody { const NAME: &'static str = "TxBody"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxBody".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxBody".into() } } /// AuthInfo describes the fee and signer modes that are used to sign a @@ -194,7 +210,10 @@ impl ::prost::Name for AuthInfo { const NAME: &'static str = "AuthInfo"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.AuthInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.AuthInfo".into() } } /// SignerInfo describes the public key and signing mode of a single top-level @@ -221,7 +240,10 @@ impl ::prost::Name for SignerInfo { const NAME: &'static str = "SignerInfo"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.SignerInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.SignerInfo".into() } } /// ModeInfo describes the signing mode of a single or nested multisig signer. @@ -249,7 +271,10 @@ pub mod mode_info { const NAME: &'static str = "Single"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.ModeInfo.{}", Self::NAME) + "cosmos.tx.v1beta1.ModeInfo.Single".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.ModeInfo.Single".into() } } /// Multi is the mode info for a multisig public key @@ -270,7 +295,10 @@ pub mod mode_info { const NAME: &'static str = "Multi"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.ModeInfo.{}", Self::NAME) + "cosmos.tx.v1beta1.ModeInfo.Multi".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.ModeInfo.Multi".into() } } /// sum is the oneof that specifies whether this represents a single or nested @@ -290,7 +318,10 @@ impl ::prost::Name for ModeInfo { const NAME: &'static str = "ModeInfo"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.ModeInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.ModeInfo".into() } } /// Fee includes the amount of coins paid in fees and the maximum @@ -321,7 +352,10 @@ impl ::prost::Name for Fee { const NAME: &'static str = "Fee"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.Fee".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.Fee".into() } } /// Tip is the tip used for meta-transactions. @@ -341,7 +375,10 @@ impl ::prost::Name for Tip { const NAME: &'static str = "Tip"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.Tip".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.Tip".into() } } /// AuxSignerData is the intermediary format that an auxiliary signer (e.g. a @@ -374,7 +411,10 @@ impl ::prost::Name for AuxSignerData { const NAME: &'static str = "AuxSignerData"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.AuxSignerData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.AuxSignerData".into() } } /// GetTxsEventRequest is the request type for the Service.TxsByEvents @@ -406,7 +446,10 @@ impl ::prost::Name for GetTxsEventRequest { const NAME: &'static str = "GetTxsEventRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.GetTxsEventRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.GetTxsEventRequest".into() } } /// GetTxsEventResponse is the response type for the Service.TxsByEvents @@ -437,7 +480,10 @@ impl ::prost::Name for GetTxsEventResponse { const NAME: &'static str = "GetTxsEventResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.GetTxsEventResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.GetTxsEventResponse".into() } } /// BroadcastTxRequest is the request type for the Service.BroadcastTxRequest @@ -455,7 +501,10 @@ impl ::prost::Name for BroadcastTxRequest { const NAME: &'static str = "BroadcastTxRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.BroadcastTxRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.BroadcastTxRequest".into() } } /// BroadcastTxResponse is the response type for the @@ -473,7 +522,10 @@ impl ::prost::Name for BroadcastTxResponse { const NAME: &'static str = "BroadcastTxResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.BroadcastTxResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.BroadcastTxResponse".into() } } /// SimulateRequest is the request type for the Service.Simulate @@ -496,7 +548,10 @@ impl ::prost::Name for SimulateRequest { const NAME: &'static str = "SimulateRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.SimulateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.SimulateRequest".into() } } /// SimulateResponse is the response type for the @@ -515,7 +570,10 @@ impl ::prost::Name for SimulateResponse { const NAME: &'static str = "SimulateResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.SimulateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.SimulateResponse".into() } } /// GetTxRequest is the request type for the Service.GetTx @@ -531,7 +589,10 @@ impl ::prost::Name for GetTxRequest { const NAME: &'static str = "GetTxRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.GetTxRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.GetTxRequest".into() } } /// GetTxResponse is the response type for the Service.GetTx method. @@ -551,7 +612,10 @@ impl ::prost::Name for GetTxResponse { const NAME: &'static str = "GetTxResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.GetTxResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.GetTxResponse".into() } } /// GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs @@ -574,7 +638,10 @@ impl ::prost::Name for GetBlockWithTxsRequest { const NAME: &'static str = "GetBlockWithTxsRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.GetBlockWithTxsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.GetBlockWithTxsRequest".into() } } /// GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. @@ -600,7 +667,10 @@ impl ::prost::Name for GetBlockWithTxsResponse { const NAME: &'static str = "GetBlockWithTxsResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.GetBlockWithTxsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.GetBlockWithTxsResponse".into() } } /// TxDecodeRequest is the request type for the Service.TxDecode @@ -618,7 +688,10 @@ impl ::prost::Name for TxDecodeRequest { const NAME: &'static str = "TxDecodeRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxDecodeRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxDecodeRequest".into() } } /// TxDecodeResponse is the response type for the @@ -636,7 +709,10 @@ impl ::prost::Name for TxDecodeResponse { const NAME: &'static str = "TxDecodeResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxDecodeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxDecodeResponse".into() } } /// TxEncodeRequest is the request type for the Service.TxEncode @@ -654,7 +730,10 @@ impl ::prost::Name for TxEncodeRequest { const NAME: &'static str = "TxEncodeRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxEncodeRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxEncodeRequest".into() } } /// TxEncodeResponse is the response type for the @@ -672,7 +751,10 @@ impl ::prost::Name for TxEncodeResponse { const NAME: &'static str = "TxEncodeResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxEncodeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxEncodeResponse".into() } } /// TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino @@ -689,7 +771,10 @@ impl ::prost::Name for TxEncodeAminoRequest { const NAME: &'static str = "TxEncodeAminoRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxEncodeAminoRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxEncodeAminoRequest".into() } } /// TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino @@ -706,7 +791,10 @@ impl ::prost::Name for TxEncodeAminoResponse { const NAME: &'static str = "TxEncodeAminoResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxEncodeAminoResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxEncodeAminoResponse".into() } } /// TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino @@ -723,7 +811,10 @@ impl ::prost::Name for TxDecodeAminoRequest { const NAME: &'static str = "TxDecodeAminoRequest"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxDecodeAminoRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxDecodeAminoRequest".into() } } /// TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino @@ -740,7 +831,10 @@ impl ::prost::Name for TxDecodeAminoResponse { const NAME: &'static str = "TxDecodeAminoResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.tx.v1beta1.{}", Self::NAME) + "cosmos.tx.v1beta1.TxDecodeAminoResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.tx.v1beta1.TxDecodeAminoResponse".into() } } /// OrderBy defines the sorting order diff --git a/src/prost/cosmos.upgrade.module.v1.rs b/src/prost/cosmos.upgrade.module.v1.rs index 198df468..f2db33dd 100644 --- a/src/prost/cosmos.upgrade.module.v1.rs +++ b/src/prost/cosmos.upgrade.module.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Module is the config object of the upgrade module. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -10,6 +11,9 @@ impl ::prost::Name for Module { const NAME: &'static str = "Module"; const PACKAGE: &'static str = "cosmos.upgrade.module.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.module.v1.{}", Self::NAME) + "cosmos.upgrade.module.v1.Module".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.module.v1.Module".into() } } diff --git a/src/prost/cosmos.upgrade.v1beta1.rs b/src/prost/cosmos.upgrade.v1beta1.rs index 2bb5cab7..7905f803 100644 --- a/src/prost/cosmos.upgrade.v1beta1.rs +++ b/src/prost/cosmos.upgrade.v1beta1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Plan specifies information about a planned upgrade and when it should occur. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -37,7 +38,10 @@ impl ::prost::Name for Plan { const NAME: &'static str = "Plan"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.Plan".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.Plan".into() } } /// SoftwareUpgradeProposal is a gov Content type for initiating a software @@ -61,7 +65,10 @@ impl ::prost::Name for SoftwareUpgradeProposal { const NAME: &'static str = "SoftwareUpgradeProposal"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.SoftwareUpgradeProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal".into() } } /// CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software @@ -82,7 +89,10 @@ impl ::prost::Name for CancelSoftwareUpgradeProposal { const NAME: &'static str = "CancelSoftwareUpgradeProposal"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal".into() } } /// ModuleVersion specifies a module and its consensus version. @@ -102,7 +112,10 @@ impl ::prost::Name for ModuleVersion { const NAME: &'static str = "ModuleVersion"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.ModuleVersion".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.ModuleVersion".into() } } /// MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. @@ -122,7 +135,10 @@ impl ::prost::Name for MsgSoftwareUpgrade { const NAME: &'static str = "MsgSoftwareUpgrade"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.MsgSoftwareUpgrade".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade".into() } } /// MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. @@ -135,7 +151,10 @@ impl ::prost::Name for MsgSoftwareUpgradeResponse { const NAME: &'static str = "MsgSoftwareUpgradeResponse"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse".into() } } /// MsgCancelUpgrade is the Msg/CancelUpgrade request type. @@ -152,7 +171,10 @@ impl ::prost::Name for MsgCancelUpgrade { const NAME: &'static str = "MsgCancelUpgrade"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.MsgCancelUpgrade".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.MsgCancelUpgrade".into() } } /// MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. @@ -165,7 +187,10 @@ impl ::prost::Name for MsgCancelUpgradeResponse { const NAME: &'static str = "MsgCancelUpgradeResponse"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse".into() } } /// Generated client implementations. @@ -564,7 +589,10 @@ impl ::prost::Name for QueryCurrentPlanRequest { const NAME: &'static str = "QueryCurrentPlanRequest"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryCurrentPlanRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryCurrentPlanRequest".into() } } /// QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC @@ -580,7 +608,10 @@ impl ::prost::Name for QueryCurrentPlanResponse { const NAME: &'static str = "QueryCurrentPlanResponse"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryCurrentPlanResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse".into() } } /// QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC @@ -596,7 +627,10 @@ impl ::prost::Name for QueryAppliedPlanRequest { const NAME: &'static str = "QueryAppliedPlanRequest"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryAppliedPlanRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryAppliedPlanRequest".into() } } /// QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC @@ -612,7 +646,10 @@ impl ::prost::Name for QueryAppliedPlanResponse { const NAME: &'static str = "QueryAppliedPlanResponse"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryAppliedPlanResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse".into() } } /// QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState @@ -629,7 +666,10 @@ impl ::prost::Name for QueryUpgradedConsensusStateRequest { const NAME: &'static str = "QueryUpgradedConsensusStateRequest"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest".into() } } /// QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState @@ -645,7 +685,10 @@ impl ::prost::Name for QueryUpgradedConsensusStateResponse { const NAME: &'static str = "QueryUpgradedConsensusStateResponse"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse".into() } } /// QueryModuleVersionsRequest is the request type for the Query/ModuleVersions @@ -665,7 +708,10 @@ impl ::prost::Name for QueryModuleVersionsRequest { const NAME: &'static str = "QueryModuleVersionsRequest"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryModuleVersionsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryModuleVersionsRequest".into() } } /// QueryModuleVersionsResponse is the response type for the Query/ModuleVersions @@ -683,7 +729,10 @@ impl ::prost::Name for QueryModuleVersionsResponse { const NAME: &'static str = "QueryModuleVersionsResponse"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryModuleVersionsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse".into() } } /// QueryAuthorityRequest is the request type for Query/Authority @@ -696,7 +745,10 @@ impl ::prost::Name for QueryAuthorityRequest { const NAME: &'static str = "QueryAuthorityRequest"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryAuthorityRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryAuthorityRequest".into() } } /// QueryAuthorityResponse is the response type for Query/Authority @@ -712,7 +764,10 @@ impl ::prost::Name for QueryAuthorityResponse { const NAME: &'static str = "QueryAuthorityResponse"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos.upgrade.v1beta1.{}", Self::NAME) + "cosmos.upgrade.v1beta1.QueryAuthorityResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos.upgrade.v1beta1.QueryAuthorityResponse".into() } } /// Generated client implementations. diff --git a/src/prost/cosmos_proto.rs b/src/prost/cosmos_proto.rs index 053c6d52..e45172e7 100644 --- a/src/prost/cosmos_proto.rs +++ b/src/prost/cosmos_proto.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// InterfaceDescriptor describes an interface type to be used with /// accepts_interface and implements_interface and declared by declare_interface. #[allow(clippy::derive_partial_eq_without_eq)] @@ -18,7 +19,10 @@ impl ::prost::Name for InterfaceDescriptor { const NAME: &'static str = "InterfaceDescriptor"; const PACKAGE: &'static str = "cosmos_proto"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos_proto.{}", Self::NAME) + "cosmos_proto.InterfaceDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos_proto.InterfaceDescriptor".into() } } /// ScalarDescriptor describes an scalar type to be used with @@ -53,7 +57,10 @@ impl ::prost::Name for ScalarDescriptor { const NAME: &'static str = "ScalarDescriptor"; const PACKAGE: &'static str = "cosmos_proto"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("cosmos_proto.{}", Self::NAME) + "cosmos_proto.ScalarDescriptor".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/cosmos_proto.ScalarDescriptor".into() } } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] diff --git a/src/prost/google.api.rs b/src/prost/google.api.rs index 5aa04075..08318f49 100644 --- a/src/prost/google.api.rs +++ b/src/prost/google.api.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Defines the HTTP configuration for an API service. It contains a list of /// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method /// to one or more HTTP REST API methods. @@ -22,7 +23,10 @@ impl ::prost::Name for Http { const NAME: &'static str = "Http"; const PACKAGE: &'static str = "google.api"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.api.{}", Self::NAME) + "google.api.Http".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.api.Http".into() } } /// # gRPC Transcoding @@ -369,7 +373,10 @@ impl ::prost::Name for HttpRule { const NAME: &'static str = "HttpRule"; const PACKAGE: &'static str = "google.api"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.api.{}", Self::NAME) + "google.api.HttpRule".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.api.HttpRule".into() } } /// A custom pattern is used for defining custom HTTP verb. @@ -387,6 +394,9 @@ impl ::prost::Name for CustomHttpPattern { const NAME: &'static str = "CustomHttpPattern"; const PACKAGE: &'static str = "google.api"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.api.{}", Self::NAME) + "google.api.CustomHttpPattern".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.api.CustomHttpPattern".into() } } diff --git a/src/prost/google.protobuf.rs b/src/prost/google.protobuf.rs index 3f43790e..38e34273 100644 --- a/src/prost/google.protobuf.rs +++ b/src/prost/google.protobuf.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// `Any` contains an arbitrary serialized protocol buffer message along with a /// URL that describes the type of the serialized message. /// @@ -131,7 +132,10 @@ impl ::prost::Name for Any { const NAME: &'static str = "Any"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.Any".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.Any".into() } } /// The protocol compiler can output a FileDescriptorSet containing the .proto @@ -146,7 +150,10 @@ impl ::prost::Name for FileDescriptorSet { const NAME: &'static str = "FileDescriptorSet"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.FileDescriptorSet".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FileDescriptorSet".into() } } /// Describes a complete .proto file. @@ -200,7 +207,10 @@ impl ::prost::Name for FileDescriptorProto { const NAME: &'static str = "FileDescriptorProto"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.FileDescriptorProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FileDescriptorProto".into() } } /// Describes a message type. @@ -248,7 +258,10 @@ pub mod descriptor_proto { const NAME: &'static str = "ExtensionRange"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.DescriptorProto.{}", Self::NAME) + "google.protobuf.DescriptorProto.ExtensionRange".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.DescriptorProto.ExtensionRange".into() } } /// Range of reserved tag numbers. Reserved tag numbers may not be used by @@ -268,7 +281,10 @@ pub mod descriptor_proto { const NAME: &'static str = "ReservedRange"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.DescriptorProto.{}", Self::NAME) + "google.protobuf.DescriptorProto.ReservedRange".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.DescriptorProto.ReservedRange".into() } } } @@ -276,7 +292,10 @@ impl ::prost::Name for DescriptorProto { const NAME: &'static str = "DescriptorProto"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.DescriptorProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.DescriptorProto".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -335,9 +354,10 @@ pub mod extension_range_options { const NAME: &'static str = "Declaration"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "google.protobuf.ExtensionRangeOptions.{}", Self::NAME - ) + "google.protobuf.ExtensionRangeOptions.Declaration".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.ExtensionRangeOptions.Declaration".into() } } /// The verification state of the extension range. @@ -383,7 +403,10 @@ impl ::prost::Name for ExtensionRangeOptions { const NAME: &'static str = "ExtensionRangeOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.ExtensionRangeOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.ExtensionRangeOptions".into() } } /// Describes a field within a message. @@ -602,7 +625,10 @@ impl ::prost::Name for FieldDescriptorProto { const NAME: &'static str = "FieldDescriptorProto"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.FieldDescriptorProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FieldDescriptorProto".into() } } /// Describes a oneof. @@ -618,7 +644,10 @@ impl ::prost::Name for OneofDescriptorProto { const NAME: &'static str = "OneofDescriptorProto"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.OneofDescriptorProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.OneofDescriptorProto".into() } } /// Describes an enum type. @@ -665,7 +694,10 @@ pub mod enum_descriptor_proto { const NAME: &'static str = "EnumReservedRange"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.EnumDescriptorProto.{}", Self::NAME) + "google.protobuf.EnumDescriptorProto.EnumReservedRange".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.EnumDescriptorProto.EnumReservedRange".into() } } } @@ -673,7 +705,10 @@ impl ::prost::Name for EnumDescriptorProto { const NAME: &'static str = "EnumDescriptorProto"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.EnumDescriptorProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.EnumDescriptorProto".into() } } /// Describes a value within an enum. @@ -691,7 +726,10 @@ impl ::prost::Name for EnumValueDescriptorProto { const NAME: &'static str = "EnumValueDescriptorProto"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.EnumValueDescriptorProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.EnumValueDescriptorProto".into() } } /// Describes a service. @@ -709,7 +747,10 @@ impl ::prost::Name for ServiceDescriptorProto { const NAME: &'static str = "ServiceDescriptorProto"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.ServiceDescriptorProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.ServiceDescriptorProto".into() } } /// Describes a method of a service. @@ -737,7 +778,10 @@ impl ::prost::Name for MethodDescriptorProto { const NAME: &'static str = "MethodDescriptorProto"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.MethodDescriptorProto".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.MethodDescriptorProto".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -908,7 +952,10 @@ impl ::prost::Name for FileOptions { const NAME: &'static str = "FileOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.FileOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FileOptions".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -992,7 +1039,10 @@ impl ::prost::Name for MessageOptions { const NAME: &'static str = "MessageOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.MessageOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.MessageOptions".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1113,7 +1163,10 @@ pub mod field_options { const NAME: &'static str = "EditionDefault"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.FieldOptions.{}", Self::NAME) + "google.protobuf.FieldOptions.EditionDefault".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FieldOptions.EditionDefault".into() } } #[derive( @@ -1317,7 +1370,10 @@ impl ::prost::Name for FieldOptions { const NAME: &'static str = "FieldOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.FieldOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FieldOptions".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1334,7 +1390,10 @@ impl ::prost::Name for OneofOptions { const NAME: &'static str = "OneofOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.OneofOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.OneofOptions".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1370,7 +1429,10 @@ impl ::prost::Name for EnumOptions { const NAME: &'static str = "EnumOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.EnumOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.EnumOptions".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1398,7 +1460,10 @@ impl ::prost::Name for EnumValueOptions { const NAME: &'static str = "EnumValueOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.EnumValueOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.EnumValueOptions".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1421,7 +1486,10 @@ impl ::prost::Name for ServiceOptions { const NAME: &'static str = "ServiceOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.ServiceOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.ServiceOptions".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1498,7 +1566,10 @@ impl ::prost::Name for MethodOptions { const NAME: &'static str = "MethodOptions"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.MethodOptions".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.MethodOptions".into() } } /// A message representing a option the parser does not recognize. This only @@ -1546,7 +1617,10 @@ pub mod uninterpreted_option { const NAME: &'static str = "NamePart"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.UninterpretedOption.{}", Self::NAME) + "google.protobuf.UninterpretedOption.NamePart".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.UninterpretedOption.NamePart".into() } } } @@ -1554,7 +1628,10 @@ impl ::prost::Name for UninterpretedOption { const NAME: &'static str = "UninterpretedOption"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.UninterpretedOption".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.UninterpretedOption".into() } } /// TODO Enums in C++ gencode (and potentially other languages) are @@ -1823,7 +1900,10 @@ impl ::prost::Name for FeatureSet { const NAME: &'static str = "FeatureSet"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.FeatureSet".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FeatureSet".into() } } /// A compiled specification for the defaults of a set of features. These @@ -1864,7 +1944,10 @@ pub mod feature_set_defaults { const NAME: &'static str = "FeatureSetEditionDefault"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.FeatureSetDefaults.{}", Self::NAME) + "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault".into() } } } @@ -1872,7 +1955,10 @@ impl ::prost::Name for FeatureSetDefaults { const NAME: &'static str = "FeatureSetDefaults"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.FeatureSetDefaults".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.FeatureSetDefaults".into() } } /// Encapsulates information about the original source file from which a @@ -2023,7 +2109,10 @@ pub mod source_code_info { const NAME: &'static str = "Location"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.SourceCodeInfo.{}", Self::NAME) + "google.protobuf.SourceCodeInfo.Location".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.SourceCodeInfo.Location".into() } } } @@ -2031,7 +2120,10 @@ impl ::prost::Name for SourceCodeInfo { const NAME: &'static str = "SourceCodeInfo"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.SourceCodeInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.SourceCodeInfo".into() } } /// Describes the relationship between generated code and its original source @@ -2120,7 +2212,10 @@ pub mod generated_code_info { const NAME: &'static str = "Annotation"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.GeneratedCodeInfo.{}", Self::NAME) + "google.protobuf.GeneratedCodeInfo.Annotation".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.GeneratedCodeInfo.Annotation".into() } } } @@ -2128,7 +2223,10 @@ impl ::prost::Name for GeneratedCodeInfo { const NAME: &'static str = "GeneratedCodeInfo"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.GeneratedCodeInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.GeneratedCodeInfo".into() } } /// The full set of known editions. @@ -2307,7 +2405,10 @@ impl ::prost::Name for Timestamp { const NAME: &'static str = "Timestamp"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.Timestamp".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.Timestamp".into() } } /// A Duration represents a signed, fixed-length span of time represented @@ -2391,6 +2492,9 @@ impl ::prost::Name for Duration { const NAME: &'static str = "Duration"; const PACKAGE: &'static str = "google.protobuf"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("google.protobuf.{}", Self::NAME) + "google.protobuf.Duration".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/google.protobuf.Duration".into() } } diff --git a/src/prost/ibc.applications.fee.v1.rs b/src/prost/ibc.applications.fee.v1.rs index 9d798dce..2356f565 100644 --- a/src/prost/ibc.applications.fee.v1.rs +++ b/src/prost/ibc.applications.fee.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Fee defines the ICS29 receive, acknowledgement and timeout fees #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -22,7 +23,10 @@ impl ::prost::Name for Fee { const NAME: &'static str = "Fee"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.Fee".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.Fee".into() } } /// PacketFee contains ICS29 relayer fees, refund address and optional list of permitted relayers @@ -43,7 +47,10 @@ impl ::prost::Name for PacketFee { const NAME: &'static str = "PacketFee"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.PacketFee".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.PacketFee".into() } } /// PacketFees contains a list of type PacketFee @@ -58,7 +65,10 @@ impl ::prost::Name for PacketFees { const NAME: &'static str = "PacketFees"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.PacketFees".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.PacketFees".into() } } /// IdentifiedPacketFees contains a list of type PacketFee and associated PacketId @@ -78,7 +88,10 @@ impl ::prost::Name for IdentifiedPacketFees { const NAME: &'static str = "IdentifiedPacketFees"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.IdentifiedPacketFees".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.IdentifiedPacketFees".into() } } /// MsgRegisterPayee defines the request type for the RegisterPayee rpc @@ -102,7 +115,10 @@ impl ::prost::Name for MsgRegisterPayee { const NAME: &'static str = "MsgRegisterPayee"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.MsgRegisterPayee".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.MsgRegisterPayee".into() } } /// MsgRegisterPayeeResponse defines the response type for the RegisterPayee rpc @@ -113,7 +129,10 @@ impl ::prost::Name for MsgRegisterPayeeResponse { const NAME: &'static str = "MsgRegisterPayeeResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.MsgRegisterPayeeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.MsgRegisterPayeeResponse".into() } } /// MsgRegisterCounterpartyPayee defines the request type for the RegisterCounterpartyPayee rpc @@ -137,7 +156,10 @@ impl ::prost::Name for MsgRegisterCounterpartyPayee { const NAME: &'static str = "MsgRegisterCounterpartyPayee"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.MsgRegisterCounterpartyPayee".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.MsgRegisterCounterpartyPayee".into() } } /// MsgRegisterCounterpartyPayeeResponse defines the response type for the RegisterCounterpartyPayee rpc @@ -148,7 +170,10 @@ impl ::prost::Name for MsgRegisterCounterpartyPayeeResponse { const NAME: &'static str = "MsgRegisterCounterpartyPayeeResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse".into() } } /// MsgPayPacketFee defines the request type for the PayPacketFee rpc @@ -177,7 +202,10 @@ impl ::prost::Name for MsgPayPacketFee { const NAME: &'static str = "MsgPayPacketFee"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.MsgPayPacketFee".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.MsgPayPacketFee".into() } } /// MsgPayPacketFeeResponse defines the response type for the PayPacketFee rpc @@ -188,7 +216,10 @@ impl ::prost::Name for MsgPayPacketFeeResponse { const NAME: &'static str = "MsgPayPacketFeeResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.MsgPayPacketFeeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.MsgPayPacketFeeResponse".into() } } /// MsgPayPacketFeeAsync defines the request type for the PayPacketFeeAsync rpc @@ -209,7 +240,10 @@ impl ::prost::Name for MsgPayPacketFeeAsync { const NAME: &'static str = "MsgPayPacketFeeAsync"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.MsgPayPacketFeeAsync".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.MsgPayPacketFeeAsync".into() } } /// MsgPayPacketFeeAsyncResponse defines the response type for the PayPacketFeeAsync rpc @@ -220,7 +254,10 @@ impl ::prost::Name for MsgPayPacketFeeAsyncResponse { const NAME: &'static str = "MsgPayPacketFeeAsyncResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse".into() } } /// Generated client implementations. @@ -810,7 +847,10 @@ impl ::prost::Name for IncentivizedAcknowledgement { const NAME: &'static str = "IncentivizedAcknowledgement"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.IncentivizedAcknowledgement".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.IncentivizedAcknowledgement".into() } } /// GenesisState defines the ICS29 fee middleware genesis state @@ -839,7 +879,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.GenesisState".into() } } /// FeeEnabledChannel contains the PortID & ChannelID for a fee enabled channel @@ -857,7 +900,10 @@ impl ::prost::Name for FeeEnabledChannel { const NAME: &'static str = "FeeEnabledChannel"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.FeeEnabledChannel".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.FeeEnabledChannel".into() } } /// RegisteredPayee contains the relayer address and payee address for a specific channel @@ -878,7 +924,10 @@ impl ::prost::Name for RegisteredPayee { const NAME: &'static str = "RegisteredPayee"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.RegisteredPayee".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.RegisteredPayee".into() } } /// RegisteredCounterpartyPayee contains the relayer address and counterparty payee address for a specific channel (used @@ -900,7 +949,10 @@ impl ::prost::Name for RegisteredCounterpartyPayee { const NAME: &'static str = "RegisteredCounterpartyPayee"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.RegisteredCounterpartyPayee".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.RegisteredCounterpartyPayee".into() } } /// ForwardRelayerAddress contains the forward relayer address and PacketId used for async acknowledgements @@ -920,7 +972,10 @@ impl ::prost::Name for ForwardRelayerAddress { const NAME: &'static str = "ForwardRelayerAddress"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.ForwardRelayerAddress".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.ForwardRelayerAddress".into() } } /// QueryIncentivizedPacketsRequest defines the request type for the IncentivizedPackets rpc @@ -940,7 +995,10 @@ impl ::prost::Name for QueryIncentivizedPacketsRequest { const NAME: &'static str = "QueryIncentivizedPacketsRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryIncentivizedPacketsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryIncentivizedPacketsRequest".into() } } /// QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPackets rpc @@ -960,7 +1018,10 @@ impl ::prost::Name for QueryIncentivizedPacketsResponse { const NAME: &'static str = "QueryIncentivizedPacketsResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryIncentivizedPacketsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryIncentivizedPacketsResponse".into() } } /// QueryIncentivizedPacketRequest defines the request type for the IncentivizedPacket rpc @@ -980,7 +1041,10 @@ impl ::prost::Name for QueryIncentivizedPacketRequest { const NAME: &'static str = "QueryIncentivizedPacketRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryIncentivizedPacketRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryIncentivizedPacketRequest".into() } } /// QueryIncentivizedPacketsResponse defines the response type for the IncentivizedPacket rpc @@ -995,7 +1059,10 @@ impl ::prost::Name for QueryIncentivizedPacketResponse { const NAME: &'static str = "QueryIncentivizedPacketResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryIncentivizedPacketResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryIncentivizedPacketResponse".into() } } /// QueryIncentivizedPacketsForChannelRequest defines the request type for querying for all incentivized packets @@ -1020,7 +1087,10 @@ impl ::prost::Name for QueryIncentivizedPacketsForChannelRequest { const NAME: &'static str = "QueryIncentivizedPacketsForChannelRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelRequest".into() } } /// QueryIncentivizedPacketsResponse defines the response type for the incentivized packets RPC @@ -1040,7 +1110,10 @@ impl ::prost::Name for QueryIncentivizedPacketsForChannelResponse { const NAME: &'static str = "QueryIncentivizedPacketsForChannelResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryIncentivizedPacketsForChannelResponse".into() } } /// QueryTotalRecvFeesRequest defines the request type for the TotalRecvFees rpc @@ -1057,7 +1130,10 @@ impl ::prost::Name for QueryTotalRecvFeesRequest { const NAME: &'static str = "QueryTotalRecvFeesRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryTotalRecvFeesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryTotalRecvFeesRequest".into() } } /// QueryTotalRecvFeesResponse defines the response type for the TotalRecvFees rpc @@ -1074,7 +1150,10 @@ impl ::prost::Name for QueryTotalRecvFeesResponse { const NAME: &'static str = "QueryTotalRecvFeesResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryTotalRecvFeesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryTotalRecvFeesResponse".into() } } /// QueryTotalAckFeesRequest defines the request type for the TotalAckFees rpc @@ -1091,7 +1170,10 @@ impl ::prost::Name for QueryTotalAckFeesRequest { const NAME: &'static str = "QueryTotalAckFeesRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryTotalAckFeesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryTotalAckFeesRequest".into() } } /// QueryTotalAckFeesResponse defines the response type for the TotalAckFees rpc @@ -1108,7 +1190,10 @@ impl ::prost::Name for QueryTotalAckFeesResponse { const NAME: &'static str = "QueryTotalAckFeesResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryTotalAckFeesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryTotalAckFeesResponse".into() } } /// QueryTotalTimeoutFeesRequest defines the request type for the TotalTimeoutFees rpc @@ -1125,7 +1210,10 @@ impl ::prost::Name for QueryTotalTimeoutFeesRequest { const NAME: &'static str = "QueryTotalTimeoutFeesRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryTotalTimeoutFeesRequest".into() } } /// QueryTotalTimeoutFeesResponse defines the response type for the TotalTimeoutFees rpc @@ -1142,7 +1230,10 @@ impl ::prost::Name for QueryTotalTimeoutFeesResponse { const NAME: &'static str = "QueryTotalTimeoutFeesResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryTotalTimeoutFeesResponse".into() } } /// QueryPayeeRequest defines the request type for the Payee rpc @@ -1160,7 +1251,10 @@ impl ::prost::Name for QueryPayeeRequest { const NAME: &'static str = "QueryPayeeRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryPayeeRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryPayeeRequest".into() } } /// QueryPayeeResponse defines the response type for the Payee rpc @@ -1175,7 +1269,10 @@ impl ::prost::Name for QueryPayeeResponse { const NAME: &'static str = "QueryPayeeResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryPayeeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryPayeeResponse".into() } } /// QueryCounterpartyPayeeRequest defines the request type for the CounterpartyPayee rpc @@ -1193,7 +1290,10 @@ impl ::prost::Name for QueryCounterpartyPayeeRequest { const NAME: &'static str = "QueryCounterpartyPayeeRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryCounterpartyPayeeRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryCounterpartyPayeeRequest".into() } } /// QueryCounterpartyPayeeResponse defines the response type for the CounterpartyPayee rpc @@ -1208,7 +1308,10 @@ impl ::prost::Name for QueryCounterpartyPayeeResponse { const NAME: &'static str = "QueryCounterpartyPayeeResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryCounterpartyPayeeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryCounterpartyPayeeResponse".into() } } /// QueryFeeEnabledChannelsRequest defines the request type for the FeeEnabledChannels rpc @@ -1228,7 +1331,10 @@ impl ::prost::Name for QueryFeeEnabledChannelsRequest { const NAME: &'static str = "QueryFeeEnabledChannelsRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryFeeEnabledChannelsRequest".into() } } /// QueryFeeEnabledChannelsResponse defines the response type for the FeeEnabledChannels rpc @@ -1248,7 +1354,10 @@ impl ::prost::Name for QueryFeeEnabledChannelsResponse { const NAME: &'static str = "QueryFeeEnabledChannelsResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryFeeEnabledChannelsResponse".into() } } /// QueryFeeEnabledChannelRequest defines the request type for the FeeEnabledChannel rpc @@ -1266,7 +1375,10 @@ impl ::prost::Name for QueryFeeEnabledChannelRequest { const NAME: &'static str = "QueryFeeEnabledChannelRequest"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryFeeEnabledChannelRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryFeeEnabledChannelRequest".into() } } /// QueryFeeEnabledChannelResponse defines the response type for the FeeEnabledChannel rpc @@ -1281,7 +1393,10 @@ impl ::prost::Name for QueryFeeEnabledChannelResponse { const NAME: &'static str = "QueryFeeEnabledChannelResponse"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.QueryFeeEnabledChannelResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.QueryFeeEnabledChannelResponse".into() } } /// Generated client implementations. @@ -2362,6 +2477,9 @@ impl ::prost::Name for Metadata { const NAME: &'static str = "Metadata"; const PACKAGE: &'static str = "ibc.applications.fee.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.fee.v1.{}", Self::NAME) + "ibc.applications.fee.v1.Metadata".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.fee.v1.Metadata".into() } } diff --git a/src/prost/ibc.applications.interchain_accounts.controller.v1.rs b/src/prost/ibc.applications.interchain_accounts.controller.v1.rs index 81fe9836..66df4b1e 100644 --- a/src/prost/ibc.applications.interchain_accounts.controller.v1.rs +++ b/src/prost/ibc.applications.interchain_accounts.controller.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Params defines the set of on-chain interchain accounts parameters. /// The following parameters may be used to disable the controller submodule. #[allow(clippy::derive_partial_eq_without_eq)] @@ -11,9 +12,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.Params".into() } } /// MsgRegisterInterchainAccount defines the payload for Msg/RegisterAccount @@ -36,9 +38,12 @@ impl ::prost::Name for MsgRegisterInterchainAccount { const NAME: &'static str = "MsgRegisterInterchainAccount"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount" + .into() } } /// MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount @@ -54,9 +59,12 @@ impl ::prost::Name for MsgRegisterInterchainAccountResponse { const NAME: &'static str = "MsgRegisterInterchainAccountResponse"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse" + .into() } } /// MsgSendTx defines the payload for Msg/SendTx @@ -80,9 +88,10 @@ impl ::prost::Name for MsgSendTx { const NAME: &'static str = "MsgSendTx"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.MsgSendTx".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx".into() } } /// MsgSendTxResponse defines the response for MsgSendTx @@ -96,9 +105,10 @@ impl ::prost::Name for MsgSendTxResponse { const NAME: &'static str = "MsgSendTxResponse"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse".into() } } /// MsgUpdateParams defines the payload for Msg/UpdateParams @@ -118,9 +128,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the response for Msg/UpdateParams @@ -131,9 +142,12 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse" + .into() } } /// Generated client implementations. @@ -620,9 +634,12 @@ impl ::prost::Name for QueryInterchainAccountRequest { const NAME: &'static str = "QueryInterchainAccountRequest"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountRequest" + .into() } } /// QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method. @@ -636,9 +653,12 @@ impl ::prost::Name for QueryInterchainAccountResponse { const NAME: &'static str = "QueryInterchainAccountResponse"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse" + .into() } } /// QueryParamsRequest is the request type for the Query/Params RPC method. @@ -649,9 +669,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.QueryParamsRequest".into() } } /// QueryParamsResponse is the response type for the Query/Params RPC method. @@ -666,9 +687,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.controller.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.controller.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse".into() } } /// Generated client implementations. diff --git a/src/prost/ibc.applications.interchain_accounts.genesis.v1.rs b/src/prost/ibc.applications.interchain_accounts.genesis.v1.rs index 10b5ab8c..3ea8e3a5 100644 --- a/src/prost/ibc.applications.interchain_accounts.genesis.v1.rs +++ b/src/prost/ibc.applications.interchain_accounts.genesis.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// GenesisState defines the interchain accounts genesis state #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -11,9 +12,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.genesis.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.genesis.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.genesis.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.genesis.v1.GenesisState".into() } } /// ControllerGenesisState defines the interchain accounts controller genesis state @@ -33,9 +35,10 @@ impl ::prost::Name for ControllerGenesisState { const NAME: &'static str = "ControllerGenesisState"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.genesis.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.genesis.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.genesis.v1.ControllerGenesisState".into() } } /// HostGenesisState defines the interchain accounts host genesis state @@ -55,9 +58,10 @@ impl ::prost::Name for HostGenesisState { const NAME: &'static str = "HostGenesisState"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.genesis.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.genesis.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.genesis.v1.HostGenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.genesis.v1.HostGenesisState".into() } } /// ActiveChannel contains a connection ID, port ID and associated active channel ID, as well as a boolean flag to @@ -78,9 +82,10 @@ impl ::prost::Name for ActiveChannel { const NAME: &'static str = "ActiveChannel"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.genesis.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.genesis.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.genesis.v1.ActiveChannel".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.genesis.v1.ActiveChannel".into() } } /// RegisteredInterchainAccount contains a connection ID, port ID and associated interchain account address @@ -98,8 +103,11 @@ impl ::prost::Name for RegisteredInterchainAccount { const NAME: &'static str = "RegisteredInterchainAccount"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.genesis.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.genesis.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccount" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.genesis.v1.RegisteredInterchainAccount" + .into() } } diff --git a/src/prost/ibc.applications.interchain_accounts.host.v1.rs b/src/prost/ibc.applications.interchain_accounts.host.v1.rs index 0cbc62ef..9ddce319 100644 --- a/src/prost/ibc.applications.interchain_accounts.host.v1.rs +++ b/src/prost/ibc.applications.interchain_accounts.host.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Params defines the set of on-chain interchain accounts parameters. /// The following parameters may be used to disable the host submodule. #[allow(clippy::derive_partial_eq_without_eq)] @@ -14,9 +15,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.host.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.host.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.host.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.host.v1.Params".into() } } /// MsgUpdateParams defines the payload for Msg/UpdateParams @@ -36,9 +38,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.host.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.host.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.host.v1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the response for Msg/UpdateParams @@ -49,9 +52,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.host.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.host.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse".into() } } /// Generated client implementations. @@ -364,9 +368,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.host.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.host.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.host.v1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.host.v1.QueryParamsRequest".into() } } /// QueryParamsResponse is the response type for the Query/Params RPC method. @@ -381,9 +386,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.host.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!( - "ibc.applications.interchain_accounts.host.v1.{}", Self::NAME - ) + "ibc.applications.interchain_accounts.host.v1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.host.v1.QueryParamsResponse".into() } } /// Generated client implementations. diff --git a/src/prost/ibc.applications.interchain_accounts.v1.rs b/src/prost/ibc.applications.interchain_accounts.v1.rs index 045606e3..ae774eb9 100644 --- a/src/prost/ibc.applications.interchain_accounts.v1.rs +++ b/src/prost/ibc.applications.interchain_accounts.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// An InterchainAccount is defined as a BaseAccount & the address of the account owner on the controller chain #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -13,7 +14,10 @@ impl ::prost::Name for InterchainAccount { const NAME: &'static str = "InterchainAccount"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.interchain_accounts.v1.{}", Self::NAME) + "ibc.applications.interchain_accounts.v1.InterchainAccount".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.v1.InterchainAccount".into() } } /// InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field. @@ -31,7 +35,10 @@ impl ::prost::Name for InterchainAccountPacketData { const NAME: &'static str = "InterchainAccountPacketData"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.interchain_accounts.v1.{}", Self::NAME) + "ibc.applications.interchain_accounts.v1.InterchainAccountPacketData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.v1.InterchainAccountPacketData".into() } } /// CosmosTx contains a list of sdk.Msg's. It should be used when sending transactions to an SDK host chain. @@ -47,7 +54,10 @@ impl ::prost::Name for CosmosTx { const NAME: &'static str = "CosmosTx"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.interchain_accounts.v1.{}", Self::NAME) + "ibc.applications.interchain_accounts.v1.CosmosTx".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.v1.CosmosTx".into() } } /// Type defines a classification of message issued from a controller chain to its associated interchain accounts @@ -109,6 +119,9 @@ impl ::prost::Name for Metadata { const NAME: &'static str = "Metadata"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.interchain_accounts.v1.{}", Self::NAME) + "ibc.applications.interchain_accounts.v1.Metadata".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.interchain_accounts.v1.Metadata".into() } } diff --git a/src/prost/ibc.applications.nft_transfer.v1.rs b/src/prost/ibc.applications.nft_transfer.v1.rs index bea5ee5a..ed110064 100644 --- a/src/prost/ibc.applications.nft_transfer.v1.rs +++ b/src/prost/ibc.applications.nft_transfer.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ClassTrace contains the base classID for ICS721 non-fungible tokens and the /// source tracing information path. #[allow(clippy::derive_partial_eq_without_eq)] @@ -15,7 +16,10 @@ impl ::prost::Name for ClassTrace { const NAME: &'static str = "ClassTrace"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.ClassTrace".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.ClassTrace".into() } } /// Params defines the set of IBC nft-transfer parameters. @@ -37,7 +41,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.Params".into() } } /// MsgTransfer defines a msg to transfer non fungible tokens between @@ -82,7 +89,10 @@ impl ::prost::Name for MsgTransfer { const NAME: &'static str = "MsgTransfer"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.MsgTransfer".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.MsgTransfer".into() } } /// MsgTransferResponse defines the Msg/Transfer response type. @@ -97,7 +107,10 @@ impl ::prost::Name for MsgTransferResponse { const NAME: &'static str = "MsgTransferResponse"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.MsgTransferResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.MsgTransferResponse".into() } } /// MsgUpdateParams is the Msg/UpdateParams request type. @@ -118,7 +131,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the response structure for executing a @@ -131,7 +147,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.MsgUpdateParamsResponse".into() } } /// Generated client implementations. @@ -558,7 +577,10 @@ impl ::prost::Name for NonFungibleTokenPacketData { const NAME: &'static str = "NonFungibleTokenPacketData"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.NonFungibleTokenPacketData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.NonFungibleTokenPacketData".into() } } /// QueryClassTraceRequest is the request type for the Query/ClassDenom RPC @@ -575,7 +597,10 @@ impl ::prost::Name for QueryClassTraceRequest { const NAME: &'static str = "QueryClassTraceRequest"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryClassTraceRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryClassTraceRequest".into() } } /// QueryClassTraceResponse is the response type for the Query/ClassDenom RPC @@ -591,7 +616,10 @@ impl ::prost::Name for QueryClassTraceResponse { const NAME: &'static str = "QueryClassTraceResponse"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryClassTraceResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryClassTraceResponse".into() } } /// QueryConnectionsRequest is the request type for the Query/ClassTraces RPC @@ -609,7 +637,10 @@ impl ::prost::Name for QueryClassTracesRequest { const NAME: &'static str = "QueryClassTracesRequest"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryClassTracesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryClassTracesRequest".into() } } /// QueryClassTracesResponse is the response type for the Query/ClassTraces RPC @@ -630,7 +661,10 @@ impl ::prost::Name for QueryClassTracesResponse { const NAME: &'static str = "QueryClassTracesResponse"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryClassTracesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryClassTracesResponse".into() } } /// QueryClassHashRequest is the request type for the Query/ClassHash RPC @@ -646,7 +680,10 @@ impl ::prost::Name for QueryClassHashRequest { const NAME: &'static str = "QueryClassHashRequest"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryClassHashRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryClassHashRequest".into() } } /// QueryClassHashResponse is the response type for the Query/ClassHash RPC @@ -662,7 +699,10 @@ impl ::prost::Name for QueryClassHashResponse { const NAME: &'static str = "QueryClassHashResponse"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryClassHashResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryClassHashResponse".into() } } /// QueryEscrowAddressRequest is the request type for the EscrowAddress RPC @@ -681,7 +721,10 @@ impl ::prost::Name for QueryEscrowAddressRequest { const NAME: &'static str = "QueryEscrowAddressRequest"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryEscrowAddressRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryEscrowAddressRequest".into() } } /// QueryEscrowAddressResponse is the response type of the EscrowAddress RPC @@ -697,7 +740,10 @@ impl ::prost::Name for QueryEscrowAddressResponse { const NAME: &'static str = "QueryEscrowAddressResponse"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryEscrowAddressResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryEscrowAddressResponse".into() } } /// QueryParamsRequest is request type for the Query/Params RPC method. @@ -708,7 +754,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryParamsRequest".into() } } /// QueryParamsResponse is response type for the Query/Params RPC method. @@ -723,7 +772,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.QueryParamsResponse".into() } } /// Generated client implementations. @@ -1382,6 +1434,9 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.applications.nft_transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.nft_transfer.v1.{}", Self::NAME) + "ibc.applications.nft_transfer.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.nft_transfer.v1.GenesisState".into() } } diff --git a/src/prost/ibc.applications.transfer.v1.rs b/src/prost/ibc.applications.transfer.v1.rs index 70c3a6c7..5b2db2d0 100644 --- a/src/prost/ibc.applications.transfer.v1.rs +++ b/src/prost/ibc.applications.transfer.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// DenomTrace contains the base denomination for ICS20 fungible tokens and the /// source tracing information path. #[allow(clippy::derive_partial_eq_without_eq)] @@ -15,7 +16,10 @@ impl ::prost::Name for DenomTrace { const NAME: &'static str = "DenomTrace"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.DenomTrace".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.DenomTrace".into() } } /// Params defines the set of IBC transfer parameters. @@ -38,7 +42,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.Params".into() } } /// MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between @@ -82,7 +89,10 @@ impl ::prost::Name for MsgTransfer { const NAME: &'static str = "MsgTransfer"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.MsgTransfer".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.MsgTransfer".into() } } /// MsgTransferResponse defines the Msg/Transfer response type. @@ -97,7 +107,10 @@ impl ::prost::Name for MsgTransferResponse { const NAME: &'static str = "MsgTransferResponse"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.MsgTransferResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.MsgTransferResponse".into() } } /// MsgUpdateParams is the Msg/UpdateParams request type. @@ -117,7 +130,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the response structure for executing a @@ -129,7 +145,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.MsgUpdateParamsResponse".into() } } /// Generated client implementations. @@ -522,7 +541,10 @@ impl ::prost::Name for QueryDenomTraceRequest { const NAME: &'static str = "QueryDenomTraceRequest"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryDenomTraceRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryDenomTraceRequest".into() } } /// QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC @@ -538,7 +560,10 @@ impl ::prost::Name for QueryDenomTraceResponse { const NAME: &'static str = "QueryDenomTraceResponse"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryDenomTraceResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryDenomTraceResponse".into() } } /// QueryConnectionsRequest is the request type for the Query/DenomTraces RPC @@ -556,7 +581,10 @@ impl ::prost::Name for QueryDenomTracesRequest { const NAME: &'static str = "QueryDenomTracesRequest"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryDenomTracesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryDenomTracesRequest".into() } } /// QueryConnectionsResponse is the response type for the Query/DenomTraces RPC @@ -577,7 +605,10 @@ impl ::prost::Name for QueryDenomTracesResponse { const NAME: &'static str = "QueryDenomTracesResponse"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryDenomTracesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryDenomTracesResponse".into() } } /// QueryParamsRequest is the request type for the Query/Params RPC method. @@ -588,7 +619,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryParamsRequest".into() } } /// QueryParamsResponse is the response type for the Query/Params RPC method. @@ -603,7 +637,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryParamsResponse".into() } } /// QueryDenomHashRequest is the request type for the Query/DenomHash RPC @@ -619,7 +656,10 @@ impl ::prost::Name for QueryDenomHashRequest { const NAME: &'static str = "QueryDenomHashRequest"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryDenomHashRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryDenomHashRequest".into() } } /// QueryDenomHashResponse is the response type for the Query/DenomHash RPC @@ -635,7 +675,10 @@ impl ::prost::Name for QueryDenomHashResponse { const NAME: &'static str = "QueryDenomHashResponse"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryDenomHashResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryDenomHashResponse".into() } } /// QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method. @@ -653,7 +696,10 @@ impl ::prost::Name for QueryEscrowAddressRequest { const NAME: &'static str = "QueryEscrowAddressRequest"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryEscrowAddressRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryEscrowAddressRequest".into() } } /// QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. @@ -668,7 +714,10 @@ impl ::prost::Name for QueryEscrowAddressResponse { const NAME: &'static str = "QueryEscrowAddressResponse"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryEscrowAddressResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryEscrowAddressResponse".into() } } /// QueryTotalEscrowForDenomRequest is the request type for TotalEscrowForDenom RPC method. @@ -682,7 +731,10 @@ impl ::prost::Name for QueryTotalEscrowForDenomRequest { const NAME: &'static str = "QueryTotalEscrowForDenomRequest"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest".into() } } /// QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method. @@ -698,7 +750,10 @@ impl ::prost::Name for QueryTotalEscrowForDenomResponse { const NAME: &'static str = "QueryTotalEscrowForDenomResponse"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse".into() } } /// Generated client implementations. @@ -1443,7 +1498,10 @@ impl ::prost::Name for Allocation { const NAME: &'static str = "Allocation"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.Allocation".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.Allocation".into() } } /// TransferAuthorization allows the grantee to spend up to spend_limit coins from @@ -1459,7 +1517,10 @@ impl ::prost::Name for TransferAuthorization { const NAME: &'static str = "TransferAuthorization"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.TransferAuthorization".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.TransferAuthorization".into() } } /// GenesisState defines the ibc-transfer genesis state @@ -1483,6 +1544,9 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.applications.transfer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v1.{}", Self::NAME) + "ibc.applications.transfer.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v1.GenesisState".into() } } diff --git a/src/prost/ibc.applications.transfer.v2.rs b/src/prost/ibc.applications.transfer.v2.rs index 33fa7869..a479baef 100644 --- a/src/prost/ibc.applications.transfer.v2.rs +++ b/src/prost/ibc.applications.transfer.v2.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// FungibleTokenPacketData defines a struct for the packet payload /// See FungibleTokenPacketData spec: /// @@ -24,6 +25,9 @@ impl ::prost::Name for FungibleTokenPacketData { const NAME: &'static str = "FungibleTokenPacketData"; const PACKAGE: &'static str = "ibc.applications.transfer.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.applications.transfer.v2.{}", Self::NAME) + "ibc.applications.transfer.v2.FungibleTokenPacketData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.applications.transfer.v2.FungibleTokenPacketData".into() } } diff --git a/src/prost/ibc.core.channel.v1.rs b/src/prost/ibc.core.channel.v1.rs index 53c79e71..ba12fa49 100644 --- a/src/prost/ibc.core.channel.v1.rs +++ b/src/prost/ibc.core.channel.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// Channel defines pipeline for exactly-once packet delivery between specific /// modules on separate blockchains, which has at least one end capable of /// sending packets and one end capable of receiving packets. @@ -33,7 +34,10 @@ impl ::prost::Name for Channel { const NAME: &'static str = "Channel"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.Channel".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.Channel".into() } } /// IdentifiedChannel defines a channel with additional port and channel @@ -72,7 +76,10 @@ impl ::prost::Name for IdentifiedChannel { const NAME: &'static str = "IdentifiedChannel"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.IdentifiedChannel".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.IdentifiedChannel".into() } } /// Counterparty defines a channel end counterparty @@ -94,7 +101,10 @@ impl ::prost::Name for Counterparty { const NAME: &'static str = "Counterparty"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.Counterparty".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.Counterparty".into() } } /// Packet defines a type that carries data across different chains through IBC @@ -132,7 +142,10 @@ impl ::prost::Name for Packet { const NAME: &'static str = "Packet"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.Packet".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.Packet".into() } } /// PacketState defines the generic type necessary to retrieve and store @@ -159,7 +172,10 @@ impl ::prost::Name for PacketState { const NAME: &'static str = "PacketState"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.PacketState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.PacketState".into() } } /// PacketId is an identifer for a unique Packet @@ -182,7 +198,10 @@ impl ::prost::Name for PacketId { const NAME: &'static str = "PacketId"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.PacketId".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.PacketId".into() } } /// Acknowledgement is the recommended acknowledgement format to be used by @@ -215,7 +234,10 @@ impl ::prost::Name for Acknowledgement { const NAME: &'static str = "Acknowledgement"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.Acknowledgement".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.Acknowledgement".into() } } /// Timeout defines an execution deadline structure for 04-channel handlers. @@ -235,7 +257,10 @@ impl ::prost::Name for Timeout { const NAME: &'static str = "Timeout"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.Timeout".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.Timeout".into() } } /// Params defines the set of IBC channel parameters. @@ -250,7 +275,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.Params".into() } } /// State defines if a channel is in one of the following states: @@ -367,7 +395,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.GenesisState".into() } } /// PacketSequence defines the genesis type necessary to retrieve and store @@ -386,7 +417,10 @@ impl ::prost::Name for PacketSequence { const NAME: &'static str = "PacketSequence"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.PacketSequence".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.PacketSequence".into() } } /// Upgrade is a verifiable type which contains the relevant information @@ -408,7 +442,10 @@ impl ::prost::Name for Upgrade { const NAME: &'static str = "Upgrade"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.Upgrade".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.Upgrade".into() } } /// UpgradeFields are the fields in a channel end which may be changed @@ -427,7 +464,10 @@ impl ::prost::Name for UpgradeFields { const NAME: &'static str = "UpgradeFields"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.UpgradeFields".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.UpgradeFields".into() } } /// ErrorReceipt defines a type which encapsulates the upgrade sequence and error associated with the @@ -447,7 +487,10 @@ impl ::prost::Name for ErrorReceipt { const NAME: &'static str = "ErrorReceipt"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.ErrorReceipt".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.ErrorReceipt".into() } } /// MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It @@ -466,7 +509,10 @@ impl ::prost::Name for MsgChannelOpenInit { const NAME: &'static str = "MsgChannelOpenInit"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelOpenInit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelOpenInit".into() } } /// MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. @@ -482,7 +528,10 @@ impl ::prost::Name for MsgChannelOpenInitResponse { const NAME: &'static str = "MsgChannelOpenInitResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelOpenInitResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelOpenInitResponse".into() } } /// MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel @@ -513,7 +562,10 @@ impl ::prost::Name for MsgChannelOpenTry { const NAME: &'static str = "MsgChannelOpenTry"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelOpenTry".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelOpenTry".into() } } /// MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. @@ -529,7 +581,10 @@ impl ::prost::Name for MsgChannelOpenTryResponse { const NAME: &'static str = "MsgChannelOpenTryResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelOpenTryResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelOpenTryResponse".into() } } /// MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge @@ -559,7 +614,10 @@ impl ::prost::Name for MsgChannelOpenAck { const NAME: &'static str = "MsgChannelOpenAck"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelOpenAck".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelOpenAck".into() } } /// MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. @@ -570,7 +628,10 @@ impl ::prost::Name for MsgChannelOpenAckResponse { const NAME: &'static str = "MsgChannelOpenAckResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelOpenAckResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelOpenAckResponse".into() } } /// MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to @@ -593,7 +654,10 @@ impl ::prost::Name for MsgChannelOpenConfirm { const NAME: &'static str = "MsgChannelOpenConfirm"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelOpenConfirm".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelOpenConfirm".into() } } /// MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response @@ -605,7 +669,10 @@ impl ::prost::Name for MsgChannelOpenConfirmResponse { const NAME: &'static str = "MsgChannelOpenConfirmResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelOpenConfirmResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelOpenConfirmResponse".into() } } /// MsgChannelCloseInit defines a msg sent by a Relayer to Chain A @@ -624,7 +691,10 @@ impl ::prost::Name for MsgChannelCloseInit { const NAME: &'static str = "MsgChannelCloseInit"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelCloseInit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelCloseInit".into() } } /// MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. @@ -635,7 +705,10 @@ impl ::prost::Name for MsgChannelCloseInitResponse { const NAME: &'static str = "MsgChannelCloseInitResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelCloseInitResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelCloseInitResponse".into() } } /// MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B @@ -660,7 +733,10 @@ impl ::prost::Name for MsgChannelCloseConfirm { const NAME: &'static str = "MsgChannelCloseConfirm"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelCloseConfirm".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelCloseConfirm".into() } } /// MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response @@ -672,7 +748,10 @@ impl ::prost::Name for MsgChannelCloseConfirmResponse { const NAME: &'static str = "MsgChannelCloseConfirmResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelCloseConfirmResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelCloseConfirmResponse".into() } } /// MsgRecvPacket receives incoming IBC packet @@ -692,7 +771,10 @@ impl ::prost::Name for MsgRecvPacket { const NAME: &'static str = "MsgRecvPacket"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgRecvPacket".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgRecvPacket".into() } } /// MsgRecvPacketResponse defines the Msg/RecvPacket response type. @@ -706,7 +788,10 @@ impl ::prost::Name for MsgRecvPacketResponse { const NAME: &'static str = "MsgRecvPacketResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgRecvPacketResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgRecvPacketResponse".into() } } /// MsgTimeout receives timed-out packet @@ -728,7 +813,10 @@ impl ::prost::Name for MsgTimeout { const NAME: &'static str = "MsgTimeout"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgTimeout".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgTimeout".into() } } /// MsgTimeoutResponse defines the Msg/Timeout response type. @@ -742,7 +830,10 @@ impl ::prost::Name for MsgTimeoutResponse { const NAME: &'static str = "MsgTimeoutResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgTimeoutResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgTimeoutResponse".into() } } /// MsgTimeoutOnClose timed-out packet upon counterparty channel closure. @@ -768,7 +859,10 @@ impl ::prost::Name for MsgTimeoutOnClose { const NAME: &'static str = "MsgTimeoutOnClose"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgTimeoutOnClose".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgTimeoutOnClose".into() } } /// MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. @@ -782,7 +876,10 @@ impl ::prost::Name for MsgTimeoutOnCloseResponse { const NAME: &'static str = "MsgTimeoutOnCloseResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgTimeoutOnCloseResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgTimeoutOnCloseResponse".into() } } /// MsgAcknowledgement receives incoming IBC acknowledgement @@ -804,7 +901,10 @@ impl ::prost::Name for MsgAcknowledgement { const NAME: &'static str = "MsgAcknowledgement"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgAcknowledgement".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgAcknowledgement".into() } } /// MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. @@ -818,7 +918,10 @@ impl ::prost::Name for MsgAcknowledgementResponse { const NAME: &'static str = "MsgAcknowledgementResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgAcknowledgementResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgAcknowledgementResponse".into() } } /// MsgChannelUpgradeInit defines the request type for the ChannelUpgradeInit rpc @@ -840,7 +943,10 @@ impl ::prost::Name for MsgChannelUpgradeInit { const NAME: &'static str = "MsgChannelUpgradeInit"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeInit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeInit".into() } } /// MsgChannelUpgradeInitResponse defines the MsgChannelUpgradeInit response type @@ -856,7 +962,10 @@ impl ::prost::Name for MsgChannelUpgradeInitResponse { const NAME: &'static str = "MsgChannelUpgradeInitResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeInitResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeInitResponse".into() } } /// MsgChannelUpgradeTry defines the request type for the ChannelUpgradeTry rpc @@ -888,7 +997,10 @@ impl ::prost::Name for MsgChannelUpgradeTry { const NAME: &'static str = "MsgChannelUpgradeTry"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeTry".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeTry".into() } } /// MsgChannelUpgradeTryResponse defines the MsgChannelUpgradeTry response type @@ -906,7 +1018,10 @@ impl ::prost::Name for MsgChannelUpgradeTryResponse { const NAME: &'static str = "MsgChannelUpgradeTryResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeTryResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeTryResponse".into() } } /// MsgChannelUpgradeAck defines the request type for the ChannelUpgradeAck rpc @@ -932,7 +1047,10 @@ impl ::prost::Name for MsgChannelUpgradeAck { const NAME: &'static str = "MsgChannelUpgradeAck"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeAck".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeAck".into() } } /// MsgChannelUpgradeAckResponse defines MsgChannelUpgradeAck response type @@ -946,7 +1064,10 @@ impl ::prost::Name for MsgChannelUpgradeAckResponse { const NAME: &'static str = "MsgChannelUpgradeAckResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeAckResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeAckResponse".into() } } /// MsgChannelUpgradeConfirm defines the request type for the ChannelUpgradeConfirm rpc @@ -974,7 +1095,10 @@ impl ::prost::Name for MsgChannelUpgradeConfirm { const NAME: &'static str = "MsgChannelUpgradeConfirm"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeConfirm".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeConfirm".into() } } /// MsgChannelUpgradeConfirmResponse defines MsgChannelUpgradeConfirm response type @@ -988,7 +1112,10 @@ impl ::prost::Name for MsgChannelUpgradeConfirmResponse { const NAME: &'static str = "MsgChannelUpgradeConfirmResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse".into() } } /// MsgChannelUpgradeOpen defines the request type for the ChannelUpgradeOpen rpc @@ -1014,7 +1141,10 @@ impl ::prost::Name for MsgChannelUpgradeOpen { const NAME: &'static str = "MsgChannelUpgradeOpen"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeOpen".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeOpen".into() } } /// MsgChannelUpgradeOpenResponse defines the MsgChannelUpgradeOpen response type @@ -1025,7 +1155,10 @@ impl ::prost::Name for MsgChannelUpgradeOpenResponse { const NAME: &'static str = "MsgChannelUpgradeOpenResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeOpenResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeOpenResponse".into() } } /// MsgChannelUpgradeTimeout defines the request type for the ChannelUpgradeTimeout rpc @@ -1049,7 +1182,10 @@ impl ::prost::Name for MsgChannelUpgradeTimeout { const NAME: &'static str = "MsgChannelUpgradeTimeout"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeTimeout".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeTimeout".into() } } /// MsgChannelUpgradeTimeoutRepsonse defines the MsgChannelUpgradeTimeout response type @@ -1060,7 +1196,10 @@ impl ::prost::Name for MsgChannelUpgradeTimeoutResponse { const NAME: &'static str = "MsgChannelUpgradeTimeoutResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse".into() } } /// MsgChannelUpgradeCancel defines the request type for the ChannelUpgradeCancel rpc @@ -1084,7 +1223,10 @@ impl ::prost::Name for MsgChannelUpgradeCancel { const NAME: &'static str = "MsgChannelUpgradeCancel"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeCancel".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeCancel".into() } } /// MsgChannelUpgradeCancelResponse defines the MsgChannelUpgradeCancel response type @@ -1095,7 +1237,10 @@ impl ::prost::Name for MsgChannelUpgradeCancelResponse { const NAME: &'static str = "MsgChannelUpgradeCancelResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgChannelUpgradeCancelResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgChannelUpgradeCancelResponse".into() } } /// MsgUpdateParams is the MsgUpdateParams request type. @@ -1115,7 +1260,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the MsgUpdateParams response type. @@ -1126,7 +1274,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgUpdateParamsResponse".into() } } /// MsgPruneAcknowledgements defines the request type for the PruneAcknowledgements rpc. @@ -1146,7 +1297,10 @@ impl ::prost::Name for MsgPruneAcknowledgements { const NAME: &'static str = "MsgPruneAcknowledgements"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgPruneAcknowledgements".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgPruneAcknowledgements".into() } } /// MsgPruneAcknowledgementsResponse defines the response type for the PruneAcknowledgements rpc. @@ -1164,7 +1318,10 @@ impl ::prost::Name for MsgPruneAcknowledgementsResponse { const NAME: &'static str = "MsgPruneAcknowledgementsResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.MsgPruneAcknowledgementsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.MsgPruneAcknowledgementsResponse".into() } } /// ResponseResultType defines the possible outcomes of the execution of a message @@ -2956,7 +3113,10 @@ impl ::prost::Name for QueryChannelRequest { const NAME: &'static str = "QueryChannelRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelRequest".into() } } /// QueryChannelResponse is the response type for the Query/Channel RPC method. @@ -2979,7 +3139,10 @@ impl ::prost::Name for QueryChannelResponse { const NAME: &'static str = "QueryChannelResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelResponse".into() } } /// QueryChannelsRequest is the request type for the Query/Channels RPC method @@ -2996,7 +3159,10 @@ impl ::prost::Name for QueryChannelsRequest { const NAME: &'static str = "QueryChannelsRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelsRequest".into() } } /// QueryChannelsResponse is the response type for the Query/Channels RPC method. @@ -3019,7 +3185,10 @@ impl ::prost::Name for QueryChannelsResponse { const NAME: &'static str = "QueryChannelsResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelsResponse".into() } } /// QueryConnectionChannelsRequest is the request type for the @@ -3040,7 +3209,10 @@ impl ::prost::Name for QueryConnectionChannelsRequest { const NAME: &'static str = "QueryConnectionChannelsRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryConnectionChannelsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryConnectionChannelsRequest".into() } } /// QueryConnectionChannelsResponse is the Response type for the @@ -3064,7 +3236,10 @@ impl ::prost::Name for QueryConnectionChannelsResponse { const NAME: &'static str = "QueryConnectionChannelsResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryConnectionChannelsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryConnectionChannelsResponse".into() } } /// QueryChannelClientStateRequest is the request type for the Query/ClientState @@ -3083,7 +3258,10 @@ impl ::prost::Name for QueryChannelClientStateRequest { const NAME: &'static str = "QueryChannelClientStateRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelClientStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelClientStateRequest".into() } } /// QueryChannelClientStateResponse is the Response type for the @@ -3107,7 +3285,10 @@ impl ::prost::Name for QueryChannelClientStateResponse { const NAME: &'static str = "QueryChannelClientStateResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelClientStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelClientStateResponse".into() } } /// QueryChannelConsensusStateRequest is the request type for the @@ -3132,7 +3313,10 @@ impl ::prost::Name for QueryChannelConsensusStateRequest { const NAME: &'static str = "QueryChannelConsensusStateRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelConsensusStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelConsensusStateRequest".into() } } /// QueryChannelClientStateResponse is the Response type for the @@ -3159,7 +3343,10 @@ impl ::prost::Name for QueryChannelConsensusStateResponse { const NAME: &'static str = "QueryChannelConsensusStateResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelConsensusStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelConsensusStateResponse".into() } } /// QueryPacketCommitmentRequest is the request type for the @@ -3181,7 +3368,10 @@ impl ::prost::Name for QueryPacketCommitmentRequest { const NAME: &'static str = "QueryPacketCommitmentRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketCommitmentRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketCommitmentRequest".into() } } /// QueryPacketCommitmentResponse defines the client query response for a packet @@ -3204,7 +3394,10 @@ impl ::prost::Name for QueryPacketCommitmentResponse { const NAME: &'static str = "QueryPacketCommitmentResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketCommitmentResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketCommitmentResponse".into() } } /// QueryPacketCommitmentsRequest is the request type for the @@ -3228,7 +3421,10 @@ impl ::prost::Name for QueryPacketCommitmentsRequest { const NAME: &'static str = "QueryPacketCommitmentsRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketCommitmentsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketCommitmentsRequest".into() } } /// QueryPacketCommitmentsResponse is the request type for the @@ -3251,7 +3447,10 @@ impl ::prost::Name for QueryPacketCommitmentsResponse { const NAME: &'static str = "QueryPacketCommitmentsResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketCommitmentsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketCommitmentsResponse".into() } } /// QueryPacketReceiptRequest is the request type for the @@ -3273,7 +3472,10 @@ impl ::prost::Name for QueryPacketReceiptRequest { const NAME: &'static str = "QueryPacketReceiptRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketReceiptRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketReceiptRequest".into() } } /// QueryPacketReceiptResponse defines the client query response for a packet @@ -3296,7 +3498,10 @@ impl ::prost::Name for QueryPacketReceiptResponse { const NAME: &'static str = "QueryPacketReceiptResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketReceiptResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketReceiptResponse".into() } } /// QueryPacketAcknowledgementRequest is the request type for the @@ -3318,7 +3523,10 @@ impl ::prost::Name for QueryPacketAcknowledgementRequest { const NAME: &'static str = "QueryPacketAcknowledgementRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketAcknowledgementRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketAcknowledgementRequest".into() } } /// QueryPacketAcknowledgementResponse defines the client query response for a @@ -3341,7 +3549,10 @@ impl ::prost::Name for QueryPacketAcknowledgementResponse { const NAME: &'static str = "QueryPacketAcknowledgementResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketAcknowledgementResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketAcknowledgementResponse".into() } } /// QueryPacketAcknowledgementsRequest is the request type for the @@ -3368,7 +3579,10 @@ impl ::prost::Name for QueryPacketAcknowledgementsRequest { const NAME: &'static str = "QueryPacketAcknowledgementsRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketAcknowledgementsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketAcknowledgementsRequest".into() } } /// QueryPacketAcknowledgemetsResponse is the request type for the @@ -3391,7 +3605,10 @@ impl ::prost::Name for QueryPacketAcknowledgementsResponse { const NAME: &'static str = "QueryPacketAcknowledgementsResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryPacketAcknowledgementsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse".into() } } /// QueryUnreceivedPacketsRequest is the request type for the @@ -3413,7 +3630,10 @@ impl ::prost::Name for QueryUnreceivedPacketsRequest { const NAME: &'static str = "QueryUnreceivedPacketsRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryUnreceivedPacketsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryUnreceivedPacketsRequest".into() } } /// QueryUnreceivedPacketsResponse is the response type for the @@ -3432,7 +3652,10 @@ impl ::prost::Name for QueryUnreceivedPacketsResponse { const NAME: &'static str = "QueryUnreceivedPacketsResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryUnreceivedPacketsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryUnreceivedPacketsResponse".into() } } /// QueryUnreceivedAcks is the request type for the @@ -3454,7 +3677,10 @@ impl ::prost::Name for QueryUnreceivedAcksRequest { const NAME: &'static str = "QueryUnreceivedAcksRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryUnreceivedAcksRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryUnreceivedAcksRequest".into() } } /// QueryUnreceivedAcksResponse is the response type for the @@ -3473,7 +3699,10 @@ impl ::prost::Name for QueryUnreceivedAcksResponse { const NAME: &'static str = "QueryUnreceivedAcksResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryUnreceivedAcksResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryUnreceivedAcksResponse".into() } } /// QueryNextSequenceReceiveRequest is the request type for the @@ -3492,7 +3721,10 @@ impl ::prost::Name for QueryNextSequenceReceiveRequest { const NAME: &'static str = "QueryNextSequenceReceiveRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryNextSequenceReceiveRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryNextSequenceReceiveRequest".into() } } /// QuerySequenceResponse is the response type for the @@ -3514,7 +3746,10 @@ impl ::prost::Name for QueryNextSequenceReceiveResponse { const NAME: &'static str = "QueryNextSequenceReceiveResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryNextSequenceReceiveResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryNextSequenceReceiveResponse".into() } } /// QueryNextSequenceSendRequest is the request type for the @@ -3533,7 +3768,10 @@ impl ::prost::Name for QueryNextSequenceSendRequest { const NAME: &'static str = "QueryNextSequenceSendRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryNextSequenceSendRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryNextSequenceSendRequest".into() } } /// QueryNextSequenceSendResponse is the request type for the @@ -3555,7 +3793,10 @@ impl ::prost::Name for QueryNextSequenceSendResponse { const NAME: &'static str = "QueryNextSequenceSendResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryNextSequenceSendResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryNextSequenceSendResponse".into() } } /// QueryUpgradeErrorRequest is the request type for the Query/QueryUpgradeError RPC method @@ -3571,7 +3812,10 @@ impl ::prost::Name for QueryUpgradeErrorRequest { const NAME: &'static str = "QueryUpgradeErrorRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryUpgradeErrorRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryUpgradeErrorRequest".into() } } /// QueryUpgradeErrorResponse is the response type for the Query/QueryUpgradeError RPC method @@ -3591,7 +3835,10 @@ impl ::prost::Name for QueryUpgradeErrorResponse { const NAME: &'static str = "QueryUpgradeErrorResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryUpgradeErrorResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryUpgradeErrorResponse".into() } } /// QueryUpgradeRequest is the request type for the QueryUpgradeRequest RPC method @@ -3607,7 +3854,10 @@ impl ::prost::Name for QueryUpgradeRequest { const NAME: &'static str = "QueryUpgradeRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryUpgradeRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryUpgradeRequest".into() } } /// QueryUpgradeResponse is the response type for the QueryUpgradeResponse RPC method @@ -3627,7 +3877,10 @@ impl ::prost::Name for QueryUpgradeResponse { const NAME: &'static str = "QueryUpgradeResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryUpgradeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryUpgradeResponse".into() } } /// QueryChannelParamsRequest is the request type for the Query/ChannelParams RPC method. @@ -3638,7 +3891,10 @@ impl ::prost::Name for QueryChannelParamsRequest { const NAME: &'static str = "QueryChannelParamsRequest"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelParamsRequest".into() } } /// QueryChannelParamsResponse is the response type for the Query/ChannelParams RPC method. @@ -3653,7 +3909,10 @@ impl ::prost::Name for QueryChannelParamsResponse { const NAME: &'static str = "QueryChannelParamsResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.channel.v1.{}", Self::NAME) + "ibc.core.channel.v1.QueryChannelParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.channel.v1.QueryChannelParamsResponse".into() } } /// Generated client implementations. diff --git a/src/prost/ibc.core.client.v1.rs b/src/prost/ibc.core.client.v1.rs index fc33ec80..6bbad413 100644 --- a/src/prost/ibc.core.client.v1.rs +++ b/src/prost/ibc.core.client.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// IdentifiedClientState defines a client state with an additional client /// identifier field. #[allow(clippy::derive_partial_eq_without_eq)] @@ -16,7 +17,10 @@ impl ::prost::Name for IdentifiedClientState { const NAME: &'static str = "IdentifiedClientState"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.IdentifiedClientState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.IdentifiedClientState".into() } } /// ConsensusStateWithHeight defines a consensus state with an additional height @@ -37,7 +41,10 @@ impl ::prost::Name for ConsensusStateWithHeight { const NAME: &'static str = "ConsensusStateWithHeight"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.ConsensusStateWithHeight".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.ConsensusStateWithHeight".into() } } /// ClientConsensusStates defines all the stored consensus states for a given @@ -56,7 +63,10 @@ impl ::prost::Name for ClientConsensusStates { const NAME: &'static str = "ClientConsensusStates"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.ClientConsensusStates".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.ClientConsensusStates".into() } } /// Height is a monotonically increasing data type @@ -88,7 +98,10 @@ impl ::prost::Name for Height { const NAME: &'static str = "Height"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.Height".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.Height".into() } } /// Params defines the set of IBC light client parameters. @@ -105,7 +118,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.Params".into() } } /// ClientUpdateProposal is a legacy governance proposal. If it passes, the substitute @@ -135,7 +151,10 @@ impl ::prost::Name for ClientUpdateProposal { const NAME: &'static str = "ClientUpdateProposal"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.ClientUpdateProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.ClientUpdateProposal".into() } } /// UpgradeProposal is a gov Content type for initiating an IBC breaking @@ -168,7 +187,10 @@ impl ::prost::Name for UpgradeProposal { const NAME: &'static str = "UpgradeProposal"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.UpgradeProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.UpgradeProposal".into() } } /// GenesisState defines the ibc client submodule's genesis state. @@ -199,7 +221,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.GenesisState".into() } } /// GenesisMetadata defines the genesis type for metadata that clients may return @@ -218,7 +243,10 @@ impl ::prost::Name for GenesisMetadata { const NAME: &'static str = "GenesisMetadata"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.GenesisMetadata".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.GenesisMetadata".into() } } /// IdentifiedGenesisMetadata has the client metadata with the corresponding @@ -235,7 +263,10 @@ impl ::prost::Name for IdentifiedGenesisMetadata { const NAME: &'static str = "IdentifiedGenesisMetadata"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.IdentifiedGenesisMetadata".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.IdentifiedGenesisMetadata".into() } } /// MsgCreateClient defines a message to create an IBC client @@ -261,7 +292,10 @@ impl ::prost::Name for MsgCreateClient { const NAME: &'static str = "MsgCreateClient"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgCreateClient".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgCreateClient".into() } } /// MsgCreateClientResponse defines the Msg/CreateClient response type. @@ -272,7 +306,10 @@ impl ::prost::Name for MsgCreateClientResponse { const NAME: &'static str = "MsgCreateClientResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgCreateClientResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgCreateClientResponse".into() } } /// MsgUpdateClient defines an sdk.Msg to update a IBC client state using @@ -296,7 +333,10 @@ impl ::prost::Name for MsgUpdateClient { const NAME: &'static str = "MsgUpdateClient"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgUpdateClient".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgUpdateClient".into() } } /// MsgUpdateClientResponse defines the Msg/UpdateClient response type. @@ -307,7 +347,10 @@ impl ::prost::Name for MsgUpdateClientResponse { const NAME: &'static str = "MsgUpdateClientResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgUpdateClientResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgUpdateClientResponse".into() } } /// MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client @@ -343,7 +386,10 @@ impl ::prost::Name for MsgUpgradeClient { const NAME: &'static str = "MsgUpgradeClient"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgUpgradeClient".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgUpgradeClient".into() } } /// MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. @@ -354,7 +400,10 @@ impl ::prost::Name for MsgUpgradeClientResponse { const NAME: &'static str = "MsgUpgradeClientResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgUpgradeClientResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgUpgradeClientResponse".into() } } /// MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for @@ -379,7 +428,10 @@ impl ::prost::Name for MsgSubmitMisbehaviour { const NAME: &'static str = "MsgSubmitMisbehaviour"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgSubmitMisbehaviour".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgSubmitMisbehaviour".into() } } /// MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response @@ -391,7 +443,10 @@ impl ::prost::Name for MsgSubmitMisbehaviourResponse { const NAME: &'static str = "MsgSubmitMisbehaviourResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgSubmitMisbehaviourResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgSubmitMisbehaviourResponse".into() } } /// MsgRecoverClient defines the message used to recover a frozen or expired client. @@ -413,7 +468,10 @@ impl ::prost::Name for MsgRecoverClient { const NAME: &'static str = "MsgRecoverClient"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgRecoverClient".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgRecoverClient".into() } } /// MsgRecoverClientResponse defines the Msg/RecoverClient response type. @@ -424,7 +482,10 @@ impl ::prost::Name for MsgRecoverClientResponse { const NAME: &'static str = "MsgRecoverClientResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgRecoverClientResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgRecoverClientResponse".into() } } /// MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of an IBC client using a v1 governance proposal @@ -455,7 +516,10 @@ impl ::prost::Name for MsgIbcSoftwareUpgrade { const NAME: &'static str = "MsgIBCSoftwareUpgrade"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgIBCSoftwareUpgrade".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgIBCSoftwareUpgrade".into() } } /// MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response type. @@ -466,7 +530,10 @@ impl ::prost::Name for MsgIbcSoftwareUpgradeResponse { const NAME: &'static str = "MsgIBCSoftwareUpgradeResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse".into() } } /// MsgUpdateParams defines the sdk.Msg type to update the client parameters. @@ -486,7 +553,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the MsgUpdateParams response type. @@ -497,7 +567,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.MsgUpdateParamsResponse".into() } } /// Generated client implementations. @@ -1282,7 +1355,10 @@ impl ::prost::Name for QueryClientStateRequest { const NAME: &'static str = "QueryClientStateRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryClientStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryClientStateRequest".into() } } /// QueryClientStateResponse is the response type for the Query/ClientState RPC @@ -1307,7 +1383,10 @@ impl ::prost::Name for QueryClientStateResponse { const NAME: &'static str = "QueryClientStateResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryClientStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryClientStateResponse".into() } } /// QueryClientStatesRequest is the request type for the Query/ClientStates RPC @@ -1325,7 +1404,10 @@ impl ::prost::Name for QueryClientStatesRequest { const NAME: &'static str = "QueryClientStatesRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryClientStatesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryClientStatesRequest".into() } } /// QueryClientStatesResponse is the response type for the Query/ClientStates RPC @@ -1346,7 +1428,10 @@ impl ::prost::Name for QueryClientStatesResponse { const NAME: &'static str = "QueryClientStatesResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryClientStatesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryClientStatesResponse".into() } } /// QueryConsensusStateRequest is the request type for the Query/ConsensusState @@ -1373,7 +1458,10 @@ impl ::prost::Name for QueryConsensusStateRequest { const NAME: &'static str = "QueryConsensusStateRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryConsensusStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryConsensusStateRequest".into() } } /// QueryConsensusStateResponse is the response type for the Query/ConsensusState @@ -1397,7 +1485,10 @@ impl ::prost::Name for QueryConsensusStateResponse { const NAME: &'static str = "QueryConsensusStateResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryConsensusStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryConsensusStateResponse".into() } } /// QueryConsensusStatesRequest is the request type for the Query/ConsensusStates @@ -1418,7 +1509,10 @@ impl ::prost::Name for QueryConsensusStatesRequest { const NAME: &'static str = "QueryConsensusStatesRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryConsensusStatesRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryConsensusStatesRequest".into() } } /// QueryConsensusStatesResponse is the response type for the @@ -1439,7 +1533,10 @@ impl ::prost::Name for QueryConsensusStatesResponse { const NAME: &'static str = "QueryConsensusStatesResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryConsensusStatesResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryConsensusStatesResponse".into() } } /// QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights @@ -1460,7 +1557,10 @@ impl ::prost::Name for QueryConsensusStateHeightsRequest { const NAME: &'static str = "QueryConsensusStateHeightsRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryConsensusStateHeightsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryConsensusStateHeightsRequest".into() } } /// QueryConsensusStateHeightsResponse is the response type for the @@ -1481,7 +1581,10 @@ impl ::prost::Name for QueryConsensusStateHeightsResponse { const NAME: &'static str = "QueryConsensusStateHeightsResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryConsensusStateHeightsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryConsensusStateHeightsResponse".into() } } /// QueryClientStatusRequest is the request type for the Query/ClientStatus RPC @@ -1497,7 +1600,10 @@ impl ::prost::Name for QueryClientStatusRequest { const NAME: &'static str = "QueryClientStatusRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryClientStatusRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryClientStatusRequest".into() } } /// QueryClientStatusResponse is the response type for the Query/ClientStatus RPC @@ -1512,7 +1618,10 @@ impl ::prost::Name for QueryClientStatusResponse { const NAME: &'static str = "QueryClientStatusResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryClientStatusResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryClientStatusResponse".into() } } /// QueryClientParamsRequest is the request type for the Query/ClientParams RPC @@ -1524,7 +1633,10 @@ impl ::prost::Name for QueryClientParamsRequest { const NAME: &'static str = "QueryClientParamsRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryClientParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryClientParamsRequest".into() } } /// QueryClientParamsResponse is the response type for the Query/ClientParams RPC @@ -1540,7 +1652,10 @@ impl ::prost::Name for QueryClientParamsResponse { const NAME: &'static str = "QueryClientParamsResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryClientParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryClientParamsResponse".into() } } /// QueryUpgradedClientStateRequest is the request type for the @@ -1552,7 +1667,10 @@ impl ::prost::Name for QueryUpgradedClientStateRequest { const NAME: &'static str = "QueryUpgradedClientStateRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryUpgradedClientStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryUpgradedClientStateRequest".into() } } /// QueryUpgradedClientStateResponse is the response type for the @@ -1570,7 +1688,10 @@ impl ::prost::Name for QueryUpgradedClientStateResponse { const NAME: &'static str = "QueryUpgradedClientStateResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryUpgradedClientStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryUpgradedClientStateResponse".into() } } /// QueryUpgradedConsensusStateRequest is the request type for the @@ -1582,7 +1703,10 @@ impl ::prost::Name for QueryUpgradedConsensusStateRequest { const NAME: &'static str = "QueryUpgradedConsensusStateRequest"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryUpgradedConsensusStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest".into() } } /// QueryUpgradedConsensusStateResponse is the response type for the @@ -1600,7 +1724,10 @@ impl ::prost::Name for QueryUpgradedConsensusStateResponse { const NAME: &'static str = "QueryUpgradedConsensusStateResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.client.v1.{}", Self::NAME) + "ibc.core.client.v1.QueryUpgradedConsensusStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse".into() } } /// Generated client implementations. diff --git a/src/prost/ibc.core.commitment.v1.rs b/src/prost/ibc.core.commitment.v1.rs index 3045d902..77d2ca9a 100644 --- a/src/prost/ibc.core.commitment.v1.rs +++ b/src/prost/ibc.core.commitment.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// MerkleRoot defines a merkle root hash. /// In the Cosmos SDK, the AppHash of a block header becomes the root. #[cfg_attr( @@ -18,7 +19,10 @@ impl ::prost::Name for MerkleRoot { const NAME: &'static str = "MerkleRoot"; const PACKAGE: &'static str = "ibc.core.commitment.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.commitment.v1.{}", Self::NAME) + "ibc.core.commitment.v1.MerkleRoot".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.commitment.v1.MerkleRoot".into() } } /// MerklePrefix is merkle path prefixed to the key. @@ -42,7 +46,10 @@ impl ::prost::Name for MerklePrefix { const NAME: &'static str = "MerklePrefix"; const PACKAGE: &'static str = "ibc.core.commitment.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.commitment.v1.{}", Self::NAME) + "ibc.core.commitment.v1.MerklePrefix".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.commitment.v1.MerklePrefix".into() } } /// MerklePath is the path used to verify commitment proofs, which can be an @@ -58,7 +65,10 @@ impl ::prost::Name for MerklePath { const NAME: &'static str = "MerklePath"; const PACKAGE: &'static str = "ibc.core.commitment.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.commitment.v1.{}", Self::NAME) + "ibc.core.commitment.v1.MerklePath".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.commitment.v1.MerklePath".into() } } /// MerkleProof is a wrapper type over a chain of CommitmentProofs. @@ -78,6 +88,9 @@ impl ::prost::Name for MerkleProof { const NAME: &'static str = "MerkleProof"; const PACKAGE: &'static str = "ibc.core.commitment.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.commitment.v1.{}", Self::NAME) + "ibc.core.commitment.v1.MerkleProof".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.commitment.v1.MerkleProof".into() } } diff --git a/src/prost/ibc.core.connection.v1.rs b/src/prost/ibc.core.connection.v1.rs index 01a54671..705dd4d6 100644 --- a/src/prost/ibc.core.connection.v1.rs +++ b/src/prost/ibc.core.connection.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ConnectionEnd defines a stateful object on a chain connected to another /// separate one. /// NOTE: there must only be 2 defined ConnectionEnds to establish @@ -32,7 +33,10 @@ impl ::prost::Name for ConnectionEnd { const NAME: &'static str = "ConnectionEnd"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.ConnectionEnd".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.ConnectionEnd".into() } } /// IdentifiedConnection defines a connection with additional connection @@ -64,7 +68,10 @@ impl ::prost::Name for IdentifiedConnection { const NAME: &'static str = "IdentifiedConnection"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.IdentifiedConnection".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.IdentifiedConnection".into() } } /// Counterparty defines the counterparty chain associated with a connection end. @@ -91,7 +98,10 @@ impl ::prost::Name for Counterparty { const NAME: &'static str = "Counterparty"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.Counterparty".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.Counterparty".into() } } /// ClientPaths define all the connection paths for a client state. @@ -106,7 +116,10 @@ impl ::prost::Name for ClientPaths { const NAME: &'static str = "ClientPaths"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.ClientPaths".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.ClientPaths".into() } } /// ConnectionPaths define all the connection paths for a given client state. @@ -124,7 +137,10 @@ impl ::prost::Name for ConnectionPaths { const NAME: &'static str = "ConnectionPaths"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.ConnectionPaths".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.ConnectionPaths".into() } } /// Version defines the versioning scheme used to negotiate the IBC verison in @@ -147,7 +163,10 @@ impl ::prost::Name for Version { const NAME: &'static str = "Version"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.Version".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.Version".into() } } /// Params defines the set of Connection parameters. @@ -164,7 +183,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.Params".into() } } /// State defines if a connection is in one of the following states: @@ -224,7 +246,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.GenesisState".into() } } /// MsgConnectionOpenInit defines the msg sent by an account on Chain A to @@ -247,7 +272,10 @@ impl ::prost::Name for MsgConnectionOpenInit { const NAME: &'static str = "MsgConnectionOpenInit"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgConnectionOpenInit".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgConnectionOpenInit".into() } } /// MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response @@ -259,7 +287,10 @@ impl ::prost::Name for MsgConnectionOpenInitResponse { const NAME: &'static str = "MsgConnectionOpenInitResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgConnectionOpenInitResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgConnectionOpenInitResponse".into() } } /// MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a @@ -307,7 +338,10 @@ impl ::prost::Name for MsgConnectionOpenTry { const NAME: &'static str = "MsgConnectionOpenTry"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgConnectionOpenTry".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgConnectionOpenTry".into() } } /// MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. @@ -318,7 +352,10 @@ impl ::prost::Name for MsgConnectionOpenTryResponse { const NAME: &'static str = "MsgConnectionOpenTryResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgConnectionOpenTryResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgConnectionOpenTryResponse".into() } } /// MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to @@ -360,7 +397,10 @@ impl ::prost::Name for MsgConnectionOpenAck { const NAME: &'static str = "MsgConnectionOpenAck"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgConnectionOpenAck".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgConnectionOpenAck".into() } } /// MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. @@ -371,7 +411,10 @@ impl ::prost::Name for MsgConnectionOpenAckResponse { const NAME: &'static str = "MsgConnectionOpenAckResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgConnectionOpenAckResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgConnectionOpenAckResponse".into() } } /// MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to @@ -393,7 +436,10 @@ impl ::prost::Name for MsgConnectionOpenConfirm { const NAME: &'static str = "MsgConnectionOpenConfirm"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgConnectionOpenConfirm".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgConnectionOpenConfirm".into() } } /// MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm @@ -405,7 +451,10 @@ impl ::prost::Name for MsgConnectionOpenConfirmResponse { const NAME: &'static str = "MsgConnectionOpenConfirmResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgConnectionOpenConfirmResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgConnectionOpenConfirmResponse".into() } } /// MsgUpdateParams defines the sdk.Msg type to update the connection parameters. @@ -425,7 +474,10 @@ impl ::prost::Name for MsgUpdateParams { const NAME: &'static str = "MsgUpdateParams"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgUpdateParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgUpdateParams".into() } } /// MsgUpdateParamsResponse defines the MsgUpdateParams response type. @@ -436,7 +488,10 @@ impl ::prost::Name for MsgUpdateParamsResponse { const NAME: &'static str = "MsgUpdateParamsResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.MsgUpdateParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.MsgUpdateParamsResponse".into() } } /// Generated client implementations. @@ -1085,7 +1140,10 @@ impl ::prost::Name for QueryConnectionRequest { const NAME: &'static str = "QueryConnectionRequest"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionRequest".into() } } /// QueryConnectionResponse is the response type for the Query/Connection RPC @@ -1108,7 +1166,10 @@ impl ::prost::Name for QueryConnectionResponse { const NAME: &'static str = "QueryConnectionResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionResponse".into() } } /// QueryConnectionsRequest is the request type for the Query/Connections RPC @@ -1125,7 +1186,10 @@ impl ::prost::Name for QueryConnectionsRequest { const NAME: &'static str = "QueryConnectionsRequest"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionsRequest".into() } } /// QueryConnectionsResponse is the response type for the Query/Connections RPC @@ -1149,7 +1213,10 @@ impl ::prost::Name for QueryConnectionsResponse { const NAME: &'static str = "QueryConnectionsResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionsResponse".into() } } /// QueryClientConnectionsRequest is the request type for the @@ -1165,7 +1232,10 @@ impl ::prost::Name for QueryClientConnectionsRequest { const NAME: &'static str = "QueryClientConnectionsRequest"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryClientConnectionsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryClientConnectionsRequest".into() } } /// QueryClientConnectionsResponse is the response type for the @@ -1187,7 +1257,10 @@ impl ::prost::Name for QueryClientConnectionsResponse { const NAME: &'static str = "QueryClientConnectionsResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryClientConnectionsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryClientConnectionsResponse".into() } } /// QueryConnectionClientStateRequest is the request type for the @@ -1203,7 +1276,10 @@ impl ::prost::Name for QueryConnectionClientStateRequest { const NAME: &'static str = "QueryConnectionClientStateRequest"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionClientStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionClientStateRequest".into() } } /// QueryConnectionClientStateResponse is the response type for the @@ -1227,7 +1303,10 @@ impl ::prost::Name for QueryConnectionClientStateResponse { const NAME: &'static str = "QueryConnectionClientStateResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionClientStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionClientStateResponse".into() } } /// QueryConnectionConsensusStateRequest is the request type for the @@ -1247,7 +1326,10 @@ impl ::prost::Name for QueryConnectionConsensusStateRequest { const NAME: &'static str = "QueryConnectionConsensusStateRequest"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionConsensusStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionConsensusStateRequest".into() } } /// QueryConnectionConsensusStateResponse is the response type for the @@ -1274,7 +1356,10 @@ impl ::prost::Name for QueryConnectionConsensusStateResponse { const NAME: &'static str = "QueryConnectionConsensusStateResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionConsensusStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionConsensusStateResponse".into() } } /// QueryConnectionParamsRequest is the request type for the Query/ConnectionParams RPC method. @@ -1285,7 +1370,10 @@ impl ::prost::Name for QueryConnectionParamsRequest { const NAME: &'static str = "QueryConnectionParamsRequest"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionParamsRequest".into() } } /// QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method. @@ -1300,7 +1388,10 @@ impl ::prost::Name for QueryConnectionParamsResponse { const NAME: &'static str = "QueryConnectionParamsResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.connection.v1.{}", Self::NAME) + "ibc.core.connection.v1.QueryConnectionParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.connection.v1.QueryConnectionParamsResponse".into() } } /// Generated client implementations. diff --git a/src/prost/ibc.core.types.v1.rs b/src/prost/ibc.core.types.v1.rs index c85e27ea..fea52458 100644 --- a/src/prost/ibc.core.types.v1.rs +++ b/src/prost/ibc.core.types.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// GenesisState defines the ibc module's genesis state. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -18,6 +19,9 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.core.types.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.core.types.v1.{}", Self::NAME) + "ibc.core.types.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.core.types.v1.GenesisState".into() } } diff --git a/src/prost/ibc.lightclients.localhost.v1.rs b/src/prost/ibc.lightclients.localhost.v1.rs index 4fe8fe76..e5413e37 100644 --- a/src/prost/ibc.lightclients.localhost.v1.rs +++ b/src/prost/ibc.lightclients.localhost.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ClientState defines a loopback (localhost) client. It requires (read-only) /// access to keys outside the client prefix. #[allow(clippy::derive_partial_eq_without_eq)] @@ -14,6 +15,9 @@ impl ::prost::Name for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.lightclients.localhost.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.localhost.v1.{}", Self::NAME) + "ibc.lightclients.localhost.v1.ClientState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.localhost.v1.ClientState".into() } } diff --git a/src/prost/ibc.lightclients.localhost.v2.rs b/src/prost/ibc.lightclients.localhost.v2.rs index 193b746b..649f5bef 100644 --- a/src/prost/ibc.lightclients.localhost.v2.rs +++ b/src/prost/ibc.lightclients.localhost.v2.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ClientState defines the 09-localhost client state #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -12,6 +13,9 @@ impl ::prost::Name for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.lightclients.localhost.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.localhost.v2.{}", Self::NAME) + "ibc.lightclients.localhost.v2.ClientState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.localhost.v2.ClientState".into() } } diff --git a/src/prost/ibc.lightclients.solomachine.v2.rs b/src/prost/ibc.lightclients.solomachine.v2.rs index d74115f8..dd87794f 100644 --- a/src/prost/ibc.lightclients.solomachine.v2.rs +++ b/src/prost/ibc.lightclients.solomachine.v2.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ClientState defines a solo machine client that tracks the current consensus /// state and if the client is frozen. #[allow(clippy::derive_partial_eq_without_eq)] @@ -20,7 +21,10 @@ impl ::prost::Name for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.ClientState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.ClientState".into() } } /// ConsensusState defines a solo machine consensus state. The sequence of a @@ -46,7 +50,10 @@ impl ::prost::Name for ConsensusState { const NAME: &'static str = "ConsensusState"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.ConsensusState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.ConsensusState".into() } } /// Header defines a solo machine consensus header @@ -71,7 +78,10 @@ impl ::prost::Name for Header { const NAME: &'static str = "Header"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.Header".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.Header".into() } } /// Misbehaviour defines misbehaviour for a solo machine which consists @@ -92,7 +102,10 @@ impl ::prost::Name for Misbehaviour { const NAME: &'static str = "Misbehaviour"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.Misbehaviour".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.Misbehaviour".into() } } /// SignatureAndData contains a signature and the data signed over to create that @@ -113,7 +126,10 @@ impl ::prost::Name for SignatureAndData { const NAME: &'static str = "SignatureAndData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.SignatureAndData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.SignatureAndData".into() } } /// TimestampedSignatureData contains the signature data and the timestamp of the @@ -130,7 +146,10 @@ impl ::prost::Name for TimestampedSignatureData { const NAME: &'static str = "TimestampedSignatureData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.TimestampedSignatureData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.TimestampedSignatureData".into() } } /// SignBytes defines the signed bytes used for signature verification. @@ -154,7 +173,10 @@ impl ::prost::Name for SignBytes { const NAME: &'static str = "SignBytes"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.SignBytes".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.SignBytes".into() } } /// HeaderData returns the SignBytes data for update verification. @@ -174,7 +196,10 @@ impl ::prost::Name for HeaderData { const NAME: &'static str = "HeaderData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.HeaderData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.HeaderData".into() } } /// ClientStateData returns the SignBytes data for client state verification. @@ -192,7 +217,10 @@ impl ::prost::Name for ClientStateData { const NAME: &'static str = "ClientStateData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.ClientStateData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.ClientStateData".into() } } /// ConsensusStateData returns the SignBytes data for consensus state @@ -211,7 +239,10 @@ impl ::prost::Name for ConsensusStateData { const NAME: &'static str = "ConsensusStateData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.ConsensusStateData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.ConsensusStateData".into() } } /// ConnectionStateData returns the SignBytes data for connection state @@ -230,7 +261,10 @@ impl ::prost::Name for ConnectionStateData { const NAME: &'static str = "ConnectionStateData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.ConnectionStateData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.ConnectionStateData".into() } } /// ChannelStateData returns the SignBytes data for channel state @@ -247,7 +281,10 @@ impl ::prost::Name for ChannelStateData { const NAME: &'static str = "ChannelStateData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.ChannelStateData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.ChannelStateData".into() } } /// PacketCommitmentData returns the SignBytes data for packet commitment @@ -264,7 +301,10 @@ impl ::prost::Name for PacketCommitmentData { const NAME: &'static str = "PacketCommitmentData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.PacketCommitmentData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.PacketCommitmentData".into() } } /// PacketAcknowledgementData returns the SignBytes data for acknowledgement @@ -281,7 +321,10 @@ impl ::prost::Name for PacketAcknowledgementData { const NAME: &'static str = "PacketAcknowledgementData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.PacketAcknowledgementData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData".into() } } /// PacketReceiptAbsenceData returns the SignBytes data for @@ -296,7 +339,10 @@ impl ::prost::Name for PacketReceiptAbsenceData { const NAME: &'static str = "PacketReceiptAbsenceData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData".into() } } /// NextSequenceRecvData returns the SignBytes data for verification of the next @@ -313,7 +359,10 @@ impl ::prost::Name for NextSequenceRecvData { const NAME: &'static str = "NextSequenceRecvData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v2.{}", Self::NAME) + "ibc.lightclients.solomachine.v2.NextSequenceRecvData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v2.NextSequenceRecvData".into() } } /// DataType defines the type of solo machine proof being created. This is done diff --git a/src/prost/ibc.lightclients.solomachine.v3.rs b/src/prost/ibc.lightclients.solomachine.v3.rs index ee2d1987..d245e636 100644 --- a/src/prost/ibc.lightclients.solomachine.v3.rs +++ b/src/prost/ibc.lightclients.solomachine.v3.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ClientState defines a solo machine client that tracks the current consensus /// state and if the client is frozen. #[allow(clippy::derive_partial_eq_without_eq)] @@ -16,7 +17,10 @@ impl ::prost::Name for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v3.{}", Self::NAME) + "ibc.lightclients.solomachine.v3.ClientState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v3.ClientState".into() } } /// ConsensusState defines a solo machine consensus state. The sequence of a @@ -42,7 +46,10 @@ impl ::prost::Name for ConsensusState { const NAME: &'static str = "ConsensusState"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v3.{}", Self::NAME) + "ibc.lightclients.solomachine.v3.ConsensusState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v3.ConsensusState".into() } } /// Header defines a solo machine consensus header @@ -64,7 +71,10 @@ impl ::prost::Name for Header { const NAME: &'static str = "Header"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v3.{}", Self::NAME) + "ibc.lightclients.solomachine.v3.Header".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v3.Header".into() } } /// Misbehaviour defines misbehaviour for a solo machine which consists @@ -83,7 +93,10 @@ impl ::prost::Name for Misbehaviour { const NAME: &'static str = "Misbehaviour"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v3.{}", Self::NAME) + "ibc.lightclients.solomachine.v3.Misbehaviour".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v3.Misbehaviour".into() } } /// SignatureAndData contains a signature and the data signed over to create that @@ -104,7 +117,10 @@ impl ::prost::Name for SignatureAndData { const NAME: &'static str = "SignatureAndData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v3.{}", Self::NAME) + "ibc.lightclients.solomachine.v3.SignatureAndData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v3.SignatureAndData".into() } } /// TimestampedSignatureData contains the signature data and the timestamp of the @@ -121,7 +137,10 @@ impl ::prost::Name for TimestampedSignatureData { const NAME: &'static str = "TimestampedSignatureData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v3.{}", Self::NAME) + "ibc.lightclients.solomachine.v3.TimestampedSignatureData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v3.TimestampedSignatureData".into() } } /// SignBytes defines the signed bytes used for signature verification. @@ -148,7 +167,10 @@ impl ::prost::Name for SignBytes { const NAME: &'static str = "SignBytes"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v3.{}", Self::NAME) + "ibc.lightclients.solomachine.v3.SignBytes".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v3.SignBytes".into() } } /// HeaderData returns the SignBytes data for update verification. @@ -168,6 +190,9 @@ impl ::prost::Name for HeaderData { const NAME: &'static str = "HeaderData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.solomachine.v3.{}", Self::NAME) + "ibc.lightclients.solomachine.v3.HeaderData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.solomachine.v3.HeaderData".into() } } diff --git a/src/prost/ibc.lightclients.tendermint.v1.rs b/src/prost/ibc.lightclients.tendermint.v1.rs index ff15fefe..c8f1fb73 100644 --- a/src/prost/ibc.lightclients.tendermint.v1.rs +++ b/src/prost/ibc.lightclients.tendermint.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// ClientState from Tendermint tracks the current validator set, latest height, /// and a possible frozen height. #[allow(clippy::derive_partial_eq_without_eq)] @@ -60,7 +61,10 @@ impl ::prost::Name for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.tendermint.v1.{}", Self::NAME) + "ibc.lightclients.tendermint.v1.ClientState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.tendermint.v1.ClientState".into() } } /// ConsensusState defines the consensus state from Tendermint. @@ -85,7 +89,10 @@ impl ::prost::Name for ConsensusState { const NAME: &'static str = "ConsensusState"; const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.tendermint.v1.{}", Self::NAME) + "ibc.lightclients.tendermint.v1.ConsensusState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.tendermint.v1.ConsensusState".into() } } /// Misbehaviour is a wrapper over two conflicting Headers @@ -106,7 +113,10 @@ impl ::prost::Name for Misbehaviour { const NAME: &'static str = "Misbehaviour"; const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.tendermint.v1.{}", Self::NAME) + "ibc.lightclients.tendermint.v1.Misbehaviour".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.tendermint.v1.Misbehaviour".into() } } /// Header defines the Tendermint client consensus Header. @@ -141,7 +151,10 @@ impl ::prost::Name for Header { const NAME: &'static str = "Header"; const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.tendermint.v1.{}", Self::NAME) + "ibc.lightclients.tendermint.v1.Header".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.tendermint.v1.Header".into() } } /// Fraction defines the protobuf message type for tmmath.Fraction that only @@ -158,6 +171,9 @@ impl ::prost::Name for Fraction { const NAME: &'static str = "Fraction"; const PACKAGE: &'static str = "ibc.lightclients.tendermint.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.tendermint.v1.{}", Self::NAME) + "ibc.lightclients.tendermint.v1.Fraction".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.tendermint.v1.Fraction".into() } } diff --git a/src/prost/ibc.lightclients.wasm.v1.rs b/src/prost/ibc.lightclients.wasm.v1.rs index e540fc45..ac01e9e9 100644 --- a/src/prost/ibc.lightclients.wasm.v1.rs +++ b/src/prost/ibc.lightclients.wasm.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// MsgStoreCode defines the request type for the StoreCode rpc. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -13,7 +14,10 @@ impl ::prost::Name for MsgStoreCode { const NAME: &'static str = "MsgStoreCode"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.MsgStoreCode".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.MsgStoreCode".into() } } /// MsgStoreCodeResponse defines the response type for the StoreCode rpc @@ -28,7 +32,10 @@ impl ::prost::Name for MsgStoreCodeResponse { const NAME: &'static str = "MsgStoreCodeResponse"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.MsgStoreCodeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.MsgStoreCodeResponse".into() } } /// MsgRemoveChecksum defines the request type for the MsgRemoveChecksum rpc. @@ -46,7 +53,10 @@ impl ::prost::Name for MsgRemoveChecksum { const NAME: &'static str = "MsgRemoveChecksum"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.MsgRemoveChecksum".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.MsgRemoveChecksum".into() } } /// MsgStoreChecksumResponse defines the response type for the StoreCode rpc @@ -57,7 +67,10 @@ impl ::prost::Name for MsgRemoveChecksumResponse { const NAME: &'static str = "MsgRemoveChecksumResponse"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.MsgRemoveChecksumResponse".into() } } /// MsgMigrateContract defines the request type for the MigrateContract rpc. @@ -81,7 +94,10 @@ impl ::prost::Name for MsgMigrateContract { const NAME: &'static str = "MsgMigrateContract"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.MsgMigrateContract".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.MsgMigrateContract".into() } } /// MsgMigrateContractResponse defines the response type for the MigrateContract rpc @@ -92,7 +108,10 @@ impl ::prost::Name for MsgMigrateContractResponse { const NAME: &'static str = "MsgMigrateContractResponse"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.MsgMigrateContractResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.MsgMigrateContractResponse".into() } } /// Generated client implementations. @@ -566,7 +585,10 @@ impl ::prost::Name for QueryChecksumsRequest { const NAME: &'static str = "QueryChecksumsRequest"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.QueryChecksumsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.QueryChecksumsRequest".into() } } /// QueryChecksumsResponse is the response type for the Query/Checksums RPC method. @@ -586,7 +608,10 @@ impl ::prost::Name for QueryChecksumsResponse { const NAME: &'static str = "QueryChecksumsResponse"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.QueryChecksumsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.QueryChecksumsResponse".into() } } /// QueryCodeRequest is the request type for the Query/Code RPC method. @@ -601,7 +626,10 @@ impl ::prost::Name for QueryCodeRequest { const NAME: &'static str = "QueryCodeRequest"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.QueryCodeRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.QueryCodeRequest".into() } } /// QueryCodeResponse is the response type for the Query/Code RPC method. @@ -615,7 +643,10 @@ impl ::prost::Name for QueryCodeResponse { const NAME: &'static str = "QueryCodeResponse"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.QueryCodeResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.QueryCodeResponse".into() } } /// Generated client implementations. @@ -1007,7 +1038,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.GenesisState".into() } } /// Contract stores contract code @@ -1022,7 +1056,10 @@ impl ::prost::Name for Contract { const NAME: &'static str = "Contract"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.Contract".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.Contract".into() } } /// Wasm light client's Client state @@ -1044,7 +1081,10 @@ impl ::prost::Name for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.ClientState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.ClientState".into() } } /// Wasm light client's ConsensusState @@ -1060,7 +1100,10 @@ impl ::prost::Name for ConsensusState { const NAME: &'static str = "ConsensusState"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.ConsensusState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.ConsensusState".into() } } /// Wasm light client message (either header(s) or misbehaviour) @@ -1078,7 +1121,10 @@ impl ::prost::Name for ClientMessage { const NAME: &'static str = "ClientMessage"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.ClientMessage".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.ClientMessage".into() } } /// Checksums defines a list of all checksums that are stored @@ -1095,6 +1141,9 @@ impl ::prost::Name for Checksums { const NAME: &'static str = "Checksums"; const PACKAGE: &'static str = "ibc.lightclients.wasm.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.lightclients.wasm.v1.{}", Self::NAME) + "ibc.lightclients.wasm.v1.Checksums".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.lightclients.wasm.v1.Checksums".into() } } diff --git a/src/prost/ibc.mock.rs b/src/prost/ibc.mock.rs index e608e01d..40f632e2 100644 --- a/src/prost/ibc.mock.rs +++ b/src/prost/ibc.mock.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Header { @@ -10,7 +11,10 @@ impl ::prost::Name for Header { const NAME: &'static str = "Header"; const PACKAGE: &'static str = "ibc.mock"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.mock.{}", Self::NAME) + "ibc.mock.Header".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.mock.Header".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -27,7 +31,10 @@ impl ::prost::Name for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.mock"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.mock.{}", Self::NAME) + "ibc.mock.ClientState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.mock.ClientState".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -40,7 +47,10 @@ impl ::prost::Name for ConsensusState { const NAME: &'static str = "ConsensusState"; const PACKAGE: &'static str = "ibc.mock"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.mock.{}", Self::NAME) + "ibc.mock.ConsensusState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.mock.ConsensusState".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -57,6 +67,9 @@ impl ::prost::Name for Misbehaviour { const NAME: &'static str = "Misbehaviour"; const PACKAGE: &'static str = "ibc.mock"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("ibc.mock.{}", Self::NAME) + "ibc.mock.Misbehaviour".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/ibc.mock.Misbehaviour".into() } } diff --git a/src/prost/interchain_security.ccv.consumer.v1.rs b/src/prost/interchain_security.ccv.consumer.v1.rs index b9e93f4d..41ba559f 100644 --- a/src/prost/interchain_security.ccv.consumer.v1.rs +++ b/src/prost/interchain_security.ccv.consumer.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// CrossChainValidator defines the type used to store validator information internal /// to the consumer CCV module. Note one cross chain validator entry is persisted for /// each consumer validator, where incoming VSC packets update this data, which is eventually @@ -21,7 +22,10 @@ impl ::prost::Name for CrossChainValidator { const NAME: &'static str = "CrossChainValidator"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.CrossChainValidator".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.CrossChainValidator".into() } } /// A record storing the state of a slash packet sent to the provider chain @@ -42,7 +46,10 @@ impl ::prost::Name for SlashRecord { const NAME: &'static str = "SlashRecord"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.SlashRecord".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.SlashRecord".into() } } /// NextFeeDistributionEstimate holds information about next fee distribution @@ -75,7 +82,10 @@ impl ::prost::Name for NextFeeDistributionEstimate { const NAME: &'static str = "NextFeeDistributionEstimate"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.NextFeeDistributionEstimate".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.NextFeeDistributionEstimate".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -85,7 +95,12 @@ impl ::prost::Name for QueryNextFeeDistributionEstimateRequest { const NAME: &'static str = "QueryNextFeeDistributionEstimateRequest"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.QueryNextFeeDistributionEstimateRequest" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.QueryNextFeeDistributionEstimateRequest" + .into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -98,7 +113,12 @@ impl ::prost::Name for QueryNextFeeDistributionEstimateResponse { const NAME: &'static str = "QueryNextFeeDistributionEstimateResponse"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.QueryNextFeeDistributionEstimateResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.QueryNextFeeDistributionEstimateResponse" + .into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -108,7 +128,10 @@ impl ::prost::Name for QueryParamsRequest { const NAME: &'static str = "QueryParamsRequest"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.QueryParamsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.QueryParamsRequest".into() } } /// QueryParamsResponse is response type for the Query/Params RPC method. @@ -123,7 +146,10 @@ impl ::prost::Name for QueryParamsResponse { const NAME: &'static str = "QueryParamsResponse"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.QueryParamsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.QueryParamsResponse".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -133,7 +159,10 @@ impl ::prost::Name for QueryProviderInfoRequest { const NAME: &'static str = "QueryProviderInfoRequest"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.QueryProviderInfoRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.QueryProviderInfoRequest".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -148,7 +177,10 @@ impl ::prost::Name for QueryProviderInfoResponse { const NAME: &'static str = "QueryProviderInfoResponse"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.QueryProviderInfoResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.QueryProviderInfoResponse".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -167,7 +199,10 @@ impl ::prost::Name for ChainInfo { const NAME: &'static str = "ChainInfo"; const PACKAGE: &'static str = "interchain_security.ccv.consumer.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.consumer.v1.{}", Self::NAME) + "interchain_security.ccv.consumer.v1.ChainInfo".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.consumer.v1.ChainInfo".into() } } /// Generated client implementations. diff --git a/src/prost/interchain_security.ccv.provider.v1.rs b/src/prost/interchain_security.ccv.provider.v1.rs index f0561dee..19cc0648 100644 --- a/src/prost/interchain_security.ccv.provider.v1.rs +++ b/src/prost/interchain_security.ccv.provider.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MsgAssignConsumerKey { @@ -17,7 +18,10 @@ impl ::prost::Name for MsgAssignConsumerKey { const NAME: &'static str = "MsgAssignConsumerKey"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.MsgAssignConsumerKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.MsgAssignConsumerKey".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -27,7 +31,10 @@ impl ::prost::Name for MsgAssignConsumerKeyResponse { const NAME: &'static str = "MsgAssignConsumerKeyResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.MsgAssignConsumerKeyResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.MsgAssignConsumerKeyResponse".into() } } /// MsgSubmitConsumerMisbehaviour defines a message that reports a light client attack, @@ -48,7 +55,10 @@ impl ::prost::Name for MsgSubmitConsumerMisbehaviour { const NAME: &'static str = "MsgSubmitConsumerMisbehaviour"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.MsgSubmitConsumerMisbehaviour".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.MsgSubmitConsumerMisbehaviour".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -58,7 +68,12 @@ impl ::prost::Name for MsgSubmitConsumerMisbehaviourResponse { const NAME: &'static str = "MsgSubmitConsumerMisbehaviourResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.MsgSubmitConsumerMisbehaviourResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.MsgSubmitConsumerMisbehaviourResponse" + .into() } } /// MsgSubmitConsumerDoubleVoting defines a message that reports @@ -84,7 +99,10 @@ impl ::prost::Name for MsgSubmitConsumerDoubleVoting { const NAME: &'static str = "MsgSubmitConsumerDoubleVoting"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.MsgSubmitConsumerDoubleVoting".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.MsgSubmitConsumerDoubleVoting".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -94,7 +112,12 @@ impl ::prost::Name for MsgSubmitConsumerDoubleVotingResponse { const NAME: &'static str = "MsgSubmitConsumerDoubleVotingResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.MsgSubmitConsumerDoubleVotingResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.MsgSubmitConsumerDoubleVotingResponse" + .into() } } /// Generated client implementations. @@ -652,7 +675,10 @@ impl ::prost::Name for ConsumerAdditionProposal { const NAME: &'static str = "ConsumerAdditionProposal"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ConsumerAdditionProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ConsumerAdditionProposal".into() } } /// ConsumerRemovalProposal is a governance proposal on the provider chain to @@ -682,7 +708,10 @@ impl ::prost::Name for ConsumerRemovalProposal { const NAME: &'static str = "ConsumerRemovalProposal"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ConsumerRemovalProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ConsumerRemovalProposal".into() } } /// ChangeRewardDenomsProposal is a governance proposal on the provider chain to @@ -707,7 +736,10 @@ impl ::prost::Name for ChangeRewardDenomsProposal { const NAME: &'static str = "ChangeRewardDenomsProposal"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ChangeRewardDenomsProposal".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ChangeRewardDenomsProposal".into() } } /// A persisted queue entry indicating that a slash packet data instance needs to @@ -741,7 +773,10 @@ impl ::prost::Name for GlobalSlashEntry { const NAME: &'static str = "GlobalSlashEntry"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.GlobalSlashEntry".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.GlobalSlashEntry".into() } } /// Params defines the parameters for CCV Provider module @@ -799,7 +834,10 @@ impl ::prost::Name for Params { const NAME: &'static str = "Params"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.Params".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.Params".into() } } /// SlashAcks contains cons addresses of consumer chain validators @@ -814,7 +852,10 @@ impl ::prost::Name for SlashAcks { const NAME: &'static str = "SlashAcks"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.SlashAcks".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.SlashAcks".into() } } /// ConsumerAdditionProposals holds pending governance proposals on the provider @@ -830,7 +871,10 @@ impl ::prost::Name for ConsumerAdditionProposals { const NAME: &'static str = "ConsumerAdditionProposals"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ConsumerAdditionProposals".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ConsumerAdditionProposals".into() } } /// ConsumerRemovalProposals holds pending governance proposals on the provider @@ -846,7 +890,10 @@ impl ::prost::Name for ConsumerRemovalProposals { const NAME: &'static str = "ConsumerRemovalProposals"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ConsumerRemovalProposals".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ConsumerRemovalProposals".into() } } /// AddressList contains a list of consensus addresses @@ -860,7 +907,10 @@ impl ::prost::Name for AddressList { const NAME: &'static str = "AddressList"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.AddressList".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.AddressList".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -875,7 +925,10 @@ impl ::prost::Name for ChannelToChain { const NAME: &'static str = "ChannelToChain"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ChannelToChain".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ChannelToChain".into() } } /// VscUnbondingOps contains the IDs of unbonding operations that are waiting for @@ -892,7 +945,10 @@ impl ::prost::Name for VscUnbondingOps { const NAME: &'static str = "VscUnbondingOps"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.VscUnbondingOps".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.VscUnbondingOps".into() } } /// UnbondingOp contains the ids of consumer chains that need to unbond before @@ -912,7 +968,10 @@ impl ::prost::Name for UnbondingOp { const NAME: &'static str = "UnbondingOp"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.UnbondingOp".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.UnbondingOp".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -927,7 +986,10 @@ impl ::prost::Name for InitTimeoutTimestamp { const NAME: &'static str = "InitTimeoutTimestamp"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.InitTimeoutTimestamp".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.InitTimeoutTimestamp".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -944,7 +1006,10 @@ impl ::prost::Name for VscSendTimestamp { const NAME: &'static str = "VscSendTimestamp"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.VscSendTimestamp".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.VscSendTimestamp".into() } } /// ValidatorSetChangePackets is a pb list of ccv.ValidatorSetChangePacketData. @@ -958,7 +1023,10 @@ impl ::prost::Name for ValidatorSetChangePackets { const NAME: &'static str = "ValidatorSetChangePackets"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ValidatorSetChangePackets".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ValidatorSetChangePackets".into() } } /// MaturedUnbondingOps defines a list of ids corresponding to ids of matured @@ -973,7 +1041,10 @@ impl ::prost::Name for MaturedUnbondingOps { const NAME: &'static str = "MaturedUnbondingOps"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.MaturedUnbondingOps".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.MaturedUnbondingOps".into() } } /// ExportedVscSendTimestamps is VscSendTimestamp with chainID info for exporting to genesis @@ -989,7 +1060,10 @@ impl ::prost::Name for ExportedVscSendTimestamp { const NAME: &'static str = "ExportedVscSendTimestamp"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ExportedVscSendTimestamp".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ExportedVscSendTimestamp".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1006,7 +1080,10 @@ impl ::prost::Name for KeyAssignmentReplacement { const NAME: &'static str = "KeyAssignmentReplacement"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.KeyAssignmentReplacement".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.KeyAssignmentReplacement".into() } } /// Used to serialize the ValidatorConsumerPubKey index from key assignment @@ -1026,7 +1103,10 @@ impl ::prost::Name for ValidatorConsumerPubKey { const NAME: &'static str = "ValidatorConsumerPubKey"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ValidatorConsumerPubKey".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ValidatorConsumerPubKey".into() } } /// Used to serialize the ValidatorConsumerAddr index from key assignment @@ -1046,7 +1126,10 @@ impl ::prost::Name for ValidatorByConsumerAddr { const NAME: &'static str = "ValidatorByConsumerAddr"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ValidatorByConsumerAddr".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ValidatorByConsumerAddr".into() } } /// Used to serialize the ConsumerAddrsToPrune index from key assignment @@ -1065,7 +1148,10 @@ impl ::prost::Name for ConsumerAddrsToPrune { const NAME: &'static str = "ConsumerAddrsToPrune"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ConsumerAddrsToPrune".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ConsumerAddrsToPrune".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1078,7 +1164,10 @@ impl ::prost::Name for QueryConsumerGenesisRequest { const NAME: &'static str = "QueryConsumerGenesisRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryConsumerGenesisRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryConsumerGenesisRequest".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1091,7 +1180,10 @@ impl ::prost::Name for QueryConsumerGenesisResponse { const NAME: &'static str = "QueryConsumerGenesisResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryConsumerGenesisResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryConsumerGenesisResponse".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1101,7 +1193,10 @@ impl ::prost::Name for QueryConsumerChainsRequest { const NAME: &'static str = "QueryConsumerChainsRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryConsumerChainsRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryConsumerChainsRequest".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1114,7 +1209,10 @@ impl ::prost::Name for QueryConsumerChainsResponse { const NAME: &'static str = "QueryConsumerChainsResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryConsumerChainsResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryConsumerChainsResponse".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1124,7 +1222,12 @@ impl ::prost::Name for QueryConsumerChainStartProposalsRequest { const NAME: &'static str = "QueryConsumerChainStartProposalsRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryConsumerChainStartProposalsRequest" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryConsumerChainStartProposalsRequest" + .into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1137,7 +1240,12 @@ impl ::prost::Name for QueryConsumerChainStartProposalsResponse { const NAME: &'static str = "QueryConsumerChainStartProposalsResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryConsumerChainStartProposalsResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryConsumerChainStartProposalsResponse" + .into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1147,7 +1255,12 @@ impl ::prost::Name for QueryConsumerChainStopProposalsRequest { const NAME: &'static str = "QueryConsumerChainStopProposalsRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryConsumerChainStopProposalsRequest" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryConsumerChainStopProposalsRequest" + .into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1160,7 +1273,12 @@ impl ::prost::Name for QueryConsumerChainStopProposalsResponse { const NAME: &'static str = "QueryConsumerChainStopProposalsResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryConsumerChainStopProposalsResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryConsumerChainStopProposalsResponse" + .into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1175,7 +1293,10 @@ impl ::prost::Name for Chain { const NAME: &'static str = "Chain"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.Chain".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.Chain".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1192,7 +1313,10 @@ impl ::prost::Name for QueryValidatorConsumerAddrRequest { const NAME: &'static str = "QueryValidatorConsumerAddrRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryValidatorConsumerAddrRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryValidatorConsumerAddrRequest".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1206,7 +1330,10 @@ impl ::prost::Name for QueryValidatorConsumerAddrResponse { const NAME: &'static str = "QueryValidatorConsumerAddrResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryValidatorConsumerAddrResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryValidatorConsumerAddrResponse".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1223,7 +1350,10 @@ impl ::prost::Name for QueryValidatorProviderAddrRequest { const NAME: &'static str = "QueryValidatorProviderAddrRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryValidatorProviderAddrRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryValidatorProviderAddrRequest".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1237,7 +1367,10 @@ impl ::prost::Name for QueryValidatorProviderAddrResponse { const NAME: &'static str = "QueryValidatorProviderAddrResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryValidatorProviderAddrResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryValidatorProviderAddrResponse".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1247,7 +1380,10 @@ impl ::prost::Name for QueryThrottleStateRequest { const NAME: &'static str = "QueryThrottleStateRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryThrottleStateRequest".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryThrottleStateRequest".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1274,7 +1410,10 @@ impl ::prost::Name for QueryThrottleStateResponse { const NAME: &'static str = "QueryThrottleStateResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryThrottleStateResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryThrottleStateResponse".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1287,7 +1426,12 @@ impl ::prost::Name for QueryThrottledConsumerPacketDataRequest { const NAME: &'static str = "QueryThrottledConsumerPacketDataRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryThrottledConsumerPacketDataRequest" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryThrottledConsumerPacketDataRequest" + .into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1304,7 +1448,12 @@ impl ::prost::Name for QueryThrottledConsumerPacketDataResponse { const NAME: &'static str = "QueryThrottledConsumerPacketDataResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryThrottledConsumerPacketDataResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryThrottledConsumerPacketDataResponse" + .into() } } /// A query wrapper type for the global entry and data relevant to a throttled @@ -1321,7 +1470,10 @@ impl ::prost::Name for ThrottledSlashPacket { const NAME: &'static str = "ThrottledSlashPacket"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ThrottledSlashPacket".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ThrottledSlashPacket".into() } } /// ThrottledPacketDataWrapper contains either SlashPacketData or @@ -1347,7 +1499,10 @@ impl ::prost::Name for ThrottledPacketDataWrapper { const NAME: &'static str = "ThrottledPacketDataWrapper"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ThrottledPacketDataWrapper".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ThrottledPacketDataWrapper".into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1357,7 +1512,12 @@ impl ::prost::Name for QueryRegisteredConsumerRewardDenomsRequest { const NAME: &'static str = "QueryRegisteredConsumerRewardDenomsRequest"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryRegisteredConsumerRewardDenomsRequest" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryRegisteredConsumerRewardDenomsRequest" + .into() } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -1370,7 +1530,12 @@ impl ::prost::Name for QueryRegisteredConsumerRewardDenomsResponse { const NAME: &'static str = "QueryRegisteredConsumerRewardDenomsResponse"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.QueryRegisteredConsumerRewardDenomsResponse" + .into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.QueryRegisteredConsumerRewardDenomsResponse" + .into() } } /// Generated client implementations. @@ -2452,7 +2617,10 @@ impl ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.GenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.GenesisState".into() } } /// The provider CCV module's knowledge of consumer state. @@ -2493,7 +2661,10 @@ impl ::prost::Name for ConsumerState { const NAME: &'static str = "ConsumerState"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ConsumerState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ConsumerState".into() } } /// ValsetUpdateIdToHeight defines the genesis information for the mapping @@ -2510,6 +2681,9 @@ impl ::prost::Name for ValsetUpdateIdToHeight { const NAME: &'static str = "ValsetUpdateIdToHeight"; const PACKAGE: &'static str = "interchain_security.ccv.provider.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.provider.v1.{}", Self::NAME) + "interchain_security.ccv.provider.v1.ValsetUpdateIdToHeight".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.provider.v1.ValsetUpdateIdToHeight".into() } } diff --git a/src/prost/interchain_security.ccv.v1.rs b/src/prost/interchain_security.ccv.v1.rs index c072c5f1..38756f5b 100644 --- a/src/prost/interchain_security.ccv.v1.rs +++ b/src/prost/interchain_security.ccv.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// This packet is sent from provider chain to consumer chain if the validator /// set for consumer chain changes (due to new bonding/unbonding messages or /// slashing events) A VSCMatured packet from consumer chain will be sent @@ -21,7 +22,10 @@ impl ::prost::Name for ValidatorSetChangePacketData { const NAME: &'static str = "ValidatorSetChangePacketData"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.ValidatorSetChangePacketData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.ValidatorSetChangePacketData".into() } } /// This packet is sent from the consumer chain to the provider chain @@ -37,7 +41,10 @@ impl ::prost::Name for VscMaturedPacketData { const NAME: &'static str = "VSCMaturedPacketData"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.VSCMaturedPacketData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.VSCMaturedPacketData".into() } } /// This packet is sent from the consumer chain to the provider chain @@ -62,7 +69,10 @@ impl ::prost::Name for SlashPacketData { const NAME: &'static str = "SlashPacketData"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.SlashPacketData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.SlashPacketData".into() } } /// ConsumerPacketData contains a consumer packet data and a type tag @@ -89,7 +99,10 @@ impl ::prost::Name for ConsumerPacketData { const NAME: &'static str = "ConsumerPacketData"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.ConsumerPacketData".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.ConsumerPacketData".into() } } /// Note this type is used during IBC handshake methods for both the consumer and provider @@ -105,7 +118,10 @@ impl ::prost::Name for HandshakeMetadata { const NAME: &'static str = "HandshakeMetadata"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.HandshakeMetadata".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.HandshakeMetadata".into() } } /// ConsumerPacketData contains a consumer packet data and a type tag @@ -133,7 +149,10 @@ impl ::prost::Name for ConsumerPacketDataV1 { const NAME: &'static str = "ConsumerPacketDataV1"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.ConsumerPacketDataV1".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.ConsumerPacketDataV1".into() } } /// This packet is sent from the consumer chain to the provider chain @@ -154,7 +173,10 @@ impl ::prost::Name for SlashPacketDataV1 { const NAME: &'static str = "SlashPacketDataV1"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.SlashPacketDataV1".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.SlashPacketDataV1".into() } } /// ConsumerPacketType indicates interchain security specific packet types. @@ -303,7 +325,10 @@ impl ::prost::Name for ConsumerParams { const NAME: &'static str = "ConsumerParams"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.ConsumerParams".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.ConsumerParams".into() } } /// ConsumerGenesisState defines the CCV consumer chain genesis state. @@ -364,7 +389,10 @@ impl ::prost::Name for ConsumerGenesisState { const NAME: &'static str = "ConsumerGenesisState"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.ConsumerGenesisState".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.ConsumerGenesisState".into() } } /// HeightValsetUpdateID represents a mapping internal to the consumer CCV module @@ -381,7 +409,10 @@ impl ::prost::Name for HeightToValsetUpdateId { const NAME: &'static str = "HeightToValsetUpdateID"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.HeightToValsetUpdateID".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.HeightToValsetUpdateID".into() } } /// OutstandingDowntime defines the type used internally to the consumer CCV module, @@ -397,7 +428,10 @@ impl ::prost::Name for OutstandingDowntime { const NAME: &'static str = "OutstandingDowntime"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.OutstandingDowntime".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.OutstandingDowntime".into() } } /// LastTransmissionBlockHeight is the last time validator holding @@ -413,7 +447,10 @@ impl ::prost::Name for LastTransmissionBlockHeight { const NAME: &'static str = "LastTransmissionBlockHeight"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.LastTransmissionBlockHeight".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.LastTransmissionBlockHeight".into() } } /// MaturingVSCPacket represents a vsc packet that is maturing internal to the @@ -434,7 +471,10 @@ impl ::prost::Name for MaturingVscPacket { const NAME: &'static str = "MaturingVSCPacket"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.MaturingVSCPacket".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.MaturingVSCPacket".into() } } /// ConsumerPacketDataList is a list of consumer packet data packets. @@ -453,6 +493,9 @@ impl ::prost::Name for ConsumerPacketDataList { const NAME: &'static str = "ConsumerPacketDataList"; const PACKAGE: &'static str = "interchain_security.ccv.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("interchain_security.ccv.v1.{}", Self::NAME) + "interchain_security.ccv.v1.ConsumerPacketDataList".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/interchain_security.ccv.v1.ConsumerPacketDataList".into() } } diff --git a/src/prost/proto_descriptor.bin b/src/prost/proto_descriptor.bin index a358d97cfaf1815164958c2503e296f8e42ad530..096028263110bc61e8f1d8644d8042f767f8a452 100644 GIT binary patch delta 70 zcmaETMDO(xy@oA}0ecutwg>KEylcf|1ZLZS|2F@ delta 70 zcmaETMDO(xy@oA}0ecvYw+HTFylcf|XbNKJGPTG4WCUUm%?!jWK+FonY(UHo#2i4( LxjptL7vD+%P9GmA diff --git a/src/prost/stride.interchainquery.v1.rs b/src/prost/stride.interchainquery.v1.rs index b13204f6..4e89d9e9 100644 --- a/src/prost/stride.interchainquery.v1.rs +++ b/src/prost/stride.interchainquery.v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// MsgSubmitQueryResponse represents a message type to fulfil a query request. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -19,7 +20,10 @@ impl ::prost::Name for MsgSubmitQueryResponse { const NAME: &'static str = "MsgSubmitQueryResponse"; const PACKAGE: &'static str = "stride.interchainquery.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("stride.interchainquery.v1.{}", Self::NAME) + "stride.interchainquery.v1.MsgSubmitQueryResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/stride.interchainquery.v1.MsgSubmitQueryResponse".into() } } /// MsgSubmitQueryResponseResponse defines the MsgSubmitQueryResponse response @@ -31,7 +35,10 @@ impl ::prost::Name for MsgSubmitQueryResponseResponse { const NAME: &'static str = "MsgSubmitQueryResponseResponse"; const PACKAGE: &'static str = "stride.interchainquery.v1"; fn full_name() -> ::prost::alloc::string::String { - ::prost::alloc::format!("stride.interchainquery.v1.{}", Self::NAME) + "stride.interchainquery.v1.MsgSubmitQueryResponseResponse".into() + } + fn type_url() -> ::prost::alloc::string::String { + "/stride.interchainquery.v1.MsgSubmitQueryResponseResponse".into() } } /// Generated client implementations. diff --git a/tools/proto-compiler/Cargo.toml b/tools/proto-compiler/Cargo.toml index b0f8c69c..97264623 100644 --- a/tools/proto-compiler/Cargo.toml +++ b/tools/proto-compiler/Cargo.toml @@ -11,7 +11,7 @@ git2 = "0.18" prost-build = "0.12" walkdir = "2.3" argh = "0.1" -tonic = "0.10" -tonic-build = "0.10" +tonic = "0.11" +tonic-build = "0.11" similar = "2.2" informalsystems-pbjson-build = "0.7.0" From 5535b53ad84c36304507a23218f74a83060e713b Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Wed, 29 May 2024 16:29:27 -0500 Subject: [PATCH 3/7] Add changelog entry for bumping `borsh` (#212) * Bump borsh to v1 * Undo toml formatting * Bump borsh to v1.5 and include changelog * Undo toml formatting * Revert borsh to v1 from v1.5 * Edit changelog --- .changelog/unreleased/breaking-changes/210-borsh-v1.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .changelog/unreleased/breaking-changes/210-borsh-v1.md diff --git a/.changelog/unreleased/breaking-changes/210-borsh-v1.md b/.changelog/unreleased/breaking-changes/210-borsh-v1.md new file mode 100644 index 00000000..1401b211 --- /dev/null +++ b/.changelog/unreleased/breaking-changes/210-borsh-v1.md @@ -0,0 +1,2 @@ +- Update `borsh` to v1 + ([\#210](https://github.com/cosmos/ibc-proto-rs/pull/210)) From 3002da73b0c6101992fafd3746d2a559b6a56be5 Mon Sep 17 00:00:00 2001 From: Sean Chen Date: Thu, 30 May 2024 12:07:42 -0500 Subject: [PATCH 4/7] Release v0.45.0 (#214) * Update changelog * Bump version to 0.45.0 * Update CONTRIBUTING.md * Update README * Fix summary --------- Co-authored-by: Romain Ruetschi --- .../breaking-changes/195-tonic-0.11.md | 0 .../breaking-changes/210-borsh-v1.md | 0 .changelog/v0.45.0/summary.md | 1 + CHANGELOG.md | 12 ++++++++++++ CONTRIBUTING.md | 8 ++------ Cargo.toml | 2 +- README.md | 4 +++- 7 files changed, 19 insertions(+), 8 deletions(-) rename .changelog/{unreleased => v0.45.0}/breaking-changes/195-tonic-0.11.md (100%) rename .changelog/{unreleased => v0.45.0}/breaking-changes/210-borsh-v1.md (100%) create mode 100644 .changelog/v0.45.0/summary.md diff --git a/.changelog/unreleased/breaking-changes/195-tonic-0.11.md b/.changelog/v0.45.0/breaking-changes/195-tonic-0.11.md similarity index 100% rename from .changelog/unreleased/breaking-changes/195-tonic-0.11.md rename to .changelog/v0.45.0/breaking-changes/195-tonic-0.11.md diff --git a/.changelog/unreleased/breaking-changes/210-borsh-v1.md b/.changelog/v0.45.0/breaking-changes/210-borsh-v1.md similarity index 100% rename from .changelog/unreleased/breaking-changes/210-borsh-v1.md rename to .changelog/v0.45.0/breaking-changes/210-borsh-v1.md diff --git a/.changelog/v0.45.0/summary.md b/.changelog/v0.45.0/summary.md new file mode 100644 index 00000000..1d69d09a --- /dev/null +++ b/.changelog/v0.45.0/summary.md @@ -0,0 +1 @@ +This release updates `tonic` to v0.11.0 and `borsh` to v1. diff --git a/CHANGELOG.md b/CHANGELOG.md index cf2c3507..b07f26ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # CHANGELOG +## v0.45.0 + +*May 30th, 2024* + +This release updates `tonic` to v0.11.0 and `borsh` to v1. + +### BREAKING CHANGES + +- Update `tonic` to v0.11.0 ([#195](https://github.com/cosmos/ibc-proto-rs/pull/195)) +- Update `borsh` to v1 + ([\#210](https://github.com/cosmos/ibc-proto-rs/pull/210)) + ## v0.44.0 *April 25th, 2024* diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b659b32d..8b7077c5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -220,6 +220,7 @@ exposed. Our release process is as follows: +0. Bump the version in `Cargo.toml`. 1. Update the [changelog](#changelog) to reflect and summarize all changes in the release. This involves: 1. Running `unclog build -u` and copy pasting the output at the top @@ -228,13 +229,8 @@ Our release process is as follows: 2. Running `unclog release --version vX.Y.Z --editor ` to create a summary of all of the changes in this release. 3. Committing the updated `CHANGELOG.md` file and `.changelog` directory to the repo. -2. Push this to a branch `release/vX.Y.Z` according to the version number of +3. Push this to a branch `release/vX.Y.Z` according to the version number of the anticipated release (e.g. `release/v0.18.0`) and open a **draft PR**. -3. Bump all relevant versions in the codebase to the new version and push these - changes to the release PR. This includes: - 1. All `Cargo.toml` files (making sure dependencies' versions are updated too). - 2. All crates' `lib.rs` files documentation references' `html_root_url` - parameters must point to the new version. 4. Run `cargo doc --all-features --open` locally to double-check that all the documentation compiles and is up-to-date and coherent. Fix any potential issues here and push them to the release PR. diff --git a/Cargo.toml b/Cargo.toml index 33639618..43ff4734 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-proto" -version = "0.44.0" +version = "0.45.0" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" diff --git a/README.md b/README.md index ef3f8ea2..f6cc13e4 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,10 @@ ![Rust Stable][rustc-image] ![Rust 1.56.1+][rustc-version] -Rust crate for interacting with Cosmos SDK IBC structs. +Rust Protobuf definitions and gRPC clients for interacting with Cosmos SDK, IBC and Interchain Security. + This repository maintains all the data structures relevant for interacting with on-chain IBC data. + Whether you're building an IBC relayer, IBC modules, or any client software that consumes IBC data structures in Rust, you're at the right place. From 8f2992931a5b4c69e368783db78b44c7c28f97cf Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Thu, 30 May 2024 19:09:12 +0200 Subject: [PATCH 5/7] Update changelog --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b07f26ba..8241caed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,7 @@ This release updates `tonic` to v0.11.0 and `borsh` to v1. ### BREAKING CHANGES - Update `tonic` to v0.11.0 ([#195](https://github.com/cosmos/ibc-proto-rs/pull/195)) -- Update `borsh` to v1 - ([\#210](https://github.com/cosmos/ibc-proto-rs/pull/210)) +- Update `borsh` to v1 ([\#210](https://github.com/cosmos/ibc-proto-rs/pull/210)) ## v0.44.0 From b6a8c6aa2d92f64e3a9d77693ed5a6dd9a013bc7 Mon Sep 17 00:00:00 2001 From: Sergey <83376337+freak12techno@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:21:30 +0300 Subject: [PATCH 6/7] Update tendermint-proto to 0.37 (#216) * feat: update tendermint-proto to 0.37 * Update changelog entry Signed-off-by: Romain Ruetschi --------- Signed-off-by: Romain Ruetschi Co-authored-by: Romain Ruetschi --- .../unreleased/breaking-changes/215-tendermint-proto-0.37.md | 2 ++ Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .changelog/unreleased/breaking-changes/215-tendermint-proto-0.37.md diff --git a/.changelog/unreleased/breaking-changes/215-tendermint-proto-0.37.md b/.changelog/unreleased/breaking-changes/215-tendermint-proto-0.37.md new file mode 100644 index 00000000..5d12ec27 --- /dev/null +++ b/.changelog/unreleased/breaking-changes/215-tendermint-proto-0.37.md @@ -0,0 +1,2 @@ +- Update `tendermint-proto` to v0.37 + ([#215](https://github.com/cosmos/ibc-proto-rs/issues/215)) diff --git a/Cargo.toml b/Cargo.toml index 43ff4734..06b204fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ scale-info = { version = "2.1.2", default-features = false, features = [ borsh = { version = "1", default-features = false, features = ["derive"], optional = true } [dependencies.tendermint-proto] -version = "0.36" +version = "0.37" default-features = false [dev-dependencies] From a1a47167d241087619a2302bcd591c48e42ddf07 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Mon, 3 Jun 2024 10:31:39 +0200 Subject: [PATCH 7/7] Release v0.46.0 (#217) * Update changelog * Bump version to 0.46.0 --- .../breaking-changes/215-tendermint-proto-0.37.md | 0 .changelog/v0.46.0/summary.md | 3 +++ CHANGELOG.md | 10 ++++++++++ Cargo.toml | 2 +- 4 files changed, 14 insertions(+), 1 deletion(-) rename .changelog/{unreleased => v0.46.0}/breaking-changes/215-tendermint-proto-0.37.md (100%) create mode 100644 .changelog/v0.46.0/summary.md diff --git a/.changelog/unreleased/breaking-changes/215-tendermint-proto-0.37.md b/.changelog/v0.46.0/breaking-changes/215-tendermint-proto-0.37.md similarity index 100% rename from .changelog/unreleased/breaking-changes/215-tendermint-proto-0.37.md rename to .changelog/v0.46.0/breaking-changes/215-tendermint-proto-0.37.md diff --git a/.changelog/v0.46.0/summary.md b/.changelog/v0.46.0/summary.md new file mode 100644 index 00000000..7f063c70 --- /dev/null +++ b/.changelog/v0.46.0/summary.md @@ -0,0 +1,3 @@ +*June 3rd, 2024* + +This release only bumps `tendermint-proto` to v0.37. diff --git a/CHANGELOG.md b/CHANGELOG.md index 8241caed..cfaeb54c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG +## v0.46.0 + +*June 3rd, 2024* + +This release only bumps `tendermint-proto` to v0.37. + +### BREAKING CHANGES + +- Update `tendermint-proto` to v0.37 ([#215](https://github.com/cosmos/ibc-proto-rs/issues/215)) + ## v0.45.0 *May 30th, 2024* diff --git a/Cargo.toml b/Cargo.toml index 06b204fc..8dfb508e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ibc-proto" -version = "0.45.0" +version = "0.46.0" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0"