diff --git a/prost_build/src/main.rs b/prost_build/src/main.rs index e105876b..8da985d1 100644 --- a/prost_build/src/main.rs +++ b/prost_build/src/main.rs @@ -103,8 +103,9 @@ fn compile_protos(out_dir: &Path, tmp_dir: &Path) { .type_attribute("ScheduledCorkProposal", "#[derive(serde::Deserialize, serde::Serialize)]") .type_attribute("AxelarScheduledCorkProposal", "#[derive(serde::Deserialize, serde::Serialize)]") .type_attribute("AddPublisherProposal", "#[derive(serde::Deserialize, serde::Serialize)]") - .type_attribute("AddManagedCellarIDsProposal", "#[derive(serde::Deserialize, serde::Serialize)]") - .type_attribute("CellarIdSet", "#[derive(serde::Deserialize, serde::Serialize)]") + .type_attribute("AddManagedCellarIDsProposalWithDeposit", "#[derive(serde::Deserialize, serde::Serialize)]") + .type_attribute("AddAxelarManagedCellarIDsProposalWithDeposit", "#[derive(serde::Deserialize, serde::Serialize)]") + .type_attribute("axelar_cork::CellarIdSet", "#[derive(serde::Deserialize, serde::Serialize)]") .compile_protos(&protos, &proto_include_paths) .unwrap(); diff --git a/somm_proto/src/prost/axelarcork.v1.rs b/somm_proto/src/prost/axelarcork.v1.rs index 99cb3b45..9ae1078b 100644 --- a/somm_proto/src/prost/axelarcork.v1.rs +++ b/somm_proto/src/prost/axelarcork.v1.rs @@ -46,7 +46,7 @@ pub struct AxelarCorkResults { #[prost(message, repeated, tag = "1")] pub cork_results: ::prost::alloc::vec::Vec, } -#[derive(Clone, PartialEq, ::prost::Message)] +#[derive(serde::Deserialize, serde::Serialize, Clone, PartialEq, ::prost::Message)] pub struct CellarIdSet { #[prost(uint64, tag = "1")] pub chain_id: u64, @@ -768,7 +768,7 @@ pub struct AddAxelarManagedCellarIDsProposal { pub publisher_domain: ::prost::alloc::string::String, } /// AddAxelarManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands -#[derive(Clone, PartialEq, ::prost::Message)] +#[derive(serde::Deserialize, serde::Serialize, Clone, PartialEq, ::prost::Message)] pub struct AddAxelarManagedCellarIDsProposalWithDeposit { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, diff --git a/somm_proto/src/prost/cork.v2.rs b/somm_proto/src/prost/cork.v2.rs index 1c393646..33cb48e6 100644 --- a/somm_proto/src/prost/cork.v2.rs +++ b/somm_proto/src/prost/cork.v2.rs @@ -390,7 +390,7 @@ pub mod query_client { } } } -#[derive(serde::Deserialize, serde::Serialize, Clone, PartialEq, ::prost::Message)] +#[derive(Clone, PartialEq, ::prost::Message)] pub struct AddManagedCellarIDsProposal { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String, @@ -402,7 +402,7 @@ pub struct AddManagedCellarIDsProposal { pub publisher_domain: ::prost::alloc::string::String, } /// AddManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands -#[derive(Clone, PartialEq, ::prost::Message)] +#[derive(serde::Deserialize, serde::Serialize, Clone, PartialEq, ::prost::Message)] pub struct AddManagedCellarIDsProposalWithDeposit { #[prost(string, tag = "1")] pub title: ::prost::alloc::string::String,