diff --git a/docs/concepts/pull-dependencies.md b/docs/concepts/pull-dependencies.md index 0714b0b9b2..acbd073261 100644 --- a/docs/concepts/pull-dependencies.md +++ b/docs/concepts/pull-dependencies.md @@ -49,9 +49,9 @@ SHA256 hash of the wasm module located at `wasm_url`. This field is optional. -In most cases, the wasm module at `wasm_url` will be the same as the on-chain wasm module. This means that dfx can read the state tree to obtain and verify the module hash. +In most cases, the wasm module at `wasm_url` will be the same as the onchain wasm module. This means that dfx can read the state tree to obtain and verify the module hash. -In other cases, the wasm module at `wasm_url` is not the same as the on-chain wasm module. For example, the Internet Identity canister provides Development flavor to be integrated locally. In these cases, `wasm_hash` provides the expected hash, and dfx verifies the downloaded wasm against this. +In other cases, the wasm module at `wasm_url` is not the same as the onchain wasm module. For example, the Internet Identity canister provides Development flavor to be integrated locally. In these cases, `wasm_hash` provides the expected hash, and dfx verifies the downloaded wasm against this. ### `wasm_hash_url` diff --git a/docs/dfx-json-schema.json b/docs/dfx-json-schema.json index ec157b6e98..d965af88d0 100644 --- a/docs/dfx-json-schema.json +++ b/docs/dfx-json-schema.json @@ -1083,7 +1083,7 @@ }, "wasm_hash": { "title": "wasm_hash", - "description": "SHA256 hash of the wasm module located at wasm_url. Only define this if the on-chain canister wasm is expected not to match the wasm at wasm_url. The hash can also be specified via a URL using the `wasm_hash_url` field. If both are defined, the `wasm_hash_url` field will be ignored.", + "description": "SHA256 hash of the wasm module located at wasm_url. Only define this if the onchain canister wasm is expected not to match the wasm at wasm_url. The hash can also be specified via a URL using the `wasm_hash_url` field. If both are defined, the `wasm_hash_url` field will be ignored.", "type": [ "string", "null" @@ -1091,7 +1091,7 @@ }, "wasm_hash_url": { "title": "wasm_hash_url", - "description": "Specify the SHA256 hash of the wasm module via this URL. Only define this if the on-chain canister wasm is expected not to match the wasm at wasm_url. The hash can also be specified directly using the `wasm_hash` field. If both are defined, the `wasm_hash_url` field will be ignored.", + "description": "Specify the SHA256 hash of the wasm module via this URL. Only define this if the onchain canister wasm is expected not to match the wasm at wasm_url. The hash can also be specified directly using the `wasm_hash` field. If both are defined, the `wasm_hash_url` field will be ignored.", "type": [ "string", "null" diff --git a/docs/dfx-metadata-schema.json b/docs/dfx-metadata-schema.json index 41f5943750..fa0ce1f142 100644 --- a/docs/dfx-metadata-schema.json +++ b/docs/dfx-metadata-schema.json @@ -61,7 +61,7 @@ }, "wasm_hash": { "title": "wasm_hash", - "description": "SHA256 hash of the wasm module located at wasm_url. Only define this if the on-chain canister wasm is expected not to match the wasm at wasm_url. The hash can also be specified via a URL using the `wasm_hash_url` field. If both are defined, the `wasm_hash_url` field will be ignored.", + "description": "SHA256 hash of the wasm module located at wasm_url. Only define this if the onchain canister wasm is expected not to match the wasm at wasm_url. The hash can also be specified via a URL using the `wasm_hash_url` field. If both are defined, the `wasm_hash_url` field will be ignored.", "type": [ "string", "null" @@ -69,7 +69,7 @@ }, "wasm_hash_url": { "title": "wasm_hash_url", - "description": "Specify the SHA256 hash of the wasm module via this URL. Only define this if the on-chain canister wasm is expected not to match the wasm at wasm_url. The hash can also be specified directly using the `wasm_hash` field. If both are defined, the `wasm_hash_url` field will be ignored.", + "description": "Specify the SHA256 hash of the wasm module via this URL. Only define this if the onchain canister wasm is expected not to match the wasm at wasm_url. The hash can also be specified directly using the `wasm_hash` field. If both are defined, the `wasm_hash_url` field will be ignored.", "type": [ "string", "null"