#canister #upgrade #component #ic-safe-upgrades

ic-safe-upgrades

Safe upgrades of Internet Computer canisters controlled by other canisters

2 releases

new 0.1.1 May 9, 2025
0.1.0 May 7, 2025

#125 in Magic Beans

Download history 79/week @ 2025-05-02

79 downloads per month

MIT/Apache

31KB
452 lines

IC Call Utils

A collection of utilities for making calls on the Internet Computer.

Components

ic-call-chaos

A library for testing and simulating call failures on the Internet Computer.

ic-call-retry

A library for retrying calls on the Internet Computer with various retry strategies.

ic-safe-upgrades

A library for safely upgrading canisters on the Internet Computer.

Usage

Add the desired components to your Cargo.toml:

[dependencies]
ic-call-chaos = { path = "path/to/ic_call_utils/call_chaos" }
ic-call-retry = { path = "path/to/ic_call_utils/retry" }
ic-safe-upgrades = { path = "path/to/ic_call_utils/safe_upgrade" }

Development

This is a Rust workspace containing multiple crates. To build all crates:

cargo build

To run tests:

cargo test

Dependencies

~3–11MB
~112K SLoC