Skip to content

Commit

Permalink
Update somm_proto and prost build
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Jul 17, 2024
1 parent 701aee6 commit 882163d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions prost_build/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
4 changes: 2 additions & 2 deletions somm_proto/src/prost/axelarcork.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub struct AxelarCorkResults {
#[prost(message, repeated, tag = "1")]
pub cork_results: ::prost::alloc::vec::Vec<AxelarCorkResult>,
}
#[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,
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions somm_proto/src/prost/cork.v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 882163d

Please sign in to comment.