Skip to content

Commit

Permalink
chore: add reference to SourceScan/verification-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Dec 10, 2024
1 parent cb06e7a commit 4b9372b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if needed.

### **reproducible-wasm** variant

This runs a reproducible build in a [Docker](https://docs.docker.com/) container, which:
This variant runs a reproducible build in a [Docker](https://docs.docker.com/) container, which:

1. runs against source code version, committed to git, ignoring any uncommitted changes
2. requires that `Cargo.lock` of project is created (e.g. via `cargo update`) and added to git.
Expand All @@ -124,8 +124,11 @@ This runs a reproducible build in a [Docker](https://docs.docker.com/) container
- default values for this section can also be found in `Cargo.toml` of
template project, generated by `cargo near new`

**What's a reproducible build in context of NEAR?**
Why is it needed? Explanation of these points and a step-by-step tutorial is present at [SourceScan/verification-guide](https://github.com/SourceScan/verification-guide).

<details>
<summary>Additional details on possible <code>[package.metadata.near.reproducible_build]</code> configuration</summary><p>
<summary>Additional (optional) details on possible <code>[package.metadata.near.reproducible_build]</code> configuration</summary><p>

- available images can be found by this link https://hub.docker.com/r/sourcescan/cargo-near/tags
- [`image`](https://github.com/near/cargo-near/blob/main/cargo-near/src/commands/new/new-project-template/Cargo.template.toml#L18) and [`image_digest`](https://github.com/near/cargo-near/blob/main/cargo-near/src/commands/new/new-project-template/Cargo.template.toml#L19) are straightforward to configure:
Expand Down

0 comments on commit 4b9372b

Please sign in to comment.