Skip to content

Commit

Permalink
Patched generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
FloppyDisck committed Oct 14, 2024
1 parent abbfcce commit edecc60
Show file tree
Hide file tree
Showing 29 changed files with 596 additions and 5,894 deletions.
59 changes: 4 additions & 55 deletions packages/proto/src/gen/archway.cwica.v1.abstract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Params>,
}
impl ::prost::Name for GenesisState {
Expand Down Expand Up @@ -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<Params>,
}
impl ::prost::Name for QueryParamsResponse {
Expand All @@ -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<IcaSuccess>,
}
impl ::prost::Name for SudoPayload {
Expand All @@ -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<AccountRegistered>,
#[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<TxExecuted>,
}
impl ::prost::Name for IcaSuccess {
Expand Down Expand Up @@ -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<super::super::super::ibc::core::channel::v1::Packet>,
#[doc = " data is the response data after the tx has been executed"]
#[prost(bytes = "vec", tag = "2")]
Expand Down Expand Up @@ -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<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name> {
#[doc = " contract_address is the address of the who wants to submit a transaction to"]
#[doc = " the counterparty chain"]
#[prost(string, tag = "1")]
Expand All @@ -260,29 +226,16 @@ 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<A>,
pub msgs: ::prost::alloc::vec::Vec<crate::any::Any<A>>,
#[doc = " memo is the memo to be included in the packet"]
#[prost(string, tag = "4")]
pub memo: ::prost::alloc::string::String,
#[doc = " timeout in seconds after which the packet times out"]
#[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<A>
impl<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name> ::prost::Name
for MsgSendTx<A>
{
const NAME: &'static str = "MsgSendTx";
const PACKAGE: &'static str = "archway.cwica.v1";
Expand Down Expand Up @@ -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<Params>,
}
impl ::prost::Name for MsgUpdateParams {
Expand Down
32 changes: 5 additions & 27 deletions packages/proto/src/gen/archway.genmsg.v1.abstract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<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 messages: ::prost::alloc::vec::Vec<A>,
pub messages: ::prost::alloc::vec::Vec<crate::any::Any<A>>,
}
impl<
A: Clone
+ PartialEq
+ Default
+ Send
+ Sync
+ prost::Message
+ serde::Serialize
+ serde::de::DeserializeOwned
+ prost::Name,
> ::prost::Name for GenesisState<A>
impl<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name> ::prost::Name
for GenesisState<A>
{
const NAME: &'static str = "GenesisState";
const PACKAGE: &'static str = "archway.genmsg.v1";
Expand Down
104 changes: 11 additions & 93 deletions packages/proto/src/gen/cosmos.app.v1alpha1.abstract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PackageReference>,
#[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"]
Expand All @@ -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<MigrateFromInfo>,
}
impl ::prost::Name for ModuleDescriptor {
Expand Down Expand Up @@ -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<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name> {
#[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<ModuleConfig<A>>,
#[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<GolangBinding>,
}
impl<
A: Clone
+ PartialEq
+ Default
+ Send
+ Sync
+ prost::Message
+ serde::Serialize
+ serde::de::DeserializeOwned
+ prost::Name,
> ::prost::Name for Config<A>
impl<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name> ::prost::Name
for Config<A>
{
const NAME: &'static str = "Config";
const PACKAGE: &'static str = "cosmos.app.v1alpha1";
Expand All @@ -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<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name>
{
#[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."]
Expand All @@ -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<A>,
pub config: ::core::option::Option<crate::any::Any<A>>,
#[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<GolangBinding>,
}
impl<
A: Clone
+ PartialEq
+ Default
+ Send
+ Sync
+ prost::Message
+ serde::Serialize
+ serde::de::DeserializeOwned
+ prost::Name,
> ::prost::Name for ModuleConfig<A>
impl<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name> ::prost::Name
for ModuleConfig<A>
{
const NAME: &'static str = "ModuleConfig";
const PACKAGE: &'static str = "cosmos.app.v1alpha1";
Expand Down Expand Up @@ -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<Config<A>>,
}
impl<
A: Clone
+ PartialEq
+ Default
+ Send
+ Sync
+ prost::Message
+ serde::Serialize
+ serde::de::DeserializeOwned
+ prost::Name,
> ::prost::Name for QueryConfigResponse<A>
impl<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name> ::prost::Name
for QueryConfigResponse<A>
{
const NAME: &'static str = "QueryConfigResponse";
const PACKAGE: &'static str = "cosmos.app.v1alpha1";
Expand Down
Loading

0 comments on commit edecc60

Please sign in to comment.