start_root

Macro start_root 

Source
macro_rules! start_root {
    () => { ... };
}
Expand description

Configure lifecycle hooks for the root Canic orchestrator canister.

This macro behaves like [macro@canic::start], but includes additional root-only initialization for:

  • the global subnet registry
  • root-only memory extensions and cycle tracking
  • the root endpoint suite

It generates the init and post_upgrade hooks required by the IC, loads embedded configuration, imports the root WASMS bundle, and runs pre- and post-upgrade logic in [ops::lifecycle].

Use this for the root orchestrator canister only. Other canisters should use [macro@canic::start].