Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
break a long sentence into two
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Sep 29, 2023
1 parent d80ee16 commit cbfc95e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1951,7 +1951,8 @@ This method installs code that had been previously uploaded in chunks.
The `mode, arg, sender_canister_version` parameters are as above.
The `target_canister` specifies the canister where the code should be uploaded to.
The optional `storage_canister` parameters specifies the canister where the chunks are stored.
The caller must be a controller of the `storage_canister` or the caller must be the `storage_canister` and `storage_canister` must be on the same subnet as the target canister.
The caller must be a controller of the `storage_canister` or the caller must be the `storage_canister`.
The `storage_canister` must be on the same subnet as the target canister.

The `chunk_hashse_list` specifies a list of hash values `[h1,...,hk]` with `k <= MAX_CHUNKS_IN_LARGE_WASM`. The system looks up in the chunk store of `storage_canister` (or that of the target canister if this parameter is not provided) blobs corresponding to `h1,...,hk`, concatenates them to obtain a blob of bytes `wasm_module`. It then checks that the SHA256 hash of `wasm_module` is equal to the `wasm_module_hash` parameter of the call, and calls `install_code` with parameters (`mode,target_canister,wasm_module,arg,sender_canister_version`).

Expand Down

0 comments on commit cbfc95e

Please sign in to comment.