From 65775d4817d993c3fcb061efeda8aca889f1f159 Mon Sep 17 00:00:00 2001 From: Andre Popovitch Date: Thu, 23 May 2024 00:00:44 +0000 Subject: [PATCH] Fix(nns): Fix a comment in SNS-W --- rs/nns/sns-wasm/proto/ic_sns_wasm/pb/v1/sns_wasm.proto | 4 ++-- rs/nns/sns-wasm/src/gen/ic_sns_wasm.pb.v1.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rs/nns/sns-wasm/proto/ic_sns_wasm/pb/v1/sns_wasm.proto b/rs/nns/sns-wasm/proto/ic_sns_wasm/pb/v1/sns_wasm.proto index 3688b1df761..344a9d1f77d 100644 --- a/rs/nns/sns-wasm/proto/ic_sns_wasm/pb/v1/sns_wasm.proto +++ b/rs/nns/sns-wasm/proto/ic_sns_wasm/pb/v1/sns_wasm.proto @@ -329,7 +329,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; } @@ -345,7 +345,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; diff --git a/rs/nns/sns-wasm/src/gen/ic_sns_wasm.pb.v1.rs b/rs/nns/sns-wasm/src/gen/ic_sns_wasm.pb.v1.rs index c6c452f2c62..fa02e553688 100644 --- a/rs/nns/sns-wasm/src/gen/ic_sns_wasm.pb.v1.rs +++ b/rs/nns/sns-wasm/src/gen/ic_sns_wasm.pb.v1.rs @@ -500,7 +500,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)] @@ -524,7 +524,7 @@ pub struct MetadataSection { #[serde(deserialize_with = "ic_utils::deserialize::deserialize_option_blob")] pub contents: ::core::option::Option<::prost::alloc::vec::Vec>, } -/// 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)]