Skip to content

Commit

Permalink
Fix doc broken link (#4402)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiemongeon1 authored Feb 18, 2024
1 parent 41078fd commit 3da1033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/md/upgrades.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@ This metadata can be selectively exposed by the IC and used by tools such as `df

## Upgrading a deployed actor or canister smart contract

After you have deployed a Motoko actor with the appropriate `stable` variables or `preupgrade` and `postupgrade` system methods, you can use the `dfx canister install` command with the `--mode=upgrade` option to upgrade an already deployed version. For information about upgrading a deployed canister, see [Upgrade a canister smart contract](/docs/current/developer-docs/smart-contracts/upgrade).
After you have deployed a Motoko actor with the appropriate `stable` variables or `preupgrade` and `postupgrade` system methods, you can use the `dfx canister install` command with the `--mode=upgrade` option to upgrade an already deployed version. For information about upgrading a deployed canister, see [Upgrade a canister smart contract](/docs/current/developer-docs/smart-contracts/maintain/upgrade).

An upcoming version of `dfx` will, if appropriate, check the safety of an upgrade by comparing the Candid and (for Motoko canisters only) the stable signatures embedded in the deployed binary and upgrade binary, and abort the upgrade request when unsafe.

0 comments on commit 3da1033

Please sign in to comment.