Skip to content

Commit

Permalink
remove noise
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Jan 31, 2025
1 parent a69d2cf commit 99309ea
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions near-contract-standards/src/contract_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ use near_sdk::serde::{Deserialize, Serialize};
pub struct ContractSourceMetadata {
/// Optional version identifier, typically a semantic version
///
/// **NOTE**:
/// As of **NEP-330** standard version **1.2.0**
/// this field may or may not be consistent with [`Self::link`] and with [`BuildInfo::source_code_snapshot`], but only [`BuildInfo::source_code_snapshot`] defines source code for formal reproducibility verification, and [`Self::link`] and [`Self::version`] do not
///
/// ## Examples:
///
/// ```rust,no_run
Expand All @@ -28,10 +24,6 @@ pub struct ContractSourceMetadata {
pub version: Option<String>,
/// Optional URL to source code repository/tree
///
/// **NOTE**:
/// As of **NEP-330** standard version **1.2.0**
/// this field may or may not be consistent with [`Self::version`] and with [`BuildInfo::source_code_snapshot`], but only [`BuildInfo::source_code_snapshot`] defines source code for formal reproducibility verification, and [`Self::link`] and [`Self::version`] do not
///
/// ## Examples:
///
/// ```rust,no_run
Expand Down Expand Up @@ -106,6 +98,8 @@ pub struct Standard {
mod build_info {
use near_sdk::serde::{Deserialize, Serialize};

/// Defines all required details for formal WASM build reproducibility verification
/// according to [**NEP-330 standard**](https://github.com/near/NEPs/blob/master/neps/nep-0330.md)
#[derive(Debug, Clone, PartialEq, Eq, Default, Serialize, Deserialize)]
#[serde(crate = "near_sdk::serde")]
pub struct BuildInfo {
Expand Down

0 comments on commit 99309ea

Please sign in to comment.