Skip to content

Commit

Permalink
fixed conflicts with main
Browse files Browse the repository at this point in the history
  • Loading branch information
FloppyDisck committed Nov 4, 2024
1 parent 2a4cb55 commit d47e9eb
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 987 deletions.
55 changes: 4 additions & 51 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 @@ -236,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 @@ -256,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 @@ -318,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
5 changes: 3 additions & 2 deletions packages/proto/src/gen/archway.genmsg.v1.abstract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
#[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> {
pub struct GenesisState<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name>
{
#[prost(message, repeated, tag = "1")]
pub messages: ::prost::alloc::vec::Vec<crate::any::Any<A>>,
}
impl<A: Clone + PartialEq + Default + Send + Sync + prost::Message> ::prost::Name
impl<A: Clone + PartialEq + Default + Send + Sync + prost::Message + prost::Name> ::prost::Name
for GenesisState<A>
{
const NAME: &'static str = "GenesisState";
Expand Down
Loading

0 comments on commit d47e9eb

Please sign in to comment.