ic-safe-upgrades

Crates.ioic-safe-upgrades
lib.rsic-safe-upgrades
version0.2.0
created_at2025-05-07 15:03:10.619884+00
updated_at2025-08-25 11:43:53.044506+00
descriptionSafe upgrades of Internet Computer canisters controlled by other canisters
homepage
repositoryhttps://github.com/oggy-dfin/ic_call_utils
max_upload_size
id1663982
size40,823
(oggy-dfin)

documentation

README

IC Safe Upgrades

A library for safely upgrading canisters (from other canisters) on the Internet Computer.

The upgrades are done through bounded-wait calls, ensuring that the calling canister (initiating the upgrade) doesn't get prevented from upgrading itself because it's waiting on an inter-canister call. The library currently assumes that the calling canister is the only controller of the target canister being upgraded, and in particular that the calling canister ensures that there is only one upgrade of the target concurrently in progress.

For usage examples, see the tests.

Commit count: 23

cargo fmt