Skip to content

Commit

Permalink
fix prost_build for Axelar props
Browse files Browse the repository at this point in the history
  • Loading branch information
EricBolten committed Jan 28, 2024
1 parent a9566c8 commit 6d6ce22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions prost_build/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ fn compile_protos(out_dir: &Path, tmp_dir: &Path) {
config.out_dir(tmp_dir);
config
.type_attribute("ScheduledCorkProposal", "#[derive(serde::Deserialize, serde::Serialize)]")
.type_attribute("AxelarScheduledCorkProposal", "#[derive(serde::Deserialize, serde::Serialize)]")
.compile_protos(&protos, &proto_include_paths)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion somm_proto/src/prost/axelarcork.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ pub struct RemoveAxelarManagedCellarIDsProposalWithDeposit {
#[prost(string, tag = "5")]
pub deposit: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[derive(serde::Deserialize, serde::Serialize, Clone, PartialEq, ::prost::Message)]
pub struct AxelarScheduledCorkProposal {
#[prost(string, tag = "1")]
pub title: ::prost::alloc::string::String,
Expand Down

0 comments on commit 6d6ce22

Please sign in to comment.