Skip to content

Commit

Permalink
changelog and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Feb 1, 2024
1 parent 6c9e416 commit 8851f55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# UNRELEASED

### fix(deps): content of wasm_hash_url can have extra fields than the hash

It is natural to point `wasm_hash_url` to the `<FILE>.sha256` file generated by `shasum` or `sha256sum` which consists of the hash and the file name.

Now when `dfx deps pull`, such content will be accept properly.

# 0.16.1

### feat: query stats support
Expand Down
4 changes: 4 additions & 0 deletions docs/concepts/pull-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ In other cases, the wasm module at `wasm_url` is not the same as the on-chain wa

A URL to get the SHA256 hash of the wasm module located at `wasm_url`.

The content of this URL can be the SHA256 hash only.

It can also be the output of `shasum` or `sha256sum` which contains the hash and the file name.

This field is optional.

Aside from specifying SHA256 hash of the wasm module directly using `wasm_hash`, providers can also specify the hash with this URL. If both are defined, the `wasm_hash_url` field will be ignored.
Expand Down

0 comments on commit 8851f55

Please sign in to comment.