Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Feb 1, 2024

Conversation

lwshang
Copy link
Contributor

@lwshang lwshang commented Feb 1, 2024

Description

wasm_hash_url used to only accept the hash.

However, 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.

How Has This Been Tested?

e2e deps.bash

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@lwshang lwshang changed the title Lwshang/wasm hash url shasum fix(deps): content of wasm_hash_url can have extra fields than the hash Feb 1, 2024
@lwshang lwshang marked this pull request as ready for review February 1, 2024 18:39
@lwshang lwshang requested review from chenyan-dfinity and a team as code owners February 1, 2024 18:39
@lwshang lwshang merged commit 6d7f2e7 into master Feb 1, 2024
170 checks passed
@lwshang lwshang deleted the lwshang/wasm_hash_url_shasum branch February 1, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants