| Crates.io | ic-safe-upgrades |
| lib.rs | ic-safe-upgrades |
| version | 0.2.0 |
| created_at | 2025-05-07 15:03:10.619884+00 |
| updated_at | 2025-08-25 11:43:53.044506+00 |
| description | Safe upgrades of Internet Computer canisters controlled by other canisters |
| homepage | |
| repository | https://github.com/oggy-dfin/ic_call_utils |
| max_upload_size | |
| id | 1663982 |
| size | 40,823 |
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.