Skip to main content

Crate ic_safe_upgrades

Crate ic_safe_upgrades 

Source

Structs§

ChunkedModule
Holds the meta-information needed for a chunked WASM install.
UpgradeError
Errors returned by upgrade_canister.

Enums§

UpgradeErrorReason
UpgradeStage
Describes the stage of the upgrade during which an error occurred or after which we could not confirm status.
WasmModule
The WASM to be installed.

Functions§

upgrade_canister
Safely upgrade a canister to a new version, without blocking the caller from being upgraded itself.

Type Aliases§

CanisterId
Represents a canister’s principal ID on the IC.