diff --git a/packages/proto/src/gen/archway.cwica.v1.abstract.rs b/packages/proto/src/gen/archway.cwica.v1.abstract.rs index 5e6e239..9766af1 100644 --- a/packages/proto/src/gen/archway.cwica.v1.abstract.rs +++ b/packages/proto/src/gen/archway.cwica.v1.abstract.rs @@ -66,10 +66,6 @@ impl ::prost::Name for Params { pub struct GenesisState { #[doc = " params defines all the parameters of the module."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for GenesisState { @@ -98,10 +94,6 @@ impl ::prost::Name for QueryParamsRequest { pub struct QueryParamsResponse { #[doc = " params defines the parameters for the module"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for QueryParamsResponse { @@ -119,10 +111,6 @@ impl ::prost::Name for QueryParamsResponse { pub struct SudoPayload { #[doc = " ICA is the message which carries the success responses"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub ica: ::core::option::Option, } impl ::prost::Name for SudoPayload { @@ -140,18 +128,10 @@ pub struct IcaSuccess { #[doc = " account_registered is the message which carries the success response after"] #[doc = " the ica account has been registered"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub account_registered: ::core::option::Option, #[doc = " tx_executed is the message which carries the success response after the ica"] #[doc = " tx has been executed"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tx_executed: ::core::option::Option, } impl ::prost::Name for IcaSuccess { @@ -186,10 +166,6 @@ impl ::prost::Name for AccountRegistered { pub struct TxExecuted { #[doc = " packet is the ibc packet which was executed"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub packet: ::core::option::Option, #[doc = " data is the response data after the tx has been executed"] #[prost(bytes = "vec", tag = "2")] @@ -240,17 +216,7 @@ impl ::prost::Name for MsgRegisterInterchainAccountResponse { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct MsgSendTx< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct MsgSendTx { #[doc = " contract_address is the address of the who wants to submit a transaction to"] #[doc = " the counterparty chain"] #[prost(string, tag = "1")] @@ -260,11 +226,7 @@ pub struct MsgSendTx< pub connection_id: ::prost::alloc::string::String, #[doc = " msgs are the messages to be submitted to the counterparty chain"] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub msgs: ::prost::alloc::vec::Vec, + pub msgs: ::prost::alloc::vec::Vec>, #[doc = " memo is the memo to be included in the packet"] #[prost(string, tag = "4")] pub memo: ::prost::alloc::string::String, @@ -272,17 +234,8 @@ pub struct MsgSendTx< #[prost(uint64, tag = "5")] pub timeout: u64, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgSendTx +impl ::prost::Name + for MsgSendTx { const NAME: &'static str = "MsgSendTx"; const PACKAGE: &'static str = "archway.cwica.v1"; @@ -322,10 +275,6 @@ pub struct MsgUpdateParams { #[doc = " params deines the module parmeters to update"] #[doc = " NOTE: All parameters must be supplied."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for MsgUpdateParams { diff --git a/packages/proto/src/gen/archway.genmsg.v1.abstract.rs b/packages/proto/src/gen/archway.genmsg.v1.abstract.rs index 4b19a29..df33063 100644 --- a/packages/proto/src/gen/archway.genmsg.v1.abstract.rs +++ b/packages/proto/src/gen/archway.genmsg.v1.abstract.rs @@ -2,35 +2,13 @@ #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub messages: ::prost::alloc::vec::Vec, + pub messages: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "archway.genmsg.v1"; diff --git a/packages/proto/src/gen/cosmos.app.v1alpha1.abstract.rs b/packages/proto/src/gen/cosmos.app.v1alpha1.abstract.rs index e7330f8..abfcef5 100644 --- a/packages/proto/src/gen/cosmos.app.v1alpha1.abstract.rs +++ b/packages/proto/src/gen/cosmos.app.v1alpha1.abstract.rs @@ -13,10 +13,6 @@ pub struct ModuleDescriptor { #[doc = " or own a single protobuf package. It is assumed that the module uses"] #[doc = " all of the .proto files in a single package."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub use_package: ::prost::alloc::vec::Vec, #[doc = " can_migrate_from defines which module versions this module can migrate"] #[doc = " state from. The framework will check that one module version is able to"] @@ -26,10 +22,6 @@ pub struct ModuleDescriptor { #[doc = " declares it can migrate from v1, the framework knows how to migrate"] #[doc = " from v1 to v3, assuming all 3 module versions are registered at runtime."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub can_migrate_from: ::prost::alloc::vec::Vec, } impl ::prost::Name for ModuleDescriptor { @@ -120,45 +112,18 @@ impl ::prost::Name for MigrateFromInfo { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Config< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Config { #[doc = " modules are the module configurations for the app."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub modules: ::prost::alloc::vec::Vec>, #[doc = " golang_bindings specifies explicit interface to implementation type bindings which"] #[doc = " depinject uses to resolve interface inputs to provider functions. The scope of this"] #[doc = " field's configuration is global (not module specific)."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub golang_bindings: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Config +impl ::prost::Name + for Config { const NAME: &'static str = "Config"; const PACKAGE: &'static str = "cosmos.app.v1alpha1"; @@ -170,17 +135,8 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct ModuleConfig< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct ModuleConfig +{ #[doc = " name is the unique name of the module within the app. It should be a name"] #[doc = " that persists between different versions of a module so that modules"] #[doc = " can be smoothly upgraded to new versions."] @@ -196,32 +152,15 @@ pub struct ModuleConfig< #[doc = " config is the config object for the module. Module config messages should"] #[doc = " define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub config: ::core::option::Option, + pub config: ::core::option::Option>, #[doc = " golang_bindings specifies explicit interface to implementation type bindings which"] #[doc = " depinject uses to resolve interface inputs to provider functions. The scope of this"] #[doc = " field's configuration is module specific."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub golang_bindings: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ModuleConfig +impl ::prost::Name + for ModuleConfig { const NAME: &'static str = "ModuleConfig"; const PACKAGE: &'static str = "cosmos.app.v1alpha1"; @@ -265,35 +204,14 @@ impl ::prost::Name for QueryConfigRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryConfigResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " config is the current app config."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub config: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryConfigResponse +impl ::prost::Name + for QueryConfigResponse { const NAME: &'static str = "QueryConfigResponse"; const PACKAGE: &'static str = "cosmos.app.v1alpha1"; diff --git a/packages/proto/src/gen/cosmos.auth.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.auth.v1beta1.abstract.rs index 80a9a0a..e0a6743 100644 --- a/packages/proto/src/gen/cosmos.auth.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.auth.v1beta1.abstract.rs @@ -4,41 +4,19 @@ #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct BaseAccount< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct BaseAccount +{ #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub pub_key: ::core::option::Option, + pub pub_key: ::core::option::Option>, #[prost(uint64, tag = "3")] pub account_number: u64, #[prost(uint64, tag = "4")] pub sequence: u64, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for BaseAccount +impl ::prost::Name + for BaseAccount { const NAME: &'static str = "BaseAccount"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; @@ -51,38 +29,17 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ModuleAccount< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub base_account: ::core::option::Option>, #[prost(string, tag = "2")] pub name: ::prost::alloc::string::String, #[prost(string, repeated, tag = "3")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ModuleAccount +impl ::prost::Name + for ModuleAccount { const NAME: &'static str = "ModuleAccount"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; @@ -139,43 +96,17 @@ impl ::prost::Name for Params { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[doc = " params defines all the parameters of the module."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, #[doc = " accounts are the accounts present at genesis."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub accounts: ::prost::alloc::vec::Vec, + pub accounts: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; @@ -192,10 +123,6 @@ impl< pub struct QueryAccountsRequest { #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryAccountsRequest { @@ -212,42 +139,17 @@ impl ::prost::Name for QueryAccountsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryAccountsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " accounts are the existing accounts"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub accounts: ::prost::alloc::vec::Vec, + pub accounts: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryAccountsResponse +impl ::prost::Name + for QueryAccountsResponse { const NAME: &'static str = "QueryAccountsResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; @@ -276,35 +178,14 @@ impl ::prost::Name for QueryAccountRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryAccountResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " account defines the account of the corresponding address."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub account: ::core::option::Option, + pub account: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryAccountResponse +impl ::prost::Name + for QueryAccountResponse { const NAME: &'static str = "QueryAccountResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; @@ -331,10 +212,6 @@ impl ::prost::Name for QueryParamsRequest { pub struct QueryParamsResponse { #[doc = " params defines the parameters of the module."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for QueryParamsResponse { @@ -365,34 +242,13 @@ impl ::prost::Name for QueryModuleAccountsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryModuleAccountsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub accounts: ::prost::alloc::vec::Vec, + pub accounts: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryModuleAccountsResponse +impl ::prost::Name + for QueryModuleAccountsResponse { const NAME: &'static str = "QueryModuleAccountsResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; @@ -420,34 +276,13 @@ impl ::prost::Name for QueryModuleAccountByNameRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryModuleAccountByNameResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub account: ::core::option::Option, + pub account: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryModuleAccountByNameResponse +impl ::prost::Name + for QueryModuleAccountByNameResponse { const NAME: &'static str = "QueryModuleAccountByNameResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; @@ -624,35 +459,14 @@ impl ::prost::Name for QueryAccountInfoRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryAccountInfoResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " info is the account info which is represented by BaseAccount."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub info: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryAccountInfoResponse +impl ::prost::Name + for QueryAccountInfoResponse { const NAME: &'static str = "QueryAccountInfoResponse"; const PACKAGE: &'static str = "cosmos.auth.v1beta1"; @@ -674,10 +488,6 @@ pub struct MsgUpdateParams { #[doc = ""] #[doc = " NOTE: All parameters must be supplied."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for MsgUpdateParams { diff --git a/packages/proto/src/gen/cosmos.authz.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.authz.v1beta1.abstract.rs index a1c5e6a..181f948 100644 --- a/packages/proto/src/gen/cosmos.authz.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.authz.v1beta1.abstract.rs @@ -20,40 +20,17 @@ impl ::prost::Name for GenericAuthorization { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Grant< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Grant { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub authorization: ::core::option::Option, + pub authorization: ::core::option::Option>, #[doc = " time when the grant will expire and will be pruned. If null, then the grant"] #[doc = " doesn't have a time expiration (other conditions in `authorization`"] #[doc = " may apply to invalidate the grant)"] #[prost(message, optional, tag = "2")] pub expiration: ::core::option::Option<::pbjson_types::Timestamp>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Grant +impl ::prost::Name + for Grant { const NAME: &'static str = "Grant"; const PACKAGE: &'static str = "cosmos.authz.v1beta1"; @@ -67,40 +44,19 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GrantAuthorization< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(string, tag = "1")] pub granter: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub grantee: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub authorization: ::core::option::Option, + pub authorization: ::core::option::Option>, #[prost(message, optional, tag = "4")] pub expiration: ::core::option::Option<::pbjson_types::Timestamp>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GrantAuthorization +impl ::prost::Name + for GrantAuthorization { const NAME: &'static str = "GrantAuthorization"; const PACKAGE: &'static str = "cosmos.authz.v1beta1"; @@ -172,35 +128,13 @@ impl ::prost::Name for EventRevoke { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub authorization: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.authz.v1beta1"; @@ -222,10 +156,6 @@ pub struct QueryGrantsRequest { pub msg_type_url: ::prost::alloc::string::String, #[doc = " pagination defines an pagination for the request."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGrantsRequest { @@ -240,42 +170,17 @@ impl ::prost::Name for QueryGrantsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryGrantsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " authorizations is a list of grants granted for grantee by granter."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub grants: ::prost::alloc::vec::Vec>, #[doc = " pagination defines an pagination for the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryGrantsResponse +impl ::prost::Name + for QueryGrantsResponse { const NAME: &'static str = "QueryGrantsResponse"; const PACKAGE: &'static str = "cosmos.authz.v1beta1"; @@ -292,10 +197,6 @@ pub struct QueryGranterGrantsRequest { pub granter: ::prost::alloc::string::String, #[doc = " pagination defines an pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGranterGrantsRequest { @@ -310,42 +211,17 @@ impl ::prost::Name for QueryGranterGrantsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryGranterGrantsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " grants is a list of grants granted by the granter."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub grants: ::prost::alloc::vec::Vec>, #[doc = " pagination defines an pagination for the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryGranterGrantsResponse +impl ::prost::Name + for QueryGranterGrantsResponse { const NAME: &'static str = "QueryGranterGrantsResponse"; const PACKAGE: &'static str = "cosmos.authz.v1beta1"; @@ -362,10 +238,6 @@ pub struct QueryGranteeGrantsRequest { pub grantee: ::prost::alloc::string::String, #[doc = " pagination defines an pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGranteeGrantsRequest { @@ -380,42 +252,17 @@ impl ::prost::Name for QueryGranteeGrantsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryGranteeGrantsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " grants is a list of grants granted to the grantee."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub grants: ::prost::alloc::vec::Vec>, #[doc = " pagination defines an pagination for the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryGranteeGrantsResponse +impl ::prost::Name + for QueryGranteeGrantsResponse { const NAME: &'static str = "QueryGranteeGrantsResponse"; const PACKAGE: &'static str = "cosmos.authz.v1beta1"; @@ -428,39 +275,16 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct MsgGrant< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct MsgGrant { #[prost(string, tag = "1")] pub granter: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub grantee: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub grant: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgGrant +impl ::prost::Name + for MsgGrant { const NAME: &'static str = "MsgGrant"; const PACKAGE: &'static str = "cosmos.authz.v1beta1"; @@ -489,40 +313,17 @@ impl ::prost::Name for MsgExecResponse { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct MsgExec< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct MsgExec { #[prost(string, tag = "1")] pub grantee: ::prost::alloc::string::String, #[doc = " Execute Msg."] #[doc = " The x/authz will try to find a grant matching (msg.signers\\[0\\], grantee, MsgTypeURL(msg))"] #[doc = " triple and validate it."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub msgs: ::prost::alloc::vec::Vec, + pub msgs: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgExec +impl ::prost::Name + for MsgExec { const NAME: &'static str = "MsgExec"; const PACKAGE: &'static str = "cosmos.authz.v1beta1"; diff --git a/packages/proto/src/gen/cosmos.base.abci.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.base.abci.v1beta1.abstract.rs index cf472ab..1af5cda 100644 --- a/packages/proto/src/gen/cosmos.base.abci.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.base.abci.v1beta1.abstract.rs @@ -3,17 +3,7 @@ #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct TxResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct TxResponse { #[doc = " The block height"] #[prost(int64, tag = "1")] pub height: i64, @@ -35,10 +25,6 @@ pub struct TxResponse< pub raw_log: ::prost::alloc::string::String, #[doc = " The output of the application's logger (typed). May be non-deterministic."] #[prost(message, repeated, tag = "7")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub logs: ::prost::alloc::vec::Vec, #[doc = " Additional information. May be non-deterministic."] #[prost(string, tag = "8")] @@ -51,11 +37,7 @@ pub struct TxResponse< pub gas_used: i64, #[doc = " The request transaction bytes."] #[prost(message, optional, tag = "11")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub tx: ::core::option::Option, + pub tx: ::core::option::Option>, #[doc = " Time of the previous block. For heights > 1, it's the weighted median of"] #[doc = " the timestamps of the valid votes in the block.LastCommit. For height == 1,"] #[doc = " it's genesis time."] @@ -70,17 +52,8 @@ pub struct TxResponse< #[prost(message, repeated, tag = "13")] pub events: ::prost::alloc::vec::Vec<::tendermint_proto::v0_37::abci::Event>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for TxResponse +impl ::prost::Name + for TxResponse { const NAME: &'static str = "TxResponse"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; @@ -100,10 +73,6 @@ pub struct AbciMessageLog { #[doc = " Events contains a slice of Event objects that were emitted during some"] #[doc = " execution."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub events: ::prost::alloc::vec::Vec, } impl ::prost::Name for AbciMessageLog { @@ -122,10 +91,6 @@ pub struct StringEvent { #[prost(string, tag = "1")] pub r#type: ::prost::alloc::string::String, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub attributes: ::prost::alloc::vec::Vec, } impl ::prost::Name for StringEvent { @@ -176,17 +141,7 @@ impl ::prost::Name for GasInfo { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Result< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Result { #[doc = " Data is any data returned from message or handler execution. It MUST be"] #[doc = " length prefixed in order to separate data from multiple message executions."] #[doc = " Deprecated. This field is still populated, but prefer msg_response instead"] @@ -205,23 +160,10 @@ pub struct Result< #[doc = ""] #[doc = " Since: cosmos-sdk 0.46"] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub msg_responses: ::prost::alloc::vec::Vec, + pub msg_responses: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Result +impl ::prost::Name + for Result { const NAME: &'static str = "Result"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; @@ -235,40 +177,15 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct SimulationResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub gas_info: ::core::option::Option, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub result: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for SimulationResponse +impl ::prost::Name + for SimulationResponse { const NAME: &'static str = "SimulationResponse"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; @@ -299,46 +216,19 @@ impl ::prost::Name for MsgData { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct TxMsgData< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct TxMsgData { #[doc = " data field is deprecated and not populated."] #[deprecated] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub data: ::prost::alloc::vec::Vec, #[doc = " msg_responses contains the Msg handler responses packed into Anys."] #[doc = ""] #[doc = " Since: cosmos-sdk 0.46"] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub msg_responses: ::prost::alloc::vec::Vec, + pub msg_responses: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for TxMsgData +impl ::prost::Name + for TxMsgData { const NAME: &'static str = "TxMsgData"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; @@ -351,15 +241,7 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct SearchTxsResult< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " Count of all txs"] #[prost(uint64, tag = "1")] @@ -378,23 +260,10 @@ pub struct SearchTxsResult< pub limit: u64, #[doc = " List of txs in current page"] #[prost(message, repeated, tag = "6")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub txs: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for SearchTxsResult +impl ::prost::Name + for SearchTxsResult { const NAME: &'static str = "SearchTxsResult"; const PACKAGE: &'static str = "cosmos.base.abci.v1beta1"; diff --git a/packages/proto/src/gen/cosmos.base.tendermint.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.base.tendermint.v1beta1.abstract.rs index 1916da1..20230e9 100644 --- a/packages/proto/src/gen/cosmos.base.tendermint.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.base.tendermint.v1beta1.abstract.rs @@ -5,10 +5,6 @@ #[derive(Clone, PartialEq, :: prost :: Message)] pub struct Block { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub header: ::core::option::Option
, #[prost(message, optional, tag = "2")] pub data: ::core::option::Option<::tendermint_proto::v0_37::types::Data>, @@ -95,10 +91,6 @@ pub struct GetValidatorSetByHeightRequest { pub height: i64, #[doc = " pagination defines an pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for GetValidatorSetByHeightRequest { @@ -113,43 +105,18 @@ impl ::prost::Name for GetValidatorSetByHeightRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GetValidatorSetByHeightResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(int64, tag = "1")] pub block_height: i64, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub validators: ::prost::alloc::vec::Vec>, #[doc = " pagination defines an pagination for the response."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GetValidatorSetByHeightResponse +impl ::prost::Name + for GetValidatorSetByHeightResponse { const NAME: &'static str = "GetValidatorSetByHeightResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; @@ -164,10 +131,6 @@ impl< pub struct GetLatestValidatorSetRequest { #[doc = " pagination defines an pagination for the request."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for GetLatestValidatorSetRequest { @@ -182,43 +145,18 @@ impl ::prost::Name for GetLatestValidatorSetRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GetLatestValidatorSetResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(int64, tag = "1")] pub block_height: i64, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub validators: ::prost::alloc::vec::Vec>, #[doc = " pagination defines an pagination for the response."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GetLatestValidatorSetResponse +impl ::prost::Name + for GetLatestValidatorSetResponse { const NAME: &'static str = "GetLatestValidatorSetResponse"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; @@ -230,41 +168,18 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Validator< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Validator { #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub pub_key: ::core::option::Option, + pub pub_key: ::core::option::Option>, #[prost(int64, tag = "3")] pub voting_power: i64, #[prost(int64, tag = "4")] pub proposer_priority: i64, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Validator +impl ::prost::Name + for Validator { const NAME: &'static str = "Validator"; const PACKAGE: &'static str = "cosmos.base.tendermint.v1beta1"; @@ -296,17 +211,9 @@ pub struct GetBlockByHeightResponse { pub block_id: ::core::option::Option<::tendermint_proto::v0_37::types::BlockId>, #[doc = " Deprecated: please use `sdk_block` instead"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub block: ::core::option::Option<::tendermint_proto::v0_37::types::Block>, #[doc = " Since: cosmos-sdk 0.47"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub sdk_block: ::core::option::Option, } impl ::prost::Name for GetBlockByHeightResponse { @@ -337,17 +244,9 @@ pub struct GetLatestBlockResponse { pub block_id: ::core::option::Option<::tendermint_proto::v0_37::types::BlockId>, #[doc = " Deprecated: please use `sdk_block` instead"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub block: ::core::option::Option<::tendermint_proto::v0_37::types::Block>, #[doc = " Since: cosmos-sdk 0.47"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub sdk_block: ::core::option::Option, } impl ::prost::Name for GetLatestBlockResponse { @@ -404,10 +303,6 @@ pub struct GetNodeInfoResponse { #[prost(message, optional, tag = "1")] pub default_node_info: ::core::option::Option<::tendermint_proto::v0_37::p2p::DefaultNodeInfo>, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub application_version: ::core::option::Option, } impl ::prost::Name for GetNodeInfoResponse { @@ -435,10 +330,6 @@ pub struct VersionInfo { #[prost(string, tag = "6")] pub go_version: ::prost::alloc::string::String, #[prost(message, repeated, tag = "7")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub build_deps: ::prost::alloc::vec::Vec, #[doc = " Since: cosmos-sdk 0.43"] #[prost(string, tag = "8")] @@ -517,10 +408,6 @@ pub struct AbciQueryResponse { #[prost(bytes = "vec", tag = "7")] pub value: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "8")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_ops: ::core::option::Option, #[prost(int64, tag = "9")] pub height: i64, @@ -565,10 +452,6 @@ impl ::prost::Name for ProofOp { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ProofOps { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub ops: ::prost::alloc::vec::Vec, } impl ::prost::Name for ProofOps { diff --git a/packages/proto/src/gen/cosmos.crypto.keyring.v1.abstract.rs b/packages/proto/src/gen/cosmos.crypto.keyring.v1.abstract.rs index 41fb94b..201ac07 100644 --- a/packages/proto/src/gen/cosmos.crypto.keyring.v1.abstract.rs +++ b/packages/proto/src/gen/cosmos.crypto.keyring.v1.abstract.rs @@ -2,27 +2,13 @@ #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Record< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Record { #[doc = " name represents a name of Record"] #[prost(string, tag = "1")] pub name: ::prost::alloc::string::String, #[doc = " pub_key represents a public key in any format"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub pub_key: ::core::option::Option, + pub pub_key: ::core::option::Option>, #[doc = " Record contains one of the following items"] #[prost(oneof = "record::Item", tags = "3, 4, 5, 6")] pub item: ::core::option::Option, @@ -103,17 +89,8 @@ pub mod record { Offline(Offline), } } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Record +impl ::prost::Name + for Record { const NAME: &'static str = "Record"; const PACKAGE: &'static str = "cosmos.crypto.keyring.v1"; diff --git a/packages/proto/src/gen/cosmos.crypto.multisig.abstract.rs b/packages/proto/src/gen/cosmos.crypto.multisig.abstract.rs index ee92cbf..421deed 100644 --- a/packages/proto/src/gen/cosmos.crypto.multisig.abstract.rs +++ b/packages/proto/src/gen/cosmos.crypto.multisig.abstract.rs @@ -5,36 +5,15 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct LegacyAminoPubKey< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(uint32, tag = "1")] pub threshold: u32, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub public_keys: ::prost::alloc::vec::Vec, + pub public_keys: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for LegacyAminoPubKey +impl ::prost::Name + for LegacyAminoPubKey { const NAME: &'static str = "LegacyAminoPubKey"; const PACKAGE: &'static str = "cosmos.crypto.multisig"; diff --git a/packages/proto/src/gen/cosmos.evidence.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.evidence.v1beta1.abstract.rs index fa0da0d..0fbe715 100644 --- a/packages/proto/src/gen/cosmos.evidence.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.evidence.v1beta1.abstract.rs @@ -28,36 +28,14 @@ impl ::prost::Name for Equivocation { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[doc = " evidence defines all the evidence at genesis."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub evidence: ::prost::alloc::vec::Vec, + pub evidence: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; @@ -93,35 +71,14 @@ impl ::prost::Name for QueryEvidenceRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryEvidenceResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " evidence returns the requested evidence."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub evidence: ::core::option::Option, + pub evidence: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryEvidenceResponse +impl ::prost::Name + for QueryEvidenceResponse { const NAME: &'static str = "QueryEvidenceResponse"; const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; @@ -137,10 +94,6 @@ impl< pub struct QueryAllEvidenceRequest { #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryAllEvidenceRequest { @@ -156,42 +109,17 @@ impl ::prost::Name for QueryAllEvidenceRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryAllEvidenceResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " evidence returns all evidences."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub evidence: ::prost::alloc::vec::Vec, + pub evidence: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryAllEvidenceResponse +impl ::prost::Name + for QueryAllEvidenceResponse { const NAME: &'static str = "QueryAllEvidenceResponse"; const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; @@ -205,38 +133,17 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgSubmitEvidence< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " submitter is the signer account address of evidence."] #[prost(string, tag = "1")] pub submitter: ::prost::alloc::string::String, #[doc = " evidence defines the evidence of misbehavior."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub evidence: ::core::option::Option, + pub evidence: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgSubmitEvidence +impl ::prost::Name + for MsgSubmitEvidence { const NAME: &'static str = "MsgSubmitEvidence"; const PACKAGE: &'static str = "cosmos.evidence.v1beta1"; diff --git a/packages/proto/src/gen/cosmos.feegrant.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.feegrant.v1beta1.abstract.rs index a4dc8d6..5c3782e 100644 --- a/packages/proto/src/gen/cosmos.feegrant.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.feegrant.v1beta1.abstract.rs @@ -8,10 +8,6 @@ pub struct BasicAllowance { #[doc = " by this allowance and will be updated as coins are spent. If it is"] #[doc = " empty, there is no spend limit and any amount of coins can be spent."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub spend_limit: ::prost::alloc::vec::Vec, #[doc = " expiration specifies an optional time when this allowance expires"] #[prost(message, optional, tag = "2")] @@ -32,10 +28,6 @@ impl ::prost::Name for BasicAllowance { pub struct PeriodicAllowance { #[doc = " basic specifies a struct of `BasicAllowance`"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub basic: ::core::option::Option, #[doc = " period specifies the time duration in which period_spend_limit coins can"] #[doc = " be spent before that allowance is reset"] @@ -44,17 +36,9 @@ pub struct PeriodicAllowance { #[doc = " period_spend_limit specifies the maximum number of coins that can be spent"] #[doc = " in the period"] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub period_spend_limit: ::prost::alloc::vec::Vec, #[doc = " period_can_spend is the number of coins left to be spent before the period_reset time"] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub period_can_spend: ::prost::alloc::vec::Vec, #[doc = " period_reset is the time at which this period resets and a new one begins,"] #[doc = " it is calculated from the start time of the first transaction after the"] @@ -74,38 +58,17 @@ impl ::prost::Name for PeriodicAllowance { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct AllowedMsgAllowance< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " allowance can be any of basic and periodic fee allowance."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub allowance: ::core::option::Option, + pub allowance: ::core::option::Option>, #[doc = " allowed_messages are the messages for which the grantee has the access."] #[prost(string, repeated, tag = "2")] pub allowed_messages: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for AllowedMsgAllowance +impl ::prost::Name + for AllowedMsgAllowance { const NAME: &'static str = "AllowedMsgAllowance"; const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; @@ -117,17 +80,7 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Grant< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Grant { #[doc = " granter is the address of the user granting an allowance of their funds."] #[prost(string, tag = "1")] pub granter: ::prost::alloc::string::String, @@ -136,23 +89,10 @@ pub struct Grant< pub grantee: ::prost::alloc::string::String, #[doc = " allowance can be any of basic, periodic, allowed fee allowance."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub allowance: ::core::option::Option, + pub allowance: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Grant +impl ::prost::Name + for Grant { const NAME: &'static str = "Grant"; const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; @@ -164,35 +104,13 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub allowances: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; @@ -224,35 +142,14 @@ impl ::prost::Name for QueryAllowanceRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryAllowanceResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " allowance is a allowance granted for grantee by granter."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub allowance: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryAllowanceResponse +impl ::prost::Name + for QueryAllowanceResponse { const NAME: &'static str = "QueryAllowanceResponse"; const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; @@ -269,10 +166,6 @@ pub struct QueryAllowancesRequest { pub grantee: ::prost::alloc::string::String, #[doc = " pagination defines an pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryAllowancesRequest { @@ -287,42 +180,17 @@ impl ::prost::Name for QueryAllowancesRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryAllowancesResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " allowances are allowance's granted for grantee by granter."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub allowances: ::prost::alloc::vec::Vec>, #[doc = " pagination defines an pagination for the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryAllowancesResponse +impl ::prost::Name + for QueryAllowancesResponse { const NAME: &'static str = "QueryAllowancesResponse"; const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; @@ -341,10 +209,6 @@ pub struct QueryAllowancesByGranterRequest { pub granter: ::prost::alloc::string::String, #[doc = " pagination defines an pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryAllowancesByGranterRequest { @@ -361,42 +225,17 @@ impl ::prost::Name for QueryAllowancesByGranterRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryAllowancesByGranterResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " allowances that have been issued by the granter."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub allowances: ::prost::alloc::vec::Vec>, #[doc = " pagination defines an pagination for the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryAllowancesByGranterResponse +impl ::prost::Name + for QueryAllowancesByGranterResponse { const NAME: &'static str = "QueryAllowancesByGranterResponse"; const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; @@ -410,15 +249,7 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgGrantAllowance< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " granter is the address of the user granting an allowance of their funds."] #[prost(string, tag = "1")] @@ -428,23 +259,10 @@ pub struct MsgGrantAllowance< pub grantee: ::prost::alloc::string::String, #[doc = " allowance can be any of basic, periodic, allowed fee allowance."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub allowance: ::core::option::Option, + pub allowance: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgGrantAllowance +impl ::prost::Name + for MsgGrantAllowance { const NAME: &'static str = "MsgGrantAllowance"; const PACKAGE: &'static str = "cosmos.feegrant.v1beta1"; diff --git a/packages/proto/src/gen/cosmos.gov.v1.abstract.rs b/packages/proto/src/gen/cosmos.gov.v1.abstract.rs index 0a278e7..5ae1005 100644 --- a/packages/proto/src/gen/cosmos.gov.v1.abstract.rs +++ b/packages/proto/src/gen/cosmos.gov.v1.abstract.rs @@ -31,10 +31,6 @@ pub struct Deposit { pub depositor: ::prost::alloc::string::String, #[doc = " amount to be deposited by depositor."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, } impl ::prost::Name for Deposit { @@ -48,27 +44,13 @@ impl ::prost::Name for Deposit { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Proposal< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Proposal { #[doc = " id defines the unique id of the proposal."] #[prost(uint64, tag = "1")] pub id: u64, #[doc = " messages are the arbitrary messages to be executed if the proposal passes."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub messages: ::prost::alloc::vec::Vec, + pub messages: ::prost::alloc::vec::Vec>, #[doc = " status defines the proposal status."] #[prost(enumeration = "ProposalStatus", tag = "3")] pub status: i32, @@ -76,10 +58,6 @@ pub struct Proposal< #[doc = " querying a proposal via gRPC, this field is not populated until the"] #[doc = " proposal's voting period has ended."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub final_tally_result: ::core::option::Option, #[doc = " submit_time is the time of proposal submission."] #[prost(message, optional, tag = "5")] @@ -89,10 +67,6 @@ pub struct Proposal< pub deposit_end_time: ::core::option::Option<::pbjson_types::Timestamp>, #[doc = " total_deposit is the total deposit on the proposal."] #[prost(message, repeated, tag = "7")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub total_deposit: ::prost::alloc::vec::Vec, #[doc = " voting_start_time is the starting time to vote on a proposal."] #[prost(message, optional, tag = "8")] @@ -119,17 +93,8 @@ pub struct Proposal< #[prost(string, tag = "13")] pub proposer: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Proposal +impl ::prost::Name + for Proposal { const NAME: &'static str = "Proposal"; const PACKAGE: &'static str = "cosmos.gov.v1"; @@ -176,10 +141,6 @@ pub struct Vote { pub voter: ::prost::alloc::string::String, #[doc = " options is the weighted vote options."] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub options: ::prost::alloc::vec::Vec, #[doc = " metadata is any arbitrary metadata to attached to the vote."] #[prost(string, tag = "5")] @@ -199,10 +160,6 @@ impl ::prost::Name for Vote { pub struct DepositParams { #[doc = " Minimum deposit for a proposal to enter voting period."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub min_deposit: ::prost::alloc::vec::Vec, #[doc = " Maximum period for Atom holders to deposit on a proposal. Initial value: 2"] #[doc = " months."] @@ -265,10 +222,6 @@ impl ::prost::Name for TallyParams { pub struct Params { #[doc = " Minimum deposit for a proposal to enter voting period."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub min_deposit: ::prost::alloc::vec::Vec, #[doc = " Maximum period for Atom holders to deposit on a proposal. Initial value: 2"] #[doc = " months."] @@ -427,89 +380,43 @@ impl ProposalStatus { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[doc = " starting_proposal_id is the ID of the starting proposal."] #[prost(uint64, tag = "1")] pub starting_proposal_id: u64, #[doc = " deposits defines all the deposits present at genesis."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub deposits: ::prost::alloc::vec::Vec, #[doc = " votes defines all the votes present at genesis."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub votes: ::prost::alloc::vec::Vec, #[doc = " proposals defines all the proposals present at genesis."] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub proposals: ::prost::alloc::vec::Vec>, #[doc = " Deprecated: Prefer to use `params` instead."] #[doc = " deposit_params defines all the paramaters of related to deposit."] #[deprecated] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub deposit_params: ::core::option::Option, #[doc = " Deprecated: Prefer to use `params` instead."] #[doc = " voting_params defines all the paramaters of related to voting."] #[deprecated] #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub voting_params: ::core::option::Option, #[doc = " Deprecated: Prefer to use `params` instead."] #[doc = " tally_params defines all the paramaters of related to tally."] #[deprecated] #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tally_params: ::core::option::Option, #[doc = " params defines all the paramaters of x/gov module."] #[doc = ""] #[doc = " Since: cosmos-sdk 0.47"] #[prost(message, optional, tag = "8")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.gov.v1"; @@ -538,35 +445,14 @@ impl ::prost::Name for QueryProposalRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryProposalResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " proposal is the requested governance proposal."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proposal: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryProposalResponse +impl ::prost::Name + for QueryProposalResponse { const NAME: &'static str = "QueryProposalResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; @@ -590,10 +476,6 @@ pub struct QueryProposalsRequest { pub depositor: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryProposalsRequest { @@ -609,42 +491,17 @@ impl ::prost::Name for QueryProposalsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryProposalsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " proposals defines all the requested governance proposals."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub proposals: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryProposalsResponse +impl ::prost::Name + for QueryProposalsResponse { const NAME: &'static str = "QueryProposalsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1"; @@ -678,10 +535,6 @@ impl ::prost::Name for QueryVoteRequest { pub struct QueryVoteResponse { #[doc = " vote defines the queried vote."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub vote: ::core::option::Option, } impl ::prost::Name for QueryVoteResponse { @@ -701,10 +554,6 @@ pub struct QueryVotesRequest { pub proposal_id: u64, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryVotesRequest { @@ -721,17 +570,9 @@ impl ::prost::Name for QueryVotesRequest { pub struct QueryVotesResponse { #[doc = " votes defines the queried votes."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub votes: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryVotesResponse { @@ -767,37 +608,21 @@ pub struct QueryParamsResponse { #[doc = " voting_params defines the parameters related to voting."] #[deprecated] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub voting_params: ::core::option::Option, #[doc = " Deprecated: Prefer to use `params` instead."] #[doc = " deposit_params defines the parameters related to deposit."] #[deprecated] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub deposit_params: ::core::option::Option, #[doc = " Deprecated: Prefer to use `params` instead."] #[doc = " tally_params defines the parameters related to tally."] #[deprecated] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tally_params: ::core::option::Option, #[doc = " params defines all the paramaters of x/gov module."] #[doc = ""] #[doc = " Since: cosmos-sdk 0.47"] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for QueryParamsResponse { @@ -833,10 +658,6 @@ impl ::prost::Name for QueryDepositRequest { pub struct QueryDepositResponse { #[doc = " deposit defines the requested deposit."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub deposit: ::core::option::Option, } impl ::prost::Name for QueryDepositResponse { @@ -856,10 +677,6 @@ pub struct QueryDepositsRequest { pub proposal_id: u64, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDepositsRequest { @@ -876,17 +693,9 @@ impl ::prost::Name for QueryDepositsRequest { pub struct QueryDepositsResponse { #[doc = " deposits defines the requested deposits."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub deposits: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDepositsResponse { @@ -919,10 +728,6 @@ impl ::prost::Name for QueryTallyResultRequest { pub struct QueryTallyResultResponse { #[doc = " tally defines the requested tally."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tally: ::core::option::Option, } impl ::prost::Name for QueryTallyResultResponse { @@ -938,29 +743,13 @@ impl ::prost::Name for QueryTallyResultResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgSubmitProposal< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " messages are the arbitrary messages to be executed if proposal passes."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub messages: ::prost::alloc::vec::Vec, + pub messages: ::prost::alloc::vec::Vec>, #[doc = " initial_deposit is the deposit value that must be paid at proposal submission."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub initial_deposit: ::prost::alloc::vec::Vec, #[doc = " proposer is the account address of the proposer."] #[prost(string, tag = "3")] @@ -979,17 +768,8 @@ pub struct MsgSubmitProposal< #[prost(string, tag = "6")] pub summary: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgSubmitProposal +impl ::prost::Name + for MsgSubmitProposal { const NAME: &'static str = "MsgSubmitProposal"; const PACKAGE: &'static str = "cosmos.gov.v1"; @@ -1019,38 +799,17 @@ impl ::prost::Name for MsgSubmitProposalResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgExecLegacyContent< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " content is the proposal's content."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub content: ::core::option::Option, + pub content: ::core::option::Option>, #[doc = " authority must be the gov module address."] #[prost(string, tag = "2")] pub authority: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgExecLegacyContent +impl ::prost::Name + for MsgExecLegacyContent { const NAME: &'static str = "MsgExecLegacyContent"; const PACKAGE: &'static str = "cosmos.gov.v1"; @@ -1120,10 +879,6 @@ pub struct MsgVoteWeighted { pub voter: ::prost::alloc::string::String, #[doc = " options defines the weighted vote options."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub options: ::prost::alloc::vec::Vec, #[doc = " metadata is any arbitrary metadata attached to the VoteWeighted."] #[prost(string, tag = "4")] @@ -1161,10 +916,6 @@ pub struct MsgDeposit { pub depositor: ::prost::alloc::string::String, #[doc = " amount to be deposited by depositor."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, } impl ::prost::Name for MsgDeposit { @@ -1200,10 +951,6 @@ pub struct MsgUpdateParams { #[doc = ""] #[doc = " NOTE: All parameters must be supplied."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for MsgUpdateParams { diff --git a/packages/proto/src/gen/cosmos.gov.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.gov.v1beta1.abstract.rs index f625ba6..2f5c858 100644 --- a/packages/proto/src/gen/cosmos.gov.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.gov.v1beta1.abstract.rs @@ -53,10 +53,6 @@ pub struct Deposit { pub depositor: ::prost::alloc::string::String, #[doc = " amount to be deposited by depositor."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, } impl ::prost::Name for Deposit { @@ -70,27 +66,13 @@ impl ::prost::Name for Deposit { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Proposal< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Proposal { #[doc = " proposal_id defines the unique id of the proposal."] #[prost(uint64, tag = "1")] pub proposal_id: u64, #[doc = " content is the proposal's content."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub content: ::core::option::Option, + pub content: ::core::option::Option>, #[doc = " status defines the proposal status."] #[prost(enumeration = "ProposalStatus", tag = "3")] pub status: i32, @@ -98,10 +80,6 @@ pub struct Proposal< #[doc = " querying a proposal via gRPC, this field is not populated until the"] #[doc = " proposal's voting period has ended."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub final_tally_result: ::core::option::Option, #[doc = " submit_time is the time of proposal submission."] #[prost(message, optional, tag = "5")] @@ -111,10 +89,6 @@ pub struct Proposal< pub deposit_end_time: ::core::option::Option<::pbjson_types::Timestamp>, #[doc = " total_deposit is the total deposit on the proposal."] #[prost(message, repeated, tag = "7")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub total_deposit: ::prost::alloc::vec::Vec, #[doc = " voting_start_time is the starting time to vote on a proposal."] #[prost(message, optional, tag = "8")] @@ -123,17 +97,8 @@ pub struct Proposal< #[prost(message, optional, tag = "9")] pub voting_end_time: ::core::option::Option<::pbjson_types::Timestamp>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Proposal +impl ::prost::Name + for Proposal { const NAME: &'static str = "Proposal"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; @@ -188,10 +153,6 @@ pub struct Vote { #[doc = ""] #[doc = " Since: cosmos-sdk 0.43"] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub options: ::prost::alloc::vec::Vec, } impl ::prost::Name for Vote { @@ -208,10 +169,6 @@ impl ::prost::Name for Vote { pub struct DepositParams { #[doc = " Minimum deposit for a proposal to enter voting period."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub min_deposit: ::prost::alloc::vec::Vec, #[doc = " Maximum period for Atom holders to deposit on a proposal. Initial value: 2"] #[doc = " months."] @@ -384,74 +341,32 @@ impl ProposalStatus { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[doc = " starting_proposal_id is the ID of the starting proposal."] #[prost(uint64, tag = "1")] pub starting_proposal_id: u64, #[doc = " deposits defines all the deposits present at genesis."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub deposits: ::prost::alloc::vec::Vec, #[doc = " votes defines all the votes present at genesis."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub votes: ::prost::alloc::vec::Vec, #[doc = " proposals defines all the proposals present at genesis."] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub proposals: ::prost::alloc::vec::Vec>, #[doc = " params defines all the parameters of related to deposit."] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub deposit_params: ::core::option::Option, #[doc = " params defines all the parameters of related to voting."] #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub voting_params: ::core::option::Option, #[doc = " params defines all the parameters of related to tally."] #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tally_params: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; @@ -480,34 +395,13 @@ impl ::prost::Name for QueryProposalRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryProposalResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proposal: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryProposalResponse +impl ::prost::Name + for QueryProposalResponse { const NAME: &'static str = "QueryProposalResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; @@ -531,10 +425,6 @@ pub struct QueryProposalsRequest { pub depositor: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryProposalsRequest { @@ -550,42 +440,17 @@ impl ::prost::Name for QueryProposalsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryProposalsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " proposals defines all the requested governance proposals."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub proposals: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryProposalsResponse +impl ::prost::Name + for QueryProposalsResponse { const NAME: &'static str = "QueryProposalsResponse"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; @@ -619,10 +484,6 @@ impl ::prost::Name for QueryVoteRequest { pub struct QueryVoteResponse { #[doc = " vote defines the queried vote."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub vote: ::core::option::Option, } impl ::prost::Name for QueryVoteResponse { @@ -642,10 +503,6 @@ pub struct QueryVotesRequest { pub proposal_id: u64, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryVotesRequest { @@ -662,17 +519,9 @@ impl ::prost::Name for QueryVotesRequest { pub struct QueryVotesResponse { #[doc = " votes defines the queried votes."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub votes: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryVotesResponse { @@ -706,24 +555,12 @@ impl ::prost::Name for QueryParamsRequest { pub struct QueryParamsResponse { #[doc = " voting_params defines the parameters related to voting."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub voting_params: ::core::option::Option, #[doc = " deposit_params defines the parameters related to deposit."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub deposit_params: ::core::option::Option, #[doc = " tally_params defines the parameters related to tally."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tally_params: ::core::option::Option, } impl ::prost::Name for QueryParamsResponse { @@ -759,10 +596,6 @@ impl ::prost::Name for QueryDepositRequest { pub struct QueryDepositResponse { #[doc = " deposit defines the requested deposit."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub deposit: ::core::option::Option, } impl ::prost::Name for QueryDepositResponse { @@ -782,10 +615,6 @@ pub struct QueryDepositsRequest { pub proposal_id: u64, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDepositsRequest { @@ -802,17 +631,9 @@ impl ::prost::Name for QueryDepositsRequest { pub struct QueryDepositsResponse { #[doc = " deposits defines the requested deposits."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub deposits: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDepositsResponse { @@ -845,10 +666,6 @@ impl ::prost::Name for QueryTallyResultRequest { pub struct QueryTallyResultResponse { #[doc = " tally defines the requested tally."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tally: ::core::option::Option, } impl ::prost::Name for QueryTallyResultResponse { @@ -864,45 +681,20 @@ impl ::prost::Name for QueryTallyResultResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgSubmitProposal< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " content is the proposal's content."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub content: ::core::option::Option, + pub content: ::core::option::Option>, #[doc = " initial_deposit is the deposit value that must be paid at proposal submission."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub initial_deposit: ::prost::alloc::vec::Vec, #[doc = " proposer is the account address of the proposer."] #[prost(string, tag = "3")] pub proposer: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgSubmitProposal +impl ::prost::Name + for MsgSubmitProposal { const NAME: &'static str = "MsgSubmitProposal"; const PACKAGE: &'static str = "cosmos.gov.v1beta1"; @@ -975,10 +767,6 @@ pub struct MsgVoteWeighted { pub voter: ::prost::alloc::string::String, #[doc = " options defines the weighted vote options. "] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub options: ::prost::alloc::vec::Vec, } impl ::prost::Name for MsgVoteWeighted { @@ -1015,10 +803,6 @@ pub struct MsgDeposit { pub depositor: ::prost::alloc::string::String, #[doc = " amount to be deposited by depositor."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, } impl ::prost::Name for MsgDeposit { diff --git a/packages/proto/src/gen/cosmos.group.v1.abstract.rs b/packages/proto/src/gen/cosmos.group.v1.abstract.rs index 5048c18..106249c 100644 --- a/packages/proto/src/gen/cosmos.group.v1.abstract.rs +++ b/packages/proto/src/gen/cosmos.group.v1.abstract.rs @@ -64,10 +64,6 @@ pub struct ThresholdDecisionPolicy { pub threshold: ::prost::alloc::string::String, #[doc = " windows defines the different windows for voting and execution."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub windows: ::core::option::Option, } impl ::prost::Name for ThresholdDecisionPolicy { @@ -93,10 +89,6 @@ pub struct PercentageDecisionPolicy { pub percentage: ::prost::alloc::string::String, #[doc = " windows defines the different windows for voting and execution."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub windows: ::core::option::Option, } impl ::prost::Name for PercentageDecisionPolicy { @@ -180,10 +172,6 @@ pub struct GroupMember { pub group_id: u64, #[doc = " member is the member data."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub member: ::core::option::Option, } impl ::prost::Name for GroupMember { @@ -198,15 +186,7 @@ impl ::prost::Name for GroupMember { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GroupPolicyInfo< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " address is the account address of group policy."] #[prost(string, tag = "1")] @@ -228,26 +208,13 @@ pub struct GroupPolicyInfo< pub version: u64, #[doc = " decision_policy specifies the group policy's decision policy."] #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub decision_policy: ::core::option::Option, + pub decision_policy: ::core::option::Option>, #[doc = " created_at is a timestamp specifying when a group policy was created."] #[prost(message, optional, tag = "7")] pub created_at: ::core::option::Option<::pbjson_types::Timestamp>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GroupPolicyInfo +impl ::prost::Name + for GroupPolicyInfo { const NAME: &'static str = "GroupPolicyInfo"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -262,17 +229,7 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Proposal< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Proposal { #[doc = " id is the unique id of the proposal."] #[prost(uint64, tag = "1")] pub id: u64, @@ -308,10 +265,6 @@ pub struct Proposal< #[doc = " populated after tallying, at voting period end or at proposal execution,"] #[doc = " whichever happens first."] #[prost(message, optional, tag = "9")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub final_tally_result: ::core::option::Option, #[doc = " voting_period_end is the timestamp before which voting must be done."] #[doc = " Unless a successful MsgExec is called before (to execute a proposal whose"] @@ -325,11 +278,7 @@ pub struct Proposal< pub executor_result: i32, #[doc = " messages is a list of `sdk.Msg`s that will be executed if the proposal passes."] #[prost(message, repeated, tag = "12")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub messages: ::prost::alloc::vec::Vec, + pub messages: ::prost::alloc::vec::Vec>, #[doc = " title is the title of the proposal"] #[doc = ""] #[doc = " Since: cosmos-sdk 0.47"] @@ -341,17 +290,8 @@ pub struct Proposal< #[prost(string, tag = "14")] pub summary: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Proposal +impl ::prost::Name + for Proposal { const NAME: &'static str = "Proposal"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -742,10 +682,6 @@ pub struct EventProposalPruned { pub status: i32, #[doc = " tally_result is the proposal tally result (when applicable)."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tally_result: ::core::option::Option, } impl ::prost::Name for EventProposalPruned { @@ -760,24 +696,8 @@ impl ::prost::Name for EventProposalPruned { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " group_seq is the group table orm.Sequence,"] #[doc = " it is used to get the next group ID."] @@ -785,17 +705,9 @@ pub struct GenesisState< pub group_seq: u64, #[doc = " groups is the list of groups info."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub groups: ::prost::alloc::vec::Vec, #[doc = " group_members is the list of groups members."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub group_members: ::prost::alloc::vec::Vec, #[doc = " group_policy_seq is the group policy table orm.Sequence,"] #[doc = " it is used to generate the next group policy account address."] @@ -803,10 +715,6 @@ pub struct GenesisState< pub group_policy_seq: u64, #[doc = " group_policies is the list of group policies info."] #[prost(message, repeated, tag = "5")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub group_policies: ::prost::alloc::vec::Vec>, #[doc = " proposal_seq is the proposal table orm.Sequence,"] #[doc = " it is used to get the next proposal ID."] @@ -814,38 +722,14 @@ pub struct GenesisState< pub proposal_seq: u64, #[doc = " proposals is the list of proposals."] #[prost(message, repeated, tag = "7")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub proposals: ::prost::alloc::vec::Vec>, #[doc = " votes is the list of votes."] #[prost(message, repeated, tag = "8")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub votes: ::prost::alloc::vec::Vec, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; @@ -877,10 +761,6 @@ impl ::prost::Name for QueryGroupInfoRequest { pub struct QueryGroupInfoResponse { #[doc = " info is the GroupInfo of the group."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub info: ::core::option::Option, } impl ::prost::Name for QueryGroupInfoResponse { @@ -911,35 +791,14 @@ impl ::prost::Name for QueryGroupPolicyInfoRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryGroupPolicyInfoResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " info is the GroupPolicyInfo of the group policy."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub info: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryGroupPolicyInfoResponse +impl ::prost::Name + for QueryGroupPolicyInfoResponse { const NAME: &'static str = "QueryGroupPolicyInfoResponse"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -957,10 +816,6 @@ pub struct QueryGroupMembersRequest { pub group_id: u64, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupMembersRequest { @@ -977,17 +832,9 @@ impl ::prost::Name for QueryGroupMembersRequest { pub struct QueryGroupMembersResponse { #[doc = " members are the members of the group with given group_id."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub members: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupMembersResponse { @@ -1007,10 +854,6 @@ pub struct QueryGroupsByAdminRequest { pub admin: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupsByAdminRequest { @@ -1027,17 +870,9 @@ impl ::prost::Name for QueryGroupsByAdminRequest { pub struct QueryGroupsByAdminResponse { #[doc = " groups are the groups info with the provided admin."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub groups: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupsByAdminResponse { @@ -1057,10 +892,6 @@ pub struct QueryGroupPoliciesByGroupRequest { pub group_id: u64, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupPoliciesByGroupRequest { @@ -1075,42 +906,17 @@ impl ::prost::Name for QueryGroupPoliciesByGroupRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryGroupPoliciesByGroupResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " group_policies are the group policies info associated with the provided group."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub group_policies: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryGroupPoliciesByGroupResponse +impl ::prost::Name + for QueryGroupPoliciesByGroupResponse { const NAME: &'static str = "QueryGroupPoliciesByGroupResponse"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -1128,10 +934,6 @@ pub struct QueryGroupPoliciesByAdminRequest { pub admin: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupPoliciesByAdminRequest { @@ -1146,42 +948,17 @@ impl ::prost::Name for QueryGroupPoliciesByAdminRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryGroupPoliciesByAdminResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " group_policies are the group policies info with provided admin."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub group_policies: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryGroupPoliciesByAdminResponse +impl ::prost::Name + for QueryGroupPoliciesByAdminResponse { const NAME: &'static str = "QueryGroupPoliciesByAdminResponse"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -1210,35 +987,14 @@ impl ::prost::Name for QueryProposalRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryProposalResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " proposal is the proposal info."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proposal: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryProposalResponse +impl ::prost::Name + for QueryProposalResponse { const NAME: &'static str = "QueryProposalResponse"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -1256,10 +1012,6 @@ pub struct QueryProposalsByGroupPolicyRequest { pub address: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryProposalsByGroupPolicyRequest { @@ -1274,42 +1026,17 @@ impl ::prost::Name for QueryProposalsByGroupPolicyRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryProposalsByGroupPolicyResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " proposals are the proposals with given group policy."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub proposals: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryProposalsByGroupPolicyResponse +impl ::prost::Name + for QueryProposalsByGroupPolicyResponse { const NAME: &'static str = "QueryProposalsByGroupPolicyResponse"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -1343,10 +1070,6 @@ impl ::prost::Name for QueryVoteByProposalVoterRequest { pub struct QueryVoteByProposalVoterResponse { #[doc = " vote is the vote with given proposal_id and voter."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub vote: ::core::option::Option, } impl ::prost::Name for QueryVoteByProposalVoterResponse { @@ -1366,10 +1089,6 @@ pub struct QueryVotesByProposalRequest { pub proposal_id: u64, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryVotesByProposalRequest { @@ -1386,17 +1105,9 @@ impl ::prost::Name for QueryVotesByProposalRequest { pub struct QueryVotesByProposalResponse { #[doc = " votes are the list of votes for given proposal_id."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub votes: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryVotesByProposalResponse { @@ -1416,10 +1127,6 @@ pub struct QueryVotesByVoterRequest { pub voter: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryVotesByVoterRequest { @@ -1436,17 +1143,9 @@ impl ::prost::Name for QueryVotesByVoterRequest { pub struct QueryVotesByVoterResponse { #[doc = " votes are the list of votes by given voter."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub votes: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryVotesByVoterResponse { @@ -1466,10 +1165,6 @@ pub struct QueryGroupsByMemberRequest { pub address: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupsByMemberRequest { @@ -1486,17 +1181,9 @@ impl ::prost::Name for QueryGroupsByMemberRequest { pub struct QueryGroupsByMemberResponse { #[doc = " groups are the groups info with the provided group member."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub groups: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupsByMemberResponse { @@ -1529,10 +1216,6 @@ impl ::prost::Name for QueryTallyResultRequest { pub struct QueryTallyResultResponse { #[doc = " tally defines the requested tally."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tally: ::core::option::Option, } impl ::prost::Name for QueryTallyResultResponse { @@ -1551,10 +1234,6 @@ impl ::prost::Name for QueryTallyResultResponse { pub struct QueryGroupsRequest { #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupsRequest { @@ -1573,17 +1252,9 @@ impl ::prost::Name for QueryGroupsRequest { pub struct QueryGroupsResponse { #[doc = " `groups` is all the groups present in state."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub groups: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryGroupsResponse { @@ -1603,10 +1274,6 @@ pub struct MsgCreateGroup { pub admin: ::prost::alloc::string::String, #[doc = " members defines the group members."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub members: ::prost::alloc::vec::Vec, #[doc = " metadata is any arbitrary metadata to attached to the group."] #[prost(string, tag = "3")] @@ -1649,10 +1316,6 @@ pub struct MsgUpdateGroupMembers { #[doc = " member_updates is the list of members to update,"] #[doc = " set weight to 0 to remove a member."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub member_updates: ::prost::alloc::vec::Vec, } impl ::prost::Name for MsgUpdateGroupMembers { @@ -1747,15 +1410,7 @@ impl ::prost::Name for MsgUpdateGroupMetadataResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgCreateGroupPolicy< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " admin is the account address of the group admin."] #[prost(string, tag = "1")] @@ -1768,23 +1423,10 @@ pub struct MsgCreateGroupPolicy< pub metadata: ::prost::alloc::string::String, #[doc = " decision_policy specifies the group policy's decision policy."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub decision_policy: ::core::option::Option, + pub decision_policy: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgCreateGroupPolicy +impl ::prost::Name + for MsgCreateGroupPolicy { const NAME: &'static str = "MsgCreateGroupPolicy"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -1847,25 +1489,13 @@ impl ::prost::Name for MsgUpdateGroupPolicyAdminResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgCreateGroupWithPolicy< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " admin is the account address of the group and group policy admin."] #[prost(string, tag = "1")] pub admin: ::prost::alloc::string::String, #[doc = " members defines the group members."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub members: ::prost::alloc::vec::Vec, #[doc = " group_metadata is any arbitrary metadata attached to the group."] #[prost(string, tag = "3")] @@ -1879,23 +1509,10 @@ pub struct MsgCreateGroupWithPolicy< pub group_policy_as_admin: bool, #[doc = " decision_policy specifies the group policy's decision policy."] #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub decision_policy: ::core::option::Option, + pub decision_policy: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgCreateGroupWithPolicy +impl ::prost::Name + for MsgCreateGroupWithPolicy { const NAME: &'static str = "MsgCreateGroupWithPolicy"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -1927,15 +1544,7 @@ impl ::prost::Name for MsgCreateGroupWithPolicyResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgUpdateGroupPolicyDecisionPolicy< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " admin is the account address of the group admin."] #[prost(string, tag = "1")] @@ -1945,23 +1554,10 @@ pub struct MsgUpdateGroupPolicyDecisionPolicy< pub group_policy_address: ::prost::alloc::string::String, #[doc = " decision_policy is the updated group policy's decision policy."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub decision_policy: ::core::option::Option, + pub decision_policy: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgUpdateGroupPolicyDecisionPolicy +impl ::prost::Name + for MsgUpdateGroupPolicyDecisionPolicy { const NAME: &'static str = "MsgUpdateGroupPolicyDecisionPolicy"; const PACKAGE: &'static str = "cosmos.group.v1"; @@ -2020,15 +1616,7 @@ impl ::prost::Name for MsgUpdateGroupPolicyMetadataResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgSubmitProposal< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " group_policy_address is the account address of group policy."] #[prost(string, tag = "1")] @@ -2042,11 +1630,7 @@ pub struct MsgSubmitProposal< pub metadata: ::prost::alloc::string::String, #[doc = " messages is a list of `sdk.Msg`s that will be executed if the proposal passes."] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub messages: ::prost::alloc::vec::Vec, + pub messages: ::prost::alloc::vec::Vec>, #[doc = " exec defines the mode of execution of the proposal,"] #[doc = " whether it should be executed immediately on creation or not."] #[doc = " If so, proposers signatures are considered as Yes votes."] @@ -2063,17 +1647,8 @@ pub struct MsgSubmitProposal< #[prost(string, tag = "7")] pub summary: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgSubmitProposal +impl ::prost::Name + for MsgSubmitProposal { const NAME: &'static str = "MsgSubmitProposal"; const PACKAGE: &'static str = "cosmos.group.v1"; diff --git a/packages/proto/src/gen/cosmos.nft.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.nft.v1beta1.abstract.rs index 20a6522..9d8631c 100644 --- a/packages/proto/src/gen/cosmos.nft.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.nft.v1beta1.abstract.rs @@ -71,17 +71,7 @@ impl ::prost::Name for EventBurn { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Class< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Class { #[doc = " id defines the unique identifier of the NFT classification, similar to the contract address of ERC721"] #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, @@ -102,23 +92,10 @@ pub struct Class< pub uri_hash: ::prost::alloc::string::String, #[doc = " data is the app specific metadata of the NFT class. Optional"] #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub data: ::core::option::Option, + pub data: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Class +impl ::prost::Name + for Class { const NAME: &'static str = "Class"; const PACKAGE: &'static str = "cosmos.nft.v1beta1"; @@ -130,17 +107,7 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Nft< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Nft { #[doc = " class_id associated with the NFT, similar to the contract address of ERC721"] #[prost(string, tag = "1")] pub class_id: ::prost::alloc::string::String, @@ -155,23 +122,10 @@ pub struct Nft< pub uri_hash: ::prost::alloc::string::String, #[doc = " data is an app specific data of the NFT. Optional"] #[prost(message, optional, tag = "10")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub data: ::core::option::Option, + pub data: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Nft +impl ::prost::Name + for Nft { const NAME: &'static str = "NFT"; const PACKAGE: &'static str = "cosmos.nft.v1beta1"; @@ -184,59 +138,19 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " class defines the class of the nft type."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub classes: ::prost::alloc::vec::Vec>, #[doc = " entry defines all nft owned by a person."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub entries: ::prost::alloc::vec::Vec>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; @@ -249,39 +163,16 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Entry< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Entry { #[doc = " owner is the owner address of the following nft"] #[prost(string, tag = "1")] pub owner: ::prost::alloc::string::String, #[doc = " nfts is a group of nfts of the same owner"] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub nfts: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Entry +impl ::prost::Name + for Entry { const NAME: &'static str = "Entry"; const PACKAGE: &'static str = "cosmos.nft.v1beta1"; @@ -404,10 +295,6 @@ pub struct QueryNfTsRequest { pub owner: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryNfTsRequest { @@ -422,42 +309,17 @@ impl ::prost::Name for QueryNfTsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryNfTsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " NFT defines the NFT"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub nfts: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryNfTsResponse +impl ::prost::Name + for QueryNfTsResponse { const NAME: &'static str = "QueryNFTsResponse"; const PACKAGE: &'static str = "cosmos.nft.v1beta1"; @@ -489,35 +351,14 @@ impl ::prost::Name for QueryNftRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryNftResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " owner is the owner address of the nft"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub nft: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryNftResponse +impl ::prost::Name + for QueryNftResponse { const NAME: &'static str = "QueryNFTResponse"; const PACKAGE: &'static str = "cosmos.nft.v1beta1"; @@ -546,35 +387,14 @@ impl ::prost::Name for QueryClassRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryClassResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " class defines the class of the nft type."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub class: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryClassResponse +impl ::prost::Name + for QueryClassResponse { const NAME: &'static str = "QueryClassResponse"; const PACKAGE: &'static str = "cosmos.nft.v1beta1"; @@ -589,10 +409,6 @@ impl< pub struct QueryClassesRequest { #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryClassesRequest { @@ -607,42 +423,17 @@ impl ::prost::Name for QueryClassesRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryClassesResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " class defines the class of the nft type."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub classes: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryClassesResponse +impl ::prost::Name + for QueryClassesResponse { const NAME: &'static str = "QueryClassesResponse"; const PACKAGE: &'static str = "cosmos.nft.v1beta1"; diff --git a/packages/proto/src/gen/cosmos.orm.query.v1alpha1.abstract.rs b/packages/proto/src/gen/cosmos.orm.query.v1alpha1.abstract.rs index 7c78538..da4bdd6 100644 --- a/packages/proto/src/gen/cosmos.orm.query.v1alpha1.abstract.rs +++ b/packages/proto/src/gen/cosmos.orm.query.v1alpha1.abstract.rs @@ -15,10 +15,6 @@ pub struct GetRequest { #[doc = " There must be as many values provided as there are fields in the index and"] #[doc = " these values must correspond to the index field types."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub values: ::prost::alloc::vec::Vec, } impl ::prost::Name for GetRequest { @@ -32,37 +28,15 @@ impl ::prost::Name for GetRequest { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GetResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GetResponse +{ #[doc = " result is the result of the get query. If no value is found, the gRPC"] #[doc = " status code NOT_FOUND will be returned."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub result: ::core::option::Option, + pub result: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GetResponse +impl ::prost::Name + for GetResponse { const NAME: &'static str = "GetResponse"; const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; @@ -84,10 +58,6 @@ pub struct ListRequest { pub index: ::prost::alloc::string::String, #[doc = " pagination is the pagination request."] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, #[doc = " query is the query expression corresponding to the provided index. If"] #[doc = " neither prefix nor range is specified, the query will list all the fields"] @@ -164,43 +134,17 @@ impl ::prost::Name for ListRequest { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct ListResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct ListResponse +{ #[doc = " results are the results of the query."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub results: ::prost::alloc::vec::Vec, + pub results: ::prost::alloc::vec::Vec>, #[doc = " pagination is the pagination response."] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ListResponse +impl ::prost::Name + for ListResponse { const NAME: &'static str = "ListResponse"; const PACKAGE: &'static str = "cosmos.orm.query.v1alpha1"; diff --git a/packages/proto/src/gen/cosmos.staking.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.staking.v1beta1.abstract.rs index 36afd7e..afa045d 100644 --- a/packages/proto/src/gen/cosmos.staking.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.staking.v1beta1.abstract.rs @@ -8,10 +8,6 @@ pub struct StakeAuthorization { #[doc = " max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is"] #[doc = " empty, there is no spend limit and any amount of coins can be delegated."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub max_tokens: ::core::option::Option, #[doc = " authorization_type defines one of AuthorizationType."] #[prost(enumeration = "AuthorizationType", tag = "4")] @@ -117,40 +113,15 @@ impl AuthorizationType { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct HistoricalInfo< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub header: ::core::option::Option<::tendermint_proto::v0_37::types::Header>, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub valset: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for HistoricalInfo +impl ::prost::Name + for HistoricalInfo { const NAME: &'static str = "HistoricalInfo"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -188,10 +159,6 @@ impl ::prost::Name for CommissionRates { pub struct Commission { #[doc = " commission_rates defines the initial commission rates to be used for creating a validator."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub commission_rates: ::core::option::Option, #[doc = " update_time is the last time the commission rate was changed."] #[prost(message, optional, tag = "2")] @@ -243,27 +210,13 @@ impl ::prost::Name for Description { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Validator< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Validator { #[doc = " operator_address defines the address of the validator's operator; bech encoded in JSON."] #[prost(string, tag = "1")] pub operator_address: ::prost::alloc::string::String, #[doc = " consensus_pubkey is the consensus public key of the validator, as a Protobuf Any."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub consensus_pubkey: ::core::option::Option, + pub consensus_pubkey: ::core::option::Option>, #[doc = " jailed defined whether the validator has been jailed from bonded status or not."] #[prost(bool, tag = "3")] pub jailed: bool, @@ -278,10 +231,6 @@ pub struct Validator< pub delegator_shares: ::prost::alloc::string::String, #[doc = " description defines the description terms for the validator."] #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub description: ::core::option::Option, #[doc = " unbonding_height defines, if unbonding, the height at which this validator has begun unbonding."] #[prost(int64, tag = "8")] @@ -291,10 +240,6 @@ pub struct Validator< pub unbonding_time: ::core::option::Option<::pbjson_types::Timestamp>, #[doc = " commission defines the commission parameters."] #[prost(message, optional, tag = "10")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub commission: ::core::option::Option, #[doc = " min_self_delegation is the validator's self declared minimum self delegation."] #[doc = ""] @@ -308,17 +253,8 @@ pub struct Validator< #[prost(uint64, repeated, tag = "13")] pub unbonding_ids: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Validator +impl ::prost::Name + for Validator { const NAME: &'static str = "Validator"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -366,10 +302,6 @@ impl ::prost::Name for DvPair { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct DvPairs { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub pairs: ::prost::alloc::vec::Vec, } impl ::prost::Name for DvPairs { @@ -407,10 +339,6 @@ impl ::prost::Name for DvvTriplet { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct DvvTriplets { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub triplets: ::prost::alloc::vec::Vec, } impl ::prost::Name for DvvTriplets { @@ -460,10 +388,6 @@ pub struct UnbondingDelegation { #[doc = ""] #[doc = " unbonding delegation entries"] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub entries: ::prost::alloc::vec::Vec, } impl ::prost::Name for UnbondingDelegation { @@ -554,10 +478,6 @@ pub struct Redelegation { #[doc = ""] #[doc = " redelegation entries"] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub entries: ::prost::alloc::vec::Vec, } impl ::prost::Name for Redelegation { @@ -605,16 +525,8 @@ impl ::prost::Name for Params { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct DelegationResponse { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub delegation: ::core::option::Option, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub balance: ::core::option::Option, } impl ::prost::Name for DelegationResponse { @@ -632,10 +544,6 @@ impl ::prost::Name for DelegationResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct RedelegationEntryResponse { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub redelegation_entry: ::core::option::Option, #[prost(string, tag = "4")] pub balance: ::prost::alloc::string::String, @@ -655,16 +563,8 @@ impl ::prost::Name for RedelegationEntryResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct RedelegationResponse { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub redelegation: ::core::option::Option, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub entries: ::prost::alloc::vec::Vec, } impl ::prost::Name for RedelegationResponse { @@ -806,23 +706,10 @@ impl Infraction { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[doc = " params defines all the parameters of related to deposit."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, #[doc = " last_total_power tracks the total amounts of bonded tokens recorded during"] #[doc = " the previous end block."] @@ -831,53 +718,24 @@ pub struct GenesisState< #[doc = " last_validator_powers is a special index that provides a historical list"] #[doc = " of the last-block's bonded validators."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub last_validator_powers: ::prost::alloc::vec::Vec, #[doc = " delegations defines the validator set at genesis."] #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub validators: ::prost::alloc::vec::Vec>, #[doc = " delegations defines the delegations active at genesis."] #[prost(message, repeated, tag = "5")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub delegations: ::prost::alloc::vec::Vec, #[doc = " unbonding_delegations defines the unbonding delegations active at genesis."] #[prost(message, repeated, tag = "6")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub unbonding_delegations: ::prost::alloc::vec::Vec, #[doc = " redelegations defines the redelegations active at genesis."] #[prost(message, repeated, tag = "7")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub redelegations: ::prost::alloc::vec::Vec, #[prost(bool, tag = "8")] pub exported: bool, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -914,10 +772,6 @@ pub struct QueryValidatorsRequest { pub status: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryValidatorsRequest { @@ -932,42 +786,17 @@ impl ::prost::Name for QueryValidatorsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryValidatorsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " validators contains all the queried validators."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub validators: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryValidatorsResponse +impl ::prost::Name + for QueryValidatorsResponse { const NAME: &'static str = "QueryValidatorsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -996,35 +825,14 @@ impl ::prost::Name for QueryValidatorRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryValidatorResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " validator defines the validator info."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub validator: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryValidatorResponse +impl ::prost::Name + for QueryValidatorResponse { const NAME: &'static str = "QueryValidatorResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -1043,10 +851,6 @@ pub struct QueryValidatorDelegationsRequest { pub validator_addr: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryValidatorDelegationsRequest { @@ -1063,17 +867,9 @@ impl ::prost::Name for QueryValidatorDelegationsRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryValidatorDelegationsResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub delegation_responses: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryValidatorDelegationsResponse { @@ -1094,10 +890,6 @@ pub struct QueryValidatorUnbondingDelegationsRequest { pub validator_addr: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryValidatorUnbondingDelegationsRequest { @@ -1114,17 +906,9 @@ impl ::prost::Name for QueryValidatorUnbondingDelegationsRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryValidatorUnbondingDelegationsResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub unbonding_responses: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryValidatorUnbondingDelegationsResponse { @@ -1160,10 +944,6 @@ impl ::prost::Name for QueryDelegationRequest { pub struct QueryDelegationResponse { #[doc = " delegation_responses defines the delegation info of a delegation."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub delegation_response: ::core::option::Option, } impl ::prost::Name for QueryDelegationResponse { @@ -1201,10 +981,6 @@ impl ::prost::Name for QueryUnbondingDelegationRequest { pub struct QueryUnbondingDelegationResponse { #[doc = " unbond defines the unbonding information of a delegation."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub unbond: ::core::option::Option, } impl ::prost::Name for QueryUnbondingDelegationResponse { @@ -1225,10 +1001,6 @@ pub struct QueryDelegatorDelegationsRequest { pub delegator_addr: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDelegatorDelegationsRequest { @@ -1246,17 +1018,9 @@ impl ::prost::Name for QueryDelegatorDelegationsRequest { pub struct QueryDelegatorDelegationsResponse { #[doc = " delegation_responses defines all the delegations' info of a delegator."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub delegation_responses: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDelegatorDelegationsResponse { @@ -1277,10 +1041,6 @@ pub struct QueryDelegatorUnbondingDelegationsRequest { pub delegator_addr: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDelegatorUnbondingDelegationsRequest { @@ -1297,17 +1057,9 @@ impl ::prost::Name for QueryDelegatorUnbondingDelegationsRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryDelegatorUnbondingDelegationsResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub unbonding_responses: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDelegatorUnbondingDelegationsResponse { @@ -1334,10 +1086,6 @@ pub struct QueryRedelegationsRequest { pub dst_validator_addr: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryRedelegationsRequest { @@ -1354,17 +1102,9 @@ impl ::prost::Name for QueryRedelegationsRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryRedelegationsResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub redelegation_responses: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryRedelegationsResponse { @@ -1385,10 +1125,6 @@ pub struct QueryDelegatorValidatorsRequest { pub delegator_addr: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for QueryDelegatorValidatorsRequest { @@ -1404,42 +1140,17 @@ impl ::prost::Name for QueryDelegatorValidatorsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryDelegatorValidatorsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " validators defines the validators' info of a delegator."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub validators: ::prost::alloc::vec::Vec>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryDelegatorValidatorsResponse +impl ::prost::Name + for QueryDelegatorValidatorsResponse { const NAME: &'static str = "QueryDelegatorValidatorsResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -1473,35 +1184,14 @@ impl ::prost::Name for QueryDelegatorValidatorRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryDelegatorValidatorResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " validator defines the validator info."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub validator: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryDelegatorValidatorResponse +impl ::prost::Name + for QueryDelegatorValidatorResponse { const NAME: &'static str = "QueryDelegatorValidatorResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -1532,35 +1222,14 @@ impl ::prost::Name for QueryHistoricalInfoRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryHistoricalInfoResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " hist defines the historical info at the given height."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub hist: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryHistoricalInfoResponse +impl ::prost::Name + for QueryHistoricalInfoResponse { const NAME: &'static str = "QueryHistoricalInfoResponse"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -1587,10 +1256,6 @@ impl ::prost::Name for QueryPoolRequest { pub struct QueryPoolResponse { #[doc = " pool defines the pool info."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pool: ::core::option::Option, } impl ::prost::Name for QueryPoolResponse { @@ -1619,10 +1284,6 @@ impl ::prost::Name for QueryParamsRequest { pub struct QueryParamsResponse { #[doc = " params holds all the parameters of this module."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for QueryParamsResponse { @@ -1637,27 +1298,11 @@ impl ::prost::Name for QueryParamsResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgCreateValidator< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub description: ::core::option::Option, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub commission: ::core::option::Option, #[prost(string, tag = "3")] pub min_self_delegation: ::prost::alloc::string::String, @@ -1666,29 +1311,12 @@ pub struct MsgCreateValidator< #[prost(string, tag = "5")] pub validator_address: ::prost::alloc::string::String, #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub pubkey: ::core::option::Option, + pub pubkey: ::core::option::Option>, #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub value: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgCreateValidator +impl ::prost::Name + for MsgCreateValidator { const NAME: &'static str = "MsgCreateValidator"; const PACKAGE: &'static str = "cosmos.staking.v1beta1"; @@ -1714,10 +1342,6 @@ impl ::prost::Name for MsgCreateValidatorResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgEditValidator { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub description: ::core::option::Option, #[prost(string, tag = "2")] pub validator_address: ::prost::alloc::string::String, @@ -1760,10 +1384,6 @@ pub struct MsgDelegate { #[prost(string, tag = "2")] pub validator_address: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub amount: ::core::option::Option, } impl ::prost::Name for MsgDelegate { @@ -1798,10 +1418,6 @@ pub struct MsgBeginRedelegate { #[prost(string, tag = "3")] pub validator_dst_address: ::prost::alloc::string::String, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub amount: ::core::option::Option, } impl ::prost::Name for MsgBeginRedelegate { @@ -1837,10 +1453,6 @@ pub struct MsgUndelegate { #[prost(string, tag = "2")] pub validator_address: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub amount: ::core::option::Option, } impl ::prost::Name for MsgUndelegate { @@ -1878,10 +1490,6 @@ pub struct MsgCancelUnbondingDelegation { pub validator_address: ::prost::alloc::string::String, #[doc = " amount is always less than or equal to unbonding delegation entry balance"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub amount: ::core::option::Option, #[doc = " creation_height is the height which the unbonding took place."] #[prost(int64, tag = "4")] @@ -1922,10 +1530,6 @@ pub struct MsgUpdateParams { #[doc = ""] #[doc = " NOTE: All parameters must be supplied."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for MsgUpdateParams { diff --git a/packages/proto/src/gen/cosmos.tx.signing.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.tx.signing.v1beta1.abstract.rs index fca49c5..16ab334 100644 --- a/packages/proto/src/gen/cosmos.tx.signing.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.tx.signing.v1beta1.abstract.rs @@ -3,35 +3,14 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct SignatureDescriptors< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " signatures are the signature descriptors"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub signatures: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for SignatureDescriptors +impl ::prost::Name + for SignatureDescriptors { const NAME: &'static str = "SignatureDescriptors"; const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; @@ -47,23 +26,11 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct SignatureDescriptor< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " public_key is the public key of the signer"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub public_key: ::core::option::Option, + pub public_key: ::core::option::Option>, #[prost(message, optional, tag = "2")] pub data: ::core::option::Option, #[doc = " sequence is the sequence of the account, which describes the"] @@ -155,17 +122,8 @@ pub mod signature_descriptor { } } } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for SignatureDescriptor +impl ::prost::Name + for SignatureDescriptor { const NAME: &'static str = "SignatureDescriptor"; const PACKAGE: &'static str = "cosmos.tx.signing.v1beta1"; diff --git a/packages/proto/src/gen/cosmos.tx.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.tx.v1beta1.abstract.rs index 69500fb..3bfb9af 100644 --- a/packages/proto/src/gen/cosmos.tx.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.tx.v1beta1.abstract.rs @@ -3,57 +3,17 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct Tx< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " body is the processable content of the transaction"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub body: ::core::option::Option>, #[doc = " auth_info is the authorization related content of the transaction,"] #[doc = " specifically signers, signer modes and fee"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub auth_info: ::core::option::Option>, #[doc = " signatures is a list of signatures that matches the length and order of"] #[doc = " AuthInfo's signer_infos to allow connecting signature meta information like"] @@ -62,42 +22,10 @@ pub struct Tx< pub signatures: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for Tx { const NAME: &'static str = "Tx"; @@ -173,15 +101,7 @@ impl ::prost::Name for SignDoc { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct SignDocDirectAux< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " body_bytes is protobuf serialization of a TxBody that matches the"] #[doc = " representation in TxRaw."] @@ -189,11 +109,7 @@ pub struct SignDocDirectAux< pub body_bytes: ::prost::alloc::vec::Vec, #[doc = " public_key is the public key of the signing account."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub public_key: ::core::option::Option, + pub public_key: ::core::option::Option>, #[doc = " chain_id is the identifier of the chain this transaction targets."] #[doc = " It prevents signed transactions from being used on another chain by an"] #[doc = " attacker."] @@ -212,23 +128,10 @@ pub struct SignDocDirectAux< #[doc = " This field is ignored if the chain didn't enable tips, i.e. didn't add the"] #[doc = " `TipDecorator` in its posthandler."] #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tip: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for SignDocDirectAux +impl ::prost::Name + for SignDocDirectAux { const NAME: &'static str = "SignDocDirectAux"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; @@ -241,33 +144,9 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct TxBody< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " messages is a list of messages to be executed. The required signers of"] #[doc = " those messages define the number and order of elements in AuthInfo's"] @@ -277,11 +156,7 @@ pub struct TxBody< #[doc = " is referred to as the primary signer and pays the fee for the whole"] #[doc = " transaction."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub messages: ::prost::alloc::vec::Vec, + pub messages: ::prost::alloc::vec::Vec>, #[doc = " memo is any arbitrary note/comment to be added to the transaction."] #[doc = " WARNING: in clients, any publicly exposed text should not be called memo,"] #[doc = " but should be called `note` instead (see )."] @@ -295,49 +170,17 @@ pub struct TxBody< #[doc = " when the default options are not sufficient. If any of these are present"] #[doc = " and can't be handled, the transaction will be rejected"] #[prost(message, repeated, tag = "1023")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub extension_options: ::prost::alloc::vec::Vec, + pub extension_options: ::prost::alloc::vec::Vec>, #[doc = " extension_options are arbitrary options that can be added by chains"] #[doc = " when the default options are not sufficient. If any of these are present"] #[doc = " and can't be handled, they will be ignored"] #[prost(message, repeated, tag = "2047")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub non_critical_extension_options: ::prost::alloc::vec::Vec, + pub non_critical_extension_options: ::prost::alloc::vec::Vec>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for TxBody { const NAME: &'static str = "TxBody"; @@ -351,36 +194,18 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct AuthInfo< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct AuthInfo { #[doc = " signer_infos defines the signing modes for the required signers. The number"] #[doc = " and order of elements must match the required signers from TxBody's"] #[doc = " messages. The first element is the primary signer and the one which pays"] #[doc = " the fee."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub signer_infos: ::prost::alloc::vec::Vec>, #[doc = " Fee is the fee and gas limit for the transaction. The first signer is the"] #[doc = " primary signer and the one which pays the fee. The fee can be calculated"] #[doc = " based on the cost of evaluating the body and doing signature verification"] #[doc = " of the signers. This can be estimated via simulation."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub fee: ::core::option::Option, #[doc = " Tip is the optional tip used for transactions fees paid in another denom."] #[doc = ""] @@ -389,23 +214,10 @@ pub struct AuthInfo< #[doc = ""] #[doc = " Since: cosmos-sdk 0.46"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tip: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for AuthInfo +impl ::prost::Name + for AuthInfo { const NAME: &'static str = "AuthInfo"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; @@ -418,33 +230,15 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct SignerInfo< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct SignerInfo { #[doc = " public_key is the public key of the signer. It is optional for accounts"] #[doc = " that already exist in state. If unset, the verifier can use the required \\"] #[doc = " signer address for this position and lookup the public key."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub public_key: ::core::option::Option, + pub public_key: ::core::option::Option>, #[doc = " mode_info describes the signing mode of the signer and is a nested"] #[doc = " structure to support nested multisig pubkey's"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub mode_info: ::core::option::Option, #[doc = " sequence is the sequence of the account, which describes the"] #[doc = " number of committed transactions signed by a given address. It is used to"] @@ -452,17 +246,8 @@ pub struct SignerInfo< #[prost(uint64, tag = "3")] pub sequence: u64, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for SignerInfo +impl ::prost::Name + for SignerInfo { const NAME: &'static str = "SignerInfo"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; @@ -551,10 +336,6 @@ impl ::prost::Name for ModeInfo { pub struct Fee { #[doc = " amount is the amount of coins to be paid as a fee"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, #[doc = " gas_limit is the maximum gas that can be used in transaction processing"] #[doc = " before an out of gas error occurs"] @@ -587,10 +368,6 @@ impl ::prost::Name for Fee { pub struct Tip { #[doc = " amount is the amount of the tip"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, #[doc = " tipper is the address of the account paying for the tip"] #[prost(string, tag = "2")] @@ -613,15 +390,7 @@ impl ::prost::Name for Tip { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct AuxSignerData< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " address is the bech32-encoded address of the auxiliary signer. If using"] #[doc = " AuxSignerData across different chains, the bech32 prefix of the target"] @@ -632,10 +401,6 @@ pub struct AuxSignerData< #[doc = " signs. Note: we use the same sign doc even if we're signing with"] #[doc = " LEGACY_AMINO_JSON."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub sign_doc: ::core::option::Option>, #[doc = " mode is the signing mode of the single signer."] #[prost(enumeration = "super::signing::v1beta1::SignMode", tag = "3")] @@ -644,17 +409,8 @@ pub struct AuxSignerData< #[prost(bytes = "vec", tag = "4")] pub sig: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for AuxSignerData +impl ::prost::Name + for AuxSignerData { const NAME: &'static str = "AuxSignerData"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; @@ -675,10 +431,6 @@ pub struct GetTxsEventRequest { #[doc = " Deprecated post v0.46.x: use page and limit instead."] #[deprecated] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, #[prost(enumeration = "OrderBy", tag = "3")] pub order_by: i32, @@ -703,125 +455,33 @@ impl ::prost::Name for GetTxsEventRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GetTxsEventResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - E: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + E: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " txs is the list of queried transactions."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub txs: ::prost::alloc::vec::Vec>, #[doc = " tx_responses is the list of queried TxResponses."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub tx_responses: ::prost::alloc::vec::Vec>, #[doc = " pagination defines a pagination for the response."] #[doc = " Deprecated post v0.46.x: use total instead."] #[deprecated] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, #[doc = " total is total number of results available"] #[prost(uint64, tag = "4")] pub total: u64, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - E: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + E: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for GetTxsEventResponse { const NAME: &'static str = "GetTxsEventResponse"; @@ -855,35 +515,14 @@ impl ::prost::Name for BroadcastTxRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct BroadcastTxResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " tx_response is the queried TxResponses."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tx_response: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for BroadcastTxResponse +impl ::prost::Name + for BroadcastTxResponse { const NAME: &'static str = "BroadcastTxResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; @@ -897,51 +536,15 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct SimulateRequest< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " tx is the transaction to simulate."] #[doc = " Deprecated. Send raw tx bytes instead."] #[deprecated] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tx: ::core::option::Option>, #[doc = " tx_bytes is the raw transaction."] #[doc = ""] @@ -950,42 +553,10 @@ pub struct SimulateRequest< pub tx_bytes: ::prost::alloc::vec::Vec, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for SimulateRequest { const NAME: &'static str = "SimulateRequest"; @@ -1000,42 +571,17 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct SimulateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " gas_info is the information about gas used in the simulation."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub gas_info: ::core::option::Option, #[doc = " result is the result of the simulation."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub result: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for SimulateResponse +impl ::prost::Name + for SimulateResponse { const NAME: &'static str = "SimulateResponse"; const PACKAGE: &'static str = "cosmos.tx.v1beta1"; @@ -1065,113 +611,25 @@ impl ::prost::Name for GetTxRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GetTxResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - E: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + E: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " tx is the queried transaction."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tx: ::core::option::Option>, #[doc = " tx_response is the queried TxResponses."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tx_response: ::core::option::Option>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - E: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + E: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for GetTxResponse { const NAME: &'static str = "GetTxResponse"; @@ -1193,10 +651,6 @@ pub struct GetBlockWithTxsRequest { pub height: i64, #[doc = " pagination defines a pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl ::prost::Name for GetBlockWithTxsRequest { @@ -1213,103 +667,27 @@ impl ::prost::Name for GetBlockWithTxsRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GetBlockWithTxsResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " txs are the transactions in the block."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub txs: ::prost::alloc::vec::Vec>, #[prost(message, optional, tag = "2")] pub block_id: ::core::option::Option<::tendermint_proto::v0_37::types::BlockId>, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub block: ::core::option::Option<::tendermint_proto::v0_37::types::Block>, #[doc = " pagination defines a pagination for the response."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for GetBlockWithTxsResponse { const NAME: &'static str = "GetBlockWithTxsResponse"; @@ -1345,88 +723,20 @@ impl ::prost::Name for TxDecodeRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct TxDecodeResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " tx is the decoded transaction."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tx: ::core::option::Option>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for TxDecodeResponse { const NAME: &'static str = "TxDecodeResponse"; @@ -1443,88 +753,20 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct TxEncodeRequest< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " tx is the transaction to encode."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub tx: ::core::option::Option>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - C: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - D: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + C: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + D: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for TxEncodeRequest { const NAME: &'static str = "TxEncodeRequest"; diff --git a/packages/proto/src/gen/cosmos.upgrade.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.upgrade.v1beta1.abstract.rs index 1596f6a..da2aa7c 100644 --- a/packages/proto/src/gen/cosmos.upgrade.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.upgrade.v1beta1.abstract.rs @@ -2,17 +2,7 @@ #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Plan< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Plan { #[doc = " Sets the name for the upgrade. This name will be used by the upgraded"] #[doc = " version of the software to apply any special \"on-upgrade\" commands during"] #[doc = " the first BeginBlock method after the upgrade is applied. It is also used"] @@ -40,23 +30,10 @@ pub struct Plan< #[doc = " If this field is not empty, an error will be thrown."] #[deprecated] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub upgraded_client_state: ::core::option::Option, + pub upgraded_client_state: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Plan +impl ::prost::Name + for Plan { const NAME: &'static str = "Plan"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; @@ -72,15 +49,7 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct SoftwareUpgradeProposal< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " title of the proposal"] #[prost(string, tag = "1")] @@ -90,23 +59,10 @@ pub struct SoftwareUpgradeProposal< pub description: ::prost::alloc::string::String, #[doc = " plan of the proposal"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub plan: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for SoftwareUpgradeProposal +impl ::prost::Name + for SoftwareUpgradeProposal { const NAME: &'static str = "SoftwareUpgradeProposal"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; @@ -176,35 +132,14 @@ impl ::prost::Name for QueryCurrentPlanRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryCurrentPlanResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " plan is the current upgrade plan."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub plan: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryCurrentPlanResponse +impl ::prost::Name + for QueryCurrentPlanResponse { const NAME: &'static str = "QueryCurrentPlanResponse"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; @@ -312,10 +247,6 @@ impl ::prost::Name for QueryModuleVersionsRequest { pub struct QueryModuleVersionsResponse { #[doc = " module_versions is a list of module names with their consensus versions."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub module_versions: ::prost::alloc::vec::Vec, } impl ::prost::Name for QueryModuleVersionsResponse { @@ -363,38 +294,17 @@ impl ::prost::Name for QueryAuthorityResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgSoftwareUpgrade< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " authority is the address that controls the module (defaults to x/gov unless overwritten)."] #[prost(string, tag = "1")] pub authority: ::prost::alloc::string::String, #[doc = " plan is the upgrade plan."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub plan: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgSoftwareUpgrade +impl ::prost::Name + for MsgSoftwareUpgrade { const NAME: &'static str = "MsgSoftwareUpgrade"; const PACKAGE: &'static str = "cosmos.upgrade.v1beta1"; diff --git a/packages/proto/src/gen/cosmos.vesting.v1beta1.abstract.rs b/packages/proto/src/gen/cosmos.vesting.v1beta1.abstract.rs index 8ccfb89..6c8e68e 100644 --- a/packages/proto/src/gen/cosmos.vesting.v1beta1.abstract.rs +++ b/packages/proto/src/gen/cosmos.vesting.v1beta1.abstract.rs @@ -4,55 +4,22 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct BaseVestingAccount< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub base_account: ::core::option::Option>, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub original_vesting: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub delegated_free: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub delegated_vesting: ::prost::alloc::vec::Vec, #[doc = " Vesting end time, as unix timestamp (in seconds)."] #[prost(int64, tag = "5")] pub end_time: i64, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for BaseVestingAccount +impl ::prost::Name + for BaseVestingAccount { const NAME: &'static str = "BaseVestingAccount"; const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; @@ -66,37 +33,16 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ContinuousVestingAccount< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub base_vesting_account: ::core::option::Option>, #[doc = " Vesting start time, as unix timestamp (in seconds)."] #[prost(int64, tag = "2")] pub start_time: i64, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ContinuousVestingAccount +impl ::prost::Name + for ContinuousVestingAccount { const NAME: &'static str = "ContinuousVestingAccount"; const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; @@ -111,34 +57,13 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct DelayedVestingAccount< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub base_vesting_account: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for DelayedVestingAccount +impl ::prost::Name + for DelayedVestingAccount { const NAME: &'static str = "DelayedVestingAccount"; const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; @@ -155,10 +80,6 @@ pub struct Period { #[prost(int64, tag = "1")] pub length: i64, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, } impl ::prost::Name for Period { @@ -174,42 +95,17 @@ impl ::prost::Name for Period { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct PeriodicVestingAccount< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub base_vesting_account: ::core::option::Option>, #[prost(int64, tag = "2")] pub start_time: i64, #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub vesting_periods: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for PeriodicVestingAccount +impl ::prost::Name + for PeriodicVestingAccount { const NAME: &'static str = "PeriodicVestingAccount"; const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; @@ -226,34 +122,13 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct PermanentLockedAccount< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub base_vesting_account: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for PermanentLockedAccount +impl ::prost::Name + for PermanentLockedAccount { const NAME: &'static str = "PermanentLockedAccount"; const PACKAGE: &'static str = "cosmos.vesting.v1beta1"; @@ -272,10 +147,6 @@ pub struct MsgCreateVestingAccount { #[prost(string, tag = "2")] pub to_address: ::prost::alloc::string::String, #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, #[doc = " end of vesting as unix time (in seconds)."] #[prost(int64, tag = "4")] @@ -315,10 +186,6 @@ pub struct MsgCreatePermanentLockedAccount { #[prost(string, tag = "2")] pub to_address: ::prost::alloc::string::String, #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amount: ::prost::alloc::vec::Vec, } impl ::prost::Name for MsgCreatePermanentLockedAccount { @@ -358,10 +225,6 @@ pub struct MsgCreatePeriodicVestingAccount { #[prost(int64, tag = "3")] pub start_time: i64, #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub vesting_periods: ::prost::alloc::vec::Vec, } impl ::prost::Name for MsgCreatePeriodicVestingAccount { diff --git a/packages/proto/src/gen/cosmwasm.wasm.v1.abstract.rs b/packages/proto/src/gen/cosmwasm.wasm.v1.abstract.rs index ae35b05..c3312af 100644 --- a/packages/proto/src/gen/cosmwasm.wasm.v1.abstract.rs +++ b/packages/proto/src/gen/cosmwasm.wasm.v1.abstract.rs @@ -36,10 +36,6 @@ impl ::prost::Name for AccessConfig { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct Params { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub code_upload_access: ::core::option::Option, #[prost(enumeration = "AccessType", tag = "2")] pub instantiate_default_permission: i32, @@ -64,10 +60,6 @@ pub struct CodeInfo { pub creator: ::prost::alloc::string::String, #[doc = " InstantiateConfig access control to apply on contract creation, optional"] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_config: ::core::option::Option, } impl ::prost::Name for CodeInfo { @@ -81,17 +73,8 @@ impl ::prost::Name for CodeInfo { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct ContractInfo< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct ContractInfo +{ #[doc = " CodeID is the reference to the stored Wasm code"] #[prost(uint64, tag = "1")] pub code_id: u64, @@ -106,33 +89,16 @@ pub struct ContractInfo< pub label: ::prost::alloc::string::String, #[doc = " Created Tx position when the contract was instantiated."] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub created: ::core::option::Option, #[prost(string, tag = "6")] pub ibc_port_id: ::prost::alloc::string::String, #[doc = " Extension is an extension point to store custom metadata within the"] #[doc = " persistence model."] #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub extension: ::core::option::Option, + pub extension: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ContractInfo +impl ::prost::Name + for ContractInfo { const NAME: &'static str = "ContractInfo"; const PACKAGE: &'static str = "cosmwasm.wasm.v1"; @@ -152,10 +118,6 @@ pub struct ContractCodeHistoryEntry { pub code_id: u64, #[doc = " Updated Tx position when the operation was executed."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub updated: ::core::option::Option, #[prost(bytes = "vec", tag = "4")] pub msg: ::prost::alloc::vec::Vec, @@ -319,10 +281,6 @@ impl ContractCodeHistoryOperationType { pub struct StoreCodeAuthorization { #[doc = " Grants for code upload"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub grants: ::prost::alloc::vec::Vec, } impl ::prost::Name for StoreCodeAuthorization { @@ -338,52 +296,16 @@ impl ::prost::Name for StoreCodeAuthorization { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ContractExecutionAuthorization< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " Grants for contract executions"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub grants: ::prost::alloc::vec::Vec>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for ContractExecutionAuthorization { const NAME: &'static str = "ContractExecutionAuthorization"; @@ -398,52 +320,16 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ContractMigrationAuthorization< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " Grants for contract migrations"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub grants: ::prost::alloc::vec::Vec>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for ContractMigrationAuthorization { const NAME: &'static str = "ContractMigrationAuthorization"; @@ -465,10 +351,6 @@ pub struct CodeGrant { #[doc = " on contract creation."] #[doc = " Optional"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_permission: ::core::option::Option, } impl ::prost::Name for CodeGrant { @@ -484,24 +366,8 @@ impl ::prost::Name for CodeGrant { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ContractGrant< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " Contract is the bech32 address of the smart contract"] #[prost(string, tag = "1")] @@ -509,40 +375,16 @@ pub struct ContractGrant< #[doc = " Limit defines execution limits that are enforced and updated when the grant"] #[doc = " is applied. When the limit lapsed the grant is removed."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub limit: ::core::option::Option, + pub limit: ::core::option::Option>, #[doc = " Filter define more fine-grained control on the message payload passed"] #[doc = " to the contract in the operation. When no filter applies on execution, the"] #[doc = " operation is prohibited."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub filter: ::core::option::Option, + pub filter: ::core::option::Option>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for ContractGrant { const NAME: &'static str = "ContractGrant"; @@ -576,10 +418,6 @@ impl ::prost::Name for MaxCallsLimit { pub struct MaxFundsLimit { #[doc = " Amounts is the maximal amount of tokens transferable to the contract."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amounts: ::prost::alloc::vec::Vec, } impl ::prost::Name for MaxFundsLimit { @@ -601,10 +439,6 @@ pub struct CombinedLimit { pub calls_remaining: u64, #[doc = " Amounts is the maximal amount of tokens transferable to the contract."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub amounts: ::prost::alloc::vec::Vec, } impl ::prost::Name for CombinedLimit { @@ -668,53 +502,19 @@ impl ::prost::Name for AcceptedMessagesFilter { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct GenesisState +{ #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub codes: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub contracts: ::prost::alloc::vec::Vec>, #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub sequences: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for GenesisState +impl ::prost::Name + for GenesisState { const NAME: &'static str = "GenesisState"; const PACKAGE: &'static str = "cosmwasm.wasm.v1"; @@ -730,10 +530,6 @@ pub struct Code { #[prost(uint64, tag = "1")] pub code_id: u64, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub code_info: ::core::option::Option, #[prost(bytes = "vec", tag = "3")] pub code_bytes: ::prost::alloc::vec::Vec, @@ -752,49 +548,18 @@ impl ::prost::Name for Code { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Contract< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Contract { #[prost(string, tag = "1")] pub contract_address: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub contract_info: ::core::option::Option>, #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub contract_state: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub contract_code_history: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Contract +impl ::prost::Name + for Contract { const NAME: &'static str = "Contract"; const PACKAGE: &'static str = "cosmwasm.wasm.v1"; @@ -900,10 +665,6 @@ pub struct StoreCodeProposal { pub wasm_byte_code: ::prost::alloc::vec::Vec, #[doc = " InstantiatePermission to apply on contract creation, optional"] #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_permission: ::core::option::Option, #[doc = " UnpinCode code on upload, optional"] #[prost(bool, tag = "8")] @@ -958,10 +719,6 @@ pub struct InstantiateContractProposal { pub msg: ::prost::alloc::vec::Vec, #[doc = " Funds coins that are transferred to the contract on instantiation"] #[prost(message, repeated, tag = "8")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub funds: ::prost::alloc::vec::Vec, } impl ::prost::Name for InstantiateContractProposal { @@ -1002,10 +759,6 @@ pub struct InstantiateContract2Proposal { pub msg: ::prost::alloc::vec::Vec, #[doc = " Funds coins that are transferred to the contract on instantiation"] #[prost(message, repeated, tag = "8")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub funds: ::prost::alloc::vec::Vec, #[doc = " Salt is an arbitrary value provided by the sender. Size can be 1 to 64."] #[prost(bytes = "vec", tag = "9")] @@ -1108,10 +861,6 @@ pub struct ExecuteContractProposal { pub msg: ::prost::alloc::vec::Vec, #[doc = " Funds coins that are transferred to the contract on instantiation"] #[prost(message, repeated, tag = "6")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub funds: ::prost::alloc::vec::Vec, } impl ::prost::Name for ExecuteContractProposal { @@ -1235,10 +984,6 @@ pub struct AccessConfigUpdate { pub code_id: u64, #[doc = " InstantiatePermission to apply to the set of code ids"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_permission: ::core::option::Option, } impl ::prost::Name for AccessConfigUpdate { @@ -1265,10 +1010,6 @@ pub struct UpdateInstantiateConfigProposal { #[doc = " AccessConfigUpdate contains the list of code ids and the access config"] #[doc = " to be applied."] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub access_config_updates: ::prost::alloc::vec::Vec, } impl ::prost::Name for UpdateInstantiateConfigProposal { @@ -1300,10 +1041,6 @@ pub struct StoreAndInstantiateContractProposal { pub wasm_byte_code: ::prost::alloc::vec::Vec, #[doc = " InstantiatePermission to apply on contract creation, optional"] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_permission: ::core::option::Option, #[doc = " UnpinCode code on upload, optional"] #[prost(bool, tag = "6")] @@ -1319,10 +1056,6 @@ pub struct StoreAndInstantiateContractProposal { pub msg: ::prost::alloc::vec::Vec, #[doc = " Funds coins that are transferred to the contract on instantiation"] #[prost(message, repeated, tag = "10")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub funds: ::prost::alloc::vec::Vec, #[doc = " Source is the URL where the code is hosted"] #[prost(string, tag = "11")] @@ -1366,37 +1099,16 @@ impl ::prost::Name for QueryContractInfoRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryContractInfoResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " address is the address of the contract"] #[prost(string, tag = "1")] pub address: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub contract_info: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryContractInfoResponse +impl ::prost::Name + for QueryContractInfoResponse { const NAME: &'static str = "QueryContractInfoResponse"; const PACKAGE: &'static str = "cosmwasm.wasm.v1"; @@ -1415,10 +1127,6 @@ pub struct QueryContractHistoryRequest { pub address: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1436,17 +1144,9 @@ impl ::prost::Name for QueryContractHistoryRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryContractHistoryResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub entries: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1468,10 +1168,6 @@ pub struct QueryContractsByCodeRequest { pub code_id: u64, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1493,10 +1189,6 @@ pub struct QueryContractsByCodeResponse { pub contracts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1518,10 +1210,6 @@ pub struct QueryAllContractStateRequest { pub address: ::prost::alloc::string::String, #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1539,17 +1227,9 @@ impl ::prost::Name for QueryAllContractStateRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryAllContractStateResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub models: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1662,10 +1342,6 @@ pub struct CodeInfoResponse { #[prost(bytes = "vec", tag = "3")] pub data_hash: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_permission: ::core::option::Option, } impl ::prost::Name for CodeInfoResponse { @@ -1681,10 +1357,6 @@ impl ::prost::Name for CodeInfoResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryCodeResponse { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub code_info: ::core::option::Option, #[prost(bytes = "vec", tag = "2")] pub data: ::prost::alloc::vec::Vec, @@ -1703,10 +1375,6 @@ impl ::prost::Name for QueryCodeResponse { pub struct QueryCodesRequest { #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1723,17 +1391,9 @@ impl ::prost::Name for QueryCodesRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryCodesResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub code_infos: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1752,10 +1412,6 @@ impl ::prost::Name for QueryCodesResponse { pub struct QueryPinnedCodesRequest { #[doc = " pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1776,10 +1432,6 @@ pub struct QueryPinnedCodesResponse { pub code_ids: ::prost::alloc::vec::Vec, #[doc = " pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1809,10 +1461,6 @@ impl ::prost::Name for QueryParamsRequest { pub struct QueryParamsResponse { #[doc = " params defines the parameters of the module."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for QueryParamsResponse { @@ -1833,10 +1481,6 @@ pub struct QueryContractsByCreatorRequest { pub creator_address: ::prost::alloc::string::String, #[doc = " Pagination defines an optional pagination for the request."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1858,10 +1502,6 @@ pub struct QueryContractsByCreatorResponse { pub contract_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[doc = " Pagination defines the pagination in the response."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option, } @@ -1886,10 +1526,6 @@ pub struct MsgStoreCode { #[doc = " InstantiatePermission access control to apply on contract creation,"] #[doc = " optional"] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_permission: ::core::option::Option, } impl ::prost::Name for MsgStoreCode { @@ -1941,10 +1577,6 @@ pub struct MsgInstantiateContract { pub msg: ::prost::alloc::vec::Vec, #[doc = " Funds coins that are transferred to the contract on instantiation"] #[prost(message, repeated, tag = "6")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub funds: ::prost::alloc::vec::Vec, } impl ::prost::Name for MsgInstantiateContract { @@ -1996,10 +1628,6 @@ pub struct MsgInstantiateContract2 { pub msg: ::prost::alloc::vec::Vec, #[doc = " Funds coins that are transferred to the contract on instantiation"] #[prost(message, repeated, tag = "6")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub funds: ::prost::alloc::vec::Vec, #[doc = " Salt is an arbitrary value provided by the sender. Size can be 1 to 64."] #[prost(bytes = "vec", tag = "7")] @@ -2051,10 +1679,6 @@ pub struct MsgExecuteContract { pub msg: ::prost::alloc::vec::Vec, #[doc = " Funds coins that are transferred to the contract on execution"] #[prost(message, repeated, tag = "5")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub funds: ::prost::alloc::vec::Vec, } impl ::prost::Name for MsgExecuteContract { @@ -2200,10 +1824,6 @@ pub struct MsgUpdateInstantiateConfig { pub code_id: u64, #[doc = " NewInstantiatePermission is the new access control"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub new_instantiate_permission: ::core::option::Option, } impl ::prost::Name for MsgUpdateInstantiateConfig { @@ -2239,10 +1859,6 @@ pub struct MsgUpdateParams { #[doc = ""] #[doc = " NOTE: All parameters must be supplied."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for MsgUpdateParams { @@ -2398,10 +2014,6 @@ pub struct MsgStoreAndInstantiateContract { pub wasm_byte_code: ::prost::alloc::vec::Vec, #[doc = " InstantiatePermission to apply on contract creation, optional"] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_permission: ::core::option::Option, #[doc = " UnpinCode code on upload, optional. As default the uploaded contract is"] #[doc = " pinned to cache."] @@ -2419,10 +2031,6 @@ pub struct MsgStoreAndInstantiateContract { #[doc = " Funds coins that are transferred from the authority account to the contract"] #[doc = " on instantiation"] #[prost(message, repeated, tag = "9")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub funds: ::prost::alloc::vec::Vec, #[doc = " Source is the URL where the code is hosted"] #[prost(string, tag = "10")] @@ -2545,10 +2153,6 @@ pub struct MsgStoreAndMigrateContract { pub wasm_byte_code: ::prost::alloc::vec::Vec, #[doc = " InstantiatePermission to apply on contract creation, optional"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub instantiate_permission: ::core::option::Option, #[doc = " Contract is the address of the smart contract"] #[prost(string, tag = "4")] diff --git a/packages/proto/src/gen/ibc.applications.interchain_accounts.v1.abstract.rs b/packages/proto/src/gen/ibc.applications.interchain_accounts.v1.abstract.rs index 6b7ac25..7fa5417 100644 --- a/packages/proto/src/gen/ibc.applications.interchain_accounts.v1.abstract.rs +++ b/packages/proto/src/gen/ibc.applications.interchain_accounts.v1.abstract.rs @@ -21,35 +21,12 @@ impl ::prost::Name for InterchainAccountPacketData { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct CosmosTx< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct CosmosTx { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::serialize", - deserialize_with = "crate::any::vec::deserialize" - )] - pub messages: ::prost::alloc::vec::Vec, + pub messages: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for CosmosTx +impl ::prost::Name + for CosmosTx { const NAME: &'static str = "CosmosTx"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1"; @@ -104,37 +81,16 @@ impl Type { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct InterchainAccount< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub base_account: ::core::option::Option>, #[prost(string, tag = "2")] pub account_owner: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for InterchainAccount +impl ::prost::Name + for InterchainAccount { const NAME: &'static str = "InterchainAccount"; const PACKAGE: &'static str = "ibc.applications.interchain_accounts.v1"; diff --git a/packages/proto/src/gen/ibc.core.channel.v1.abstract.rs b/packages/proto/src/gen/ibc.core.channel.v1.abstract.rs index 017d7a8..1edaf5c 100644 --- a/packages/proto/src/gen/ibc.core.channel.v1.abstract.rs +++ b/packages/proto/src/gen/ibc.core.channel.v1.abstract.rs @@ -13,10 +13,6 @@ pub struct Channel { pub ordering: i32, #[doc = " counterparty channel end"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub counterparty: ::core::option::Option, #[doc = " list of connection identifiers, in order, along which packets sent on"] #[doc = " this channel will travel"] @@ -47,10 +43,6 @@ pub struct IdentifiedChannel { pub ordering: i32, #[doc = " counterparty channel end"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub counterparty: ::core::option::Option, #[doc = " list of connection identifiers, in order, along which packets sent on"] #[doc = " this channel will travel"] @@ -119,10 +111,6 @@ pub struct Packet { pub data: ::prost::alloc::vec::Vec, #[doc = " block height after which the packet times out"] #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub timeout_height: ::core::option::Option, #[doc = " block timestamp (in nanoseconds) after which the packet times out"] #[prost(uint64, tag = "8")] @@ -330,46 +318,18 @@ impl Order { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GenesisState { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub channels: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub acknowledgements: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub commitments: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "4")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub receipts: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "5")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub send_sequences: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "6")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub recv_sequences: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "7")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub ack_sequences: ::prost::alloc::vec::Vec, #[doc = " the sequence for the next generated channel identifier"] #[prost(uint64, tag = "8")] @@ -430,20 +390,12 @@ impl ::prost::Name for QueryChannelRequest { pub struct QueryChannelResponse { #[doc = " channel associated with the request identifiers"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub channel: ::core::option::Option, #[doc = " merkle proof of existence"] #[prost(bytes = "vec", tag = "2")] pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } impl ::prost::Name for QueryChannelResponse { @@ -460,10 +412,6 @@ impl ::prost::Name for QueryChannelResponse { pub struct QueryChannelsRequest { #[doc = " pagination request"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageRequest, >, @@ -482,26 +430,14 @@ impl ::prost::Name for QueryChannelsRequest { pub struct QueryChannelsResponse { #[doc = " list of stored channels of the chain."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub channels: ::prost::alloc::vec::Vec, #[doc = " pagination response"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageResponse, >, #[doc = " query block height"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub height: ::core::option::Option, } impl ::prost::Name for QueryChannelsResponse { @@ -522,10 +458,6 @@ pub struct QueryConnectionChannelsRequest { pub connection: ::prost::alloc::string::String, #[doc = " pagination request"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageRequest, >, @@ -545,26 +477,14 @@ impl ::prost::Name for QueryConnectionChannelsRequest { pub struct QueryConnectionChannelsResponse { #[doc = " list of channels associated with a connection."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub channels: ::prost::alloc::vec::Vec, #[doc = " pagination response"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageResponse, >, #[doc = " query block height"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub height: ::core::option::Option, } impl ::prost::Name for QueryConnectionChannelsResponse { @@ -600,22 +520,10 @@ impl ::prost::Name for QueryChannelClientStateRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryChannelClientStateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client state associated with the channel"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub identified_client_state: ::core::option::Option>, #[doc = " merkle proof of existence"] @@ -623,23 +531,10 @@ pub struct QueryChannelClientStateResponse< pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryChannelClientStateResponse +impl ::prost::Name + for QueryChannelClientStateResponse { const NAME: &'static str = "QueryChannelClientStateResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; @@ -679,23 +574,11 @@ impl ::prost::Name for QueryChannelConsensusStateRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryChannelConsensusStateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " consensus state associated with the channel"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub consensus_state: ::core::option::Option, + pub consensus_state: ::core::option::Option>, #[doc = " client ID associated with the consensus state"] #[prost(string, tag = "2")] pub client_id: ::prost::alloc::string::String, @@ -704,23 +587,10 @@ pub struct QueryChannelConsensusStateResponse< pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryChannelConsensusStateResponse +impl ::prost::Name + for QueryChannelConsensusStateResponse { const NAME: &'static str = "QueryChannelConsensusStateResponse"; const PACKAGE: &'static str = "ibc.core.channel.v1"; @@ -766,10 +636,6 @@ pub struct QueryPacketCommitmentResponse { pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } impl ::prost::Name for QueryPacketCommitmentResponse { @@ -793,10 +659,6 @@ pub struct QueryPacketCommitmentsRequest { pub channel_id: ::prost::alloc::string::String, #[doc = " pagination request"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageRequest, >, @@ -815,26 +677,14 @@ impl ::prost::Name for QueryPacketCommitmentsRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryPacketCommitmentsResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub commitments: ::prost::alloc::vec::Vec, #[doc = " pagination response"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageResponse, >, #[doc = " query block height"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub height: ::core::option::Option, } impl ::prost::Name for QueryPacketCommitmentsResponse { @@ -882,10 +732,6 @@ pub struct QueryPacketReceiptResponse { pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } impl ::prost::Name for QueryPacketReceiptResponse { @@ -933,10 +779,6 @@ pub struct QueryPacketAcknowledgementResponse { pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } impl ::prost::Name for QueryPacketAcknowledgementResponse { @@ -960,10 +802,6 @@ pub struct QueryPacketAcknowledgementsRequest { pub channel_id: ::prost::alloc::string::String, #[doc = " pagination request"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageRequest, >, @@ -985,26 +823,14 @@ impl ::prost::Name for QueryPacketAcknowledgementsRequest { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryPacketAcknowledgementsResponse { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub acknowledgements: ::prost::alloc::vec::Vec, #[doc = " pagination response"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageResponse, >, #[doc = " query block height"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub height: ::core::option::Option, } impl ::prost::Name for QueryPacketAcknowledgementsResponse { @@ -1048,10 +874,6 @@ pub struct QueryUnreceivedPacketsResponse { pub sequences: ::prost::alloc::vec::Vec, #[doc = " query block height"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub height: ::core::option::Option, } impl ::prost::Name for QueryUnreceivedPacketsResponse { @@ -1095,10 +917,6 @@ pub struct QueryUnreceivedAcksResponse { pub sequences: ::prost::alloc::vec::Vec, #[doc = " query block height"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub height: ::core::option::Option, } impl ::prost::Name for QueryUnreceivedAcksResponse { @@ -1142,10 +960,6 @@ pub struct QueryNextSequenceReceiveResponse { pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } impl ::prost::Name for QueryNextSequenceReceiveResponse { @@ -1164,10 +978,6 @@ pub struct MsgChannelOpenInit { #[prost(string, tag = "1")] pub port_id: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub channel: ::core::option::Option, #[prost(string, tag = "3")] pub signer: ::prost::alloc::string::String, @@ -1211,20 +1021,12 @@ pub struct MsgChannelOpenTry { pub previous_channel_id: ::prost::alloc::string::String, #[doc = " NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub channel: ::core::option::Option, #[prost(string, tag = "4")] pub counterparty_version: ::prost::alloc::string::String, #[prost(bytes = "vec", tag = "5")] pub proof_init: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(string, tag = "7")] pub signer: ::prost::alloc::string::String, @@ -1270,10 +1072,6 @@ pub struct MsgChannelOpenAck { #[prost(bytes = "vec", tag = "5")] pub proof_try: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "6")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(string, tag = "7")] pub signer: ::prost::alloc::string::String, @@ -1310,10 +1108,6 @@ pub struct MsgChannelOpenConfirm { #[prost(bytes = "vec", tag = "3")] pub proof_ack: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(string, tag = "5")] pub signer: ::prost::alloc::string::String, @@ -1383,10 +1177,6 @@ pub struct MsgChannelCloseConfirm { #[prost(bytes = "vec", tag = "3")] pub proof_init: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(string, tag = "5")] pub signer: ::prost::alloc::string::String, @@ -1417,18 +1207,10 @@ impl ::prost::Name for MsgChannelCloseConfirmResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgRecvPacket { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub packet: ::core::option::Option, #[prost(bytes = "vec", tag = "2")] pub proof_commitment: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(string, tag = "4")] pub signer: ::prost::alloc::string::String, @@ -1461,18 +1243,10 @@ impl ::prost::Name for MsgRecvPacketResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgTimeout { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub packet: ::core::option::Option, #[prost(bytes = "vec", tag = "2")] pub proof_unreceived: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(uint64, tag = "4")] pub next_sequence_recv: u64, @@ -1507,20 +1281,12 @@ impl ::prost::Name for MsgTimeoutResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgTimeoutOnClose { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub packet: ::core::option::Option, #[prost(bytes = "vec", tag = "2")] pub proof_unreceived: ::prost::alloc::vec::Vec, #[prost(bytes = "vec", tag = "3")] pub proof_close: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(uint64, tag = "5")] pub next_sequence_recv: u64, @@ -1555,20 +1321,12 @@ impl ::prost::Name for MsgTimeoutOnCloseResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgAcknowledgement { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub packet: ::core::option::Option, #[prost(bytes = "vec", tag = "2")] pub acknowledgement: ::prost::alloc::vec::Vec, #[prost(bytes = "vec", tag = "3")] pub proof_acked: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(string, tag = "5")] pub signer: ::prost::alloc::string::String, diff --git a/packages/proto/src/gen/ibc.core.client.v1.abstract.rs b/packages/proto/src/gen/ibc.core.client.v1.abstract.rs index 1e930f4..2723185 100644 --- a/packages/proto/src/gen/ibc.core.client.v1.abstract.rs +++ b/packages/proto/src/gen/ibc.core.client.v1.abstract.rs @@ -4,38 +4,17 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct IdentifiedClientState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client identifier"] #[prost(string, tag = "1")] pub client_id: ::prost::alloc::string::String, #[doc = " client state"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub client_state: ::core::option::Option, + pub client_state: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for IdentifiedClientState +impl ::prost::Name + for IdentifiedClientState { const NAME: &'static str = "IdentifiedClientState"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -49,42 +28,17 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ConsensusStateWithHeight< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " consensus state height"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub height: ::core::option::Option, #[doc = " consensus state"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub consensus_state: ::core::option::Option, + pub consensus_state: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ConsensusStateWithHeight +impl ::prost::Name + for ConsensusStateWithHeight { const NAME: &'static str = "ConsensusStateWithHeight"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -98,38 +52,17 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ClientConsensusStates< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client identifier"] #[prost(string, tag = "1")] pub client_id: ::prost::alloc::string::String, #[doc = " consensus states and their heights associated with the client"] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub consensus_states: ::prost::alloc::vec::Vec>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ClientConsensusStates +impl ::prost::Name + for ClientConsensusStates { const NAME: &'static str = "ClientConsensusStates"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -172,34 +105,14 @@ impl ::prost::Name for ClientUpdateProposal { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct UpgradeProposal< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub description: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub plan: ::core::option::Option>, #[doc = " An UpgradedClientState must be provided to perform an IBC breaking upgrade."] #[doc = " This will make the chain commit to the correct upgraded (self) client state"] @@ -208,31 +121,11 @@ pub struct UpgradeProposal< #[doc = " of the chain. This will allow IBC connections to persist smoothly across"] #[doc = " planned chain upgrades"] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub upgraded_client_state: ::core::option::Option, + pub upgraded_client_state: ::core::option::Option>, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for UpgradeProposal { const NAME: &'static str = "UpgradeProposal"; @@ -292,51 +185,19 @@ impl ::prost::Name for Params { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client states with their corresponding identifiers"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub clients: ::prost::alloc::vec::Vec>, #[doc = " consensus states from each client"] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub clients_consensus: ::prost::alloc::vec::Vec>, #[doc = " metadata from each client"] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub clients_metadata: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, #[doc = " create localhost on initialization"] #[prost(bool, tag = "5")] @@ -346,24 +207,8 @@ pub struct GenesisState< pub next_client_sequence: u64, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; @@ -401,10 +246,6 @@ pub struct IdentifiedGenesisMetadata { #[prost(string, tag = "1")] pub client_id: ::prost::alloc::string::String, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub client_metadata: ::prost::alloc::vec::Vec, } impl ::prost::Name for IdentifiedGenesisMetadata { @@ -438,45 +279,20 @@ impl ::prost::Name for QueryClientStateRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryClientStateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client state associated with the request identifier"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub client_state: ::core::option::Option, + pub client_state: ::core::option::Option>, #[doc = " merkle proof of existence"] #[prost(bytes = "vec", tag = "2")] pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryClientStateResponse +impl ::prost::Name + for QueryClientStateResponse { const NAME: &'static str = "QueryClientStateResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -492,10 +308,6 @@ impl< pub struct QueryClientStatesRequest { #[doc = " pagination request"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageRequest, >, @@ -513,44 +325,19 @@ impl ::prost::Name for QueryClientStatesRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryClientStatesResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " list of stored ClientStates of the chain."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub client_states: ::prost::alloc::vec::Vec>, #[doc = " pagination response"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageResponse, >, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryClientStatesResponse +impl ::prost::Name + for QueryClientStatesResponse { const NAME: &'static str = "QueryClientStatesResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -592,45 +379,20 @@ impl ::prost::Name for QueryConsensusStateRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryConsensusStateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " consensus state associated with the client identifier at the given height"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub consensus_state: ::core::option::Option, + pub consensus_state: ::core::option::Option>, #[doc = " merkle proof of existence"] #[prost(bytes = "vec", tag = "2")] pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryConsensusStateResponse +impl ::prost::Name + for QueryConsensusStateResponse { const NAME: &'static str = "QueryConsensusStateResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -649,10 +411,6 @@ pub struct QueryConsensusStatesRequest { pub client_id: ::prost::alloc::string::String, #[doc = " pagination request"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageRequest, >, @@ -670,44 +428,19 @@ impl ::prost::Name for QueryConsensusStatesRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryConsensusStatesResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " consensus states associated with the identifier"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub consensus_states: ::prost::alloc::vec::Vec>, #[doc = " pagination response"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageResponse, >, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryConsensusStatesResponse +impl ::prost::Name + for QueryConsensusStatesResponse { const NAME: &'static str = "QueryConsensusStatesResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -726,10 +459,6 @@ pub struct QueryConsensusStateHeightsRequest { pub client_id: ::prost::alloc::string::String, #[doc = " pagination request"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageRequest, >, @@ -749,17 +478,9 @@ impl ::prost::Name for QueryConsensusStateHeightsRequest { pub struct QueryConsensusStateHeightsResponse { #[doc = " consensus state heights"] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub consensus_state_heights: ::prost::alloc::vec::Vec, #[doc = " pagination response"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageResponse, >, @@ -825,10 +546,6 @@ impl ::prost::Name for QueryClientParamsRequest { pub struct QueryClientParamsResponse { #[doc = " params defines the parameters of the module."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for QueryClientParamsResponse { @@ -857,35 +574,14 @@ impl ::prost::Name for QueryUpgradedClientStateRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryUpgradedClientStateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client state associated with the request identifier"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub upgraded_client_state: ::core::option::Option, + pub upgraded_client_state: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryUpgradedClientStateResponse +impl ::prost::Name + for QueryUpgradedClientStateResponse { const NAME: &'static str = "QueryUpgradedClientStateResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -912,35 +608,14 @@ impl ::prost::Name for QueryUpgradedConsensusStateRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryUpgradedConsensusStateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " Consensus state associated with the request identifier"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub upgraded_consensus_state: ::core::option::Option, + pub upgraded_consensus_state: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryUpgradedConsensusStateResponse +impl ::prost::Name + for QueryUpgradedConsensusStateResponse { const NAME: &'static str = "QueryUpgradedConsensusStateResponse"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -953,63 +628,23 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgCreateClient< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " light client state"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub client_state: ::core::option::Option, + pub client_state: ::core::option::Option>, #[doc = " consensus state associated with the client that corresponds to a given"] #[doc = " height."] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub consensus_state: ::core::option::Option, + pub consensus_state: ::core::option::Option>, #[doc = " signer address"] #[prost(string, tag = "3")] pub signer: ::prost::alloc::string::String, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for MsgCreateClient { const NAME: &'static str = "MsgCreateClient"; @@ -1036,41 +671,20 @@ impl ::prost::Name for MsgCreateClientResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgUpdateClient< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client unique identifier"] #[prost(string, tag = "1")] pub client_id: ::prost::alloc::string::String, #[doc = " client message to update the light client"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub client_message: ::core::option::Option, + pub client_message: ::core::option::Option>, #[doc = " signer address"] #[prost(string, tag = "3")] pub signer: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgUpdateClient +impl ::prost::Name + for MsgUpdateClient { const NAME: &'static str = "MsgUpdateClient"; const PACKAGE: &'static str = "ibc.core.client.v1"; @@ -1096,43 +710,19 @@ impl ::prost::Name for MsgUpdateClientResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgUpgradeClient< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client unique identifier"] #[prost(string, tag = "1")] pub client_id: ::prost::alloc::string::String, #[doc = " upgraded client state"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub client_state: ::core::option::Option, + pub client_state: ::core::option::Option>, #[doc = " upgraded consensus state, only contains enough information to serve as a"] #[doc = " basis of trust in update logic"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub consensus_state: ::core::option::Option, + pub consensus_state: ::core::option::Option>, #[doc = " proof that old chain committed to new client"] #[prost(bytes = "vec", tag = "4")] pub proof_upgrade_client: ::prost::alloc::vec::Vec, @@ -1144,24 +734,8 @@ pub struct MsgUpgradeClient< pub signer: ::prost::alloc::string::String, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for MsgUpgradeClient { const NAME: &'static str = "MsgUpgradeClient"; @@ -1189,15 +763,7 @@ impl ::prost::Name for MsgUpgradeClientResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgSubmitMisbehaviour< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client unique identifier"] #[deprecated] @@ -1206,27 +772,14 @@ pub struct MsgSubmitMisbehaviour< #[doc = " misbehaviour used for freezing the light client"] #[deprecated] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub misbehaviour: ::core::option::Option, + pub misbehaviour: ::core::option::Option>, #[doc = " signer address"] #[deprecated] #[prost(string, tag = "3")] pub signer: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgSubmitMisbehaviour +impl ::prost::Name + for MsgSubmitMisbehaviour { const NAME: &'static str = "MsgSubmitMisbehaviour"; const PACKAGE: &'static str = "ibc.core.client.v1"; diff --git a/packages/proto/src/gen/ibc.core.connection.v1.abstract.rs b/packages/proto/src/gen/ibc.core.connection.v1.abstract.rs index 2fe67ed..9184452 100644 --- a/packages/proto/src/gen/ibc.core.connection.v1.abstract.rs +++ b/packages/proto/src/gen/ibc.core.connection.v1.abstract.rs @@ -12,20 +12,12 @@ pub struct ConnectionEnd { #[doc = " IBC version which can be utilised to determine encodings or protocols for"] #[doc = " channels or packets utilising this connection."] #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub versions: ::prost::alloc::vec::Vec, #[doc = " current state of the connection end."] #[prost(enumeration = "State", tag = "3")] pub state: i32, #[doc = " counterparty chain associated with this connection."] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub counterparty: ::core::option::Option, #[doc = " delay period that must pass before a consensus state can be used for"] #[doc = " packet-verification NOTE: delay period logic is only implemented by some"] @@ -55,20 +47,12 @@ pub struct IdentifiedConnection { #[doc = " IBC version which can be utilised to determine encodings or protocols for"] #[doc = " channels or packets utilising this connection"] #[prost(message, repeated, tag = "3")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub versions: ::prost::alloc::vec::Vec, #[doc = " current state of the connection end."] #[prost(enumeration = "State", tag = "4")] pub state: i32, #[doc = " counterparty chain associated with this connection."] #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub counterparty: ::core::option::Option, #[doc = " delay period associated with this connection."] #[prost(uint64, tag = "6")] @@ -96,10 +80,6 @@ pub struct Counterparty { pub connection_id: ::prost::alloc::string::String, #[doc = " commitment merkle prefix of the counterparty chain."] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub prefix: ::core::option::Option, } impl ::prost::Name for Counterparty { @@ -239,25 +219,13 @@ impl State { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GenesisState { #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub connections: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "2")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub client_connection_paths: ::prost::alloc::vec::Vec, #[doc = " the sequence for the next generated connection identifier"] #[prost(uint64, tag = "3")] pub next_connection_sequence: u64, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for GenesisState { @@ -293,20 +261,12 @@ impl ::prost::Name for QueryConnectionRequest { pub struct QueryConnectionResponse { #[doc = " connection associated with the request identifier"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub connection: ::core::option::Option, #[doc = " merkle proof of existence"] #[prost(bytes = "vec", tag = "2")] pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } impl ::prost::Name for QueryConnectionResponse { @@ -323,10 +283,6 @@ impl ::prost::Name for QueryConnectionResponse { #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryConnectionsRequest { #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageRequest, >, @@ -346,26 +302,14 @@ impl ::prost::Name for QueryConnectionsRequest { pub struct QueryConnectionsResponse { #[doc = " list of stored connections of the chain."] #[prost(message, repeated, tag = "1")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub connections: ::prost::alloc::vec::Vec, #[doc = " pagination response"] #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub pagination: ::core::option::Option< super::super::super::super::cosmos::base::query::v1beta1::PageResponse, >, #[doc = " query block height"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub height: ::core::option::Option, } impl ::prost::Name for QueryConnectionsResponse { @@ -406,10 +350,6 @@ pub struct QueryClientConnectionsResponse { pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was generated"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } impl ::prost::Name for QueryClientConnectionsResponse { @@ -442,22 +382,10 @@ impl ::prost::Name for QueryConnectionClientStateRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryConnectionClientStateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " client state associated with the channel"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub identified_client_state: ::core::option::Option>, #[doc = " merkle proof of existence"] @@ -465,23 +393,10 @@ pub struct QueryConnectionClientStateResponse< pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryConnectionClientStateResponse +impl ::prost::Name + for QueryConnectionClientStateResponse { const NAME: &'static str = "QueryConnectionClientStateResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; @@ -516,23 +431,11 @@ impl ::prost::Name for QueryConnectionConsensusStateRequest { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct QueryConnectionConsensusStateResponse< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " consensus state associated with the channel"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub consensus_state: ::core::option::Option, + pub consensus_state: ::core::option::Option>, #[doc = " client ID associated with the consensus state"] #[prost(string, tag = "2")] pub client_id: ::prost::alloc::string::String, @@ -541,23 +444,10 @@ pub struct QueryConnectionConsensusStateResponse< pub proof: ::prost::alloc::vec::Vec, #[doc = " height at which the proof was retrieved"] #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for QueryConnectionConsensusStateResponse +impl ::prost::Name + for QueryConnectionConsensusStateResponse { const NAME: &'static str = "QueryConnectionConsensusStateResponse"; const PACKAGE: &'static str = "ibc.core.connection.v1"; @@ -584,10 +474,6 @@ impl ::prost::Name for QueryConnectionParamsRequest { pub struct QueryConnectionParamsResponse { #[doc = " params defines the parameters of the module."] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub params: ::core::option::Option, } impl ::prost::Name for QueryConnectionParamsResponse { @@ -606,16 +492,8 @@ pub struct MsgConnectionOpenInit { #[prost(string, tag = "1")] pub client_id: ::prost::alloc::string::String, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub counterparty: ::core::option::Option, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub version: ::core::option::Option, #[prost(uint64, tag = "4")] pub delay_period: u64, @@ -648,15 +526,7 @@ impl ::prost::Name for MsgConnectionOpenInitResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgConnectionOpenTry< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(string, tag = "1")] pub client_id: ::prost::alloc::string::String, @@ -665,30 +535,14 @@ pub struct MsgConnectionOpenTry< #[prost(string, tag = "2")] pub previous_connection_id: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub client_state: ::core::option::Option, + pub client_state: ::core::option::Option>, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub counterparty: ::core::option::Option, #[prost(uint64, tag = "5")] pub delay_period: u64, #[prost(message, repeated, tag = "6")] - #[serde( - serialize_with = "crate::any::vec::generic_serialize", - deserialize_with = "crate::any::vec::generic_deserialize" - )] pub counterparty_versions: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "7")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[doc = " proof of the initialization the connection on Chain A: `UNITIALIZED ->"] #[doc = " INIT`"] @@ -701,10 +555,6 @@ pub struct MsgConnectionOpenTry< #[prost(bytes = "vec", tag = "10")] pub proof_consensus: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "11")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub consensus_height: ::core::option::Option, #[prost(string, tag = "12")] pub signer: ::prost::alloc::string::String, @@ -712,17 +562,8 @@ pub struct MsgConnectionOpenTry< #[prost(bytes = "vec", tag = "13")] pub host_consensus_state_proof: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgConnectionOpenTry +impl ::prost::Name + for MsgConnectionOpenTry { const NAME: &'static str = "MsgConnectionOpenTry"; const PACKAGE: &'static str = "ibc.core.connection.v1"; @@ -748,37 +589,17 @@ impl ::prost::Name for MsgConnectionOpenTryResponse { #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct MsgConnectionOpenAck< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(string, tag = "1")] pub connection_id: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub counterparty_connection_id: ::prost::alloc::string::String, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub version: ::core::option::Option, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub client_state: ::core::option::Option, + pub client_state: ::core::option::Option>, #[prost(message, optional, tag = "5")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[doc = " proof of the initialization the connection on Chain B: `UNITIALIZED ->"] #[doc = " TRYOPEN`"] @@ -791,10 +612,6 @@ pub struct MsgConnectionOpenAck< #[prost(bytes = "vec", tag = "8")] pub proof_consensus: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "9")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub consensus_height: ::core::option::Option, #[prost(string, tag = "10")] pub signer: ::prost::alloc::string::String, @@ -802,17 +619,8 @@ pub struct MsgConnectionOpenAck< #[prost(bytes = "vec", tag = "11")] pub host_consensus_state_proof: ::prost::alloc::vec::Vec, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for MsgConnectionOpenAck +impl ::prost::Name + for MsgConnectionOpenAck { const NAME: &'static str = "MsgConnectionOpenAck"; const PACKAGE: &'static str = "ibc.core.connection.v1"; @@ -844,10 +652,6 @@ pub struct MsgConnectionOpenConfirm { #[prost(bytes = "vec", tag = "2")] pub proof_ack: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub proof_height: ::core::option::Option, #[prost(string, tag = "4")] pub signer: ::prost::alloc::string::String, diff --git a/packages/proto/src/gen/ibc.core.types.v1.abstract.rs b/packages/proto/src/gen/ibc.core.types.v1.abstract.rs index fae1188..9dcbaee 100644 --- a/packages/proto/src/gen/ibc.core.types.v1.abstract.rs +++ b/packages/proto/src/gen/ibc.core.types.v1.abstract.rs @@ -3,31 +3,11 @@ #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct GenesisState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " ICS002 - Clients genesis state"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub client_genesis: ::core::option::Option>, #[doc = " ICS003 - Connections genesis state"] #[prost(message, optional, tag = "2")] @@ -37,24 +17,8 @@ pub struct GenesisState< pub channel_genesis: ::core::option::Option, } impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - BB: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, + BB: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > ::prost::Name for GenesisState { const NAME: &'static str = "GenesisState"; diff --git a/packages/proto/src/gen/ibc.lightclients.solomachine.v2.abstract.rs b/packages/proto/src/gen/ibc.lightclients.solomachine.v2.abstract.rs index 5a87b60..20ecb16 100644 --- a/packages/proto/src/gen/ibc.lightclients.solomachine.v2.abstract.rs +++ b/packages/proto/src/gen/ibc.lightclients.solomachine.v2.abstract.rs @@ -3,17 +3,8 @@ #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct ClientState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct ClientState +{ #[doc = " latest sequence of the client state"] #[prost(uint64, tag = "1")] pub sequence: u64, @@ -21,27 +12,14 @@ pub struct ClientState< #[prost(bool, tag = "2")] pub is_frozen: bool, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub consensus_state: ::core::option::Option>, #[doc = " when set to true, will allow governance to update a solo machine client."] #[doc = " The client will be unfrozen if it is frozen."] #[prost(bool, tag = "4")] pub allow_update_after_proposal: bool, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ClientState +impl ::prost::Name + for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; @@ -56,23 +34,11 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ConsensusState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " public key of the solo machine"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub public_key: ::core::option::Option, + pub public_key: ::core::option::Option>, #[doc = " diversifier allows the same public key to be re-used across different solo"] #[doc = " machine clients (potentially on different chains) without being considered"] #[doc = " misbehaviour."] @@ -81,17 +47,8 @@ pub struct ConsensusState< #[prost(uint64, tag = "3")] pub timestamp: u64, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ConsensusState +impl ::prost::Name + for ConsensusState { const NAME: &'static str = "ConsensusState"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; @@ -103,17 +60,7 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Header< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Header { #[doc = " sequence to update solo machine public key at"] #[prost(uint64, tag = "1")] pub sequence: u64, @@ -122,25 +69,12 @@ pub struct Header< #[prost(bytes = "vec", tag = "3")] pub signature: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub new_public_key: ::core::option::Option, + pub new_public_key: ::core::option::Option>, #[prost(string, tag = "5")] pub new_diversifier: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Header +impl ::prost::Name + for Header { const NAME: &'static str = "Header"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; @@ -159,16 +93,8 @@ pub struct Misbehaviour { #[prost(uint64, tag = "2")] pub sequence: u64, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub signature_one: ::core::option::Option, #[prost(message, optional, tag = "4")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub signature_two: ::core::option::Option, } impl ::prost::Name for Misbehaviour { @@ -247,39 +173,16 @@ impl ::prost::Name for SignBytes { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct HeaderData< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct HeaderData { #[doc = " header public key"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub new_pub_key: ::core::option::Option, + pub new_pub_key: ::core::option::Option>, #[doc = " header diversifier"] #[prost(string, tag = "2")] pub new_diversifier: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for HeaderData +impl ::prost::Name + for HeaderData { const NAME: &'static str = "HeaderData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; @@ -292,36 +195,15 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ClientStateData< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(bytes = "vec", tag = "1")] pub path: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub client_state: ::core::option::Option, + pub client_state: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ClientStateData +impl ::prost::Name + for ClientStateData { const NAME: &'static str = "ClientStateData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; @@ -335,36 +217,15 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ConsensusStateData< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[prost(bytes = "vec", tag = "1")] pub path: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub consensus_state: ::core::option::Option, + pub consensus_state: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ConsensusStateData +impl ::prost::Name + for ConsensusStateData { const NAME: &'static str = "ConsensusStateData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v2"; @@ -381,10 +242,6 @@ pub struct ConnectionStateData { #[prost(bytes = "vec", tag = "1")] pub path: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub connection: ::core::option::Option, } @@ -404,10 +261,6 @@ pub struct ChannelStateData { #[prost(bytes = "vec", tag = "1")] pub path: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub channel: ::core::option::Option, } impl ::prost::Name for ChannelStateData { diff --git a/packages/proto/src/gen/ibc.lightclients.solomachine.v3.abstract.rs b/packages/proto/src/gen/ibc.lightclients.solomachine.v3.abstract.rs index 101572b..63504e2 100644 --- a/packages/proto/src/gen/ibc.lightclients.solomachine.v3.abstract.rs +++ b/packages/proto/src/gen/ibc.lightclients.solomachine.v3.abstract.rs @@ -3,17 +3,8 @@ #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct ClientState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct ClientState +{ #[doc = " latest sequence of the client state"] #[prost(uint64, tag = "1")] pub sequence: u64, @@ -21,23 +12,10 @@ pub struct ClientState< #[prost(bool, tag = "2")] pub is_frozen: bool, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub consensus_state: ::core::option::Option>, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ClientState +impl ::prost::Name + for ClientState { const NAME: &'static str = "ClientState"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; @@ -52,23 +30,11 @@ impl< #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] pub struct ConsensusState< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, + A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name, > { #[doc = " public key of the solo machine"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub public_key: ::core::option::Option, + pub public_key: ::core::option::Option>, #[doc = " diversifier allows the same public key to be re-used across different solo"] #[doc = " machine clients (potentially on different chains) without being considered"] #[doc = " misbehaviour."] @@ -77,17 +43,8 @@ pub struct ConsensusState< #[prost(uint64, tag = "3")] pub timestamp: u64, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for ConsensusState +impl ::prost::Name + for ConsensusState { const NAME: &'static str = "ConsensusState"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; @@ -99,41 +56,18 @@ impl< #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct Header< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct Header { #[prost(uint64, tag = "1")] pub timestamp: u64, #[prost(bytes = "vec", tag = "2")] pub signature: ::prost::alloc::vec::Vec, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub new_public_key: ::core::option::Option, + pub new_public_key: ::core::option::Option>, #[prost(string, tag = "4")] pub new_diversifier: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for Header +impl ::prost::Name + for Header { const NAME: &'static str = "Header"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3"; @@ -150,16 +84,8 @@ pub struct Misbehaviour { #[prost(uint64, tag = "1")] pub sequence: u64, #[prost(message, optional, tag = "2")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub signature_one: ::core::option::Option, #[prost(message, optional, tag = "3")] - #[serde( - serialize_with = "crate::any::option::generic_serialize", - deserialize_with = "crate::any::option::generic_deserialize" - )] pub signature_two: ::core::option::Option, } impl ::prost::Name for Misbehaviour { @@ -241,39 +167,16 @@ impl ::prost::Name for SignBytes { #[derive(:: serde :: Serialize, :: serde :: Deserialize)] #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, :: prost :: Message)] -pub struct HeaderData< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, -> { +pub struct HeaderData { #[doc = " header public key"] #[prost(message, optional, tag = "1")] - #[serde( - serialize_with = "crate::any::option::serialize", - deserialize_with = "crate::any::option::deserialize" - )] - pub new_pub_key: ::core::option::Option, + pub new_pub_key: ::core::option::Option>, #[doc = " header diversifier"] #[prost(string, tag = "2")] pub new_diversifier: ::prost::alloc::string::String, } -impl< - A: Clone - + PartialEq - + Default - + Send - + Sync - + prost::Message - + serde::Serialize - + serde::de::DeserializeOwned - + prost::Name, - > ::prost::Name for HeaderData +impl ::prost::Name + for HeaderData { const NAME: &'static str = "HeaderData"; const PACKAGE: &'static str = "ibc.lightclients.solomachine.v3";