Skip to content

Commit

Permalink
Merge branch '@anchpop/fix-comment' into 'master'
Browse files Browse the repository at this point in the history
Fix(nns): Fix a comment in SNS-W

Seems to be a copy/paste error 

See merge request dfinity-lab/public/ic!19377
  • Loading branch information
jasonz-dfinity committed May 23, 2024
2 parents ec35ebd + 65775d4 commit 23875b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rs/nns/sns-wasm/proto/ic_sns_wasm/pb/v1/sns_wasm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ message GetDeployedSnsByProposalIdResponse {
}
}

// The argument for get_wasm, which consists of the WASM hash to be retrieved.
// The request type for get_wasm_metadata, which returns the metadata for a given wasm
message GetWasmMetadataRequest {
optional bytes hash = 1;
}
Expand All @@ -346,7 +346,7 @@ message MetadataSection {
optional bytes contents = 3;
}

// The response for get_wasm, which returns a WASM if it is found, or None.
// The response for get_wasm_metadata, which returns the metadata for a given wasm
message GetWasmMetadataResponse {
message Ok {
repeated MetadataSection sections = 1;
Expand Down
4 changes: 2 additions & 2 deletions rs/nns/sns-wasm/src/gen/ic_sns_wasm.pb.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ pub mod get_deployed_sns_by_proposal_id_response {
DeployedSns(super::DeployedSns),
}
}
/// The argument for get_wasm, which consists of the WASM hash to be retrieved.
/// The request type for get_wasm_metadata, which returns the metadata for a given wasm
#[derive(candid::CandidType, candid::Deserialize, serde::Serialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
Expand All @@ -525,7 +525,7 @@ pub struct MetadataSection {
#[serde(deserialize_with = "ic_utils::deserialize::deserialize_option_blob")]
pub contents: ::core::option::Option<::prost::alloc::vec::Vec<u8>>,
}
/// The response for get_wasm, which returns a WASM if it is found, or None.
/// The response for get_wasm_metadata, which returns the metadata for a given wasm
#[derive(candid::CandidType, candid::Deserialize, serde::Serialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
Expand Down

0 comments on commit 23875b6

Please sign in to comment.