MCPcopy Create free account
hub / github.com/dfinity/orbit / initialize

Method initialize

core/station/impl/src/controllers/system.rs:114–121  ·  view source on GitHub ↗
(&self, input: station_api::SystemInit)

Source from the content-addressed store, hash-verified

112
113 #[cfg(any(not(feature = "canbench"), test))]
114 async fn initialize(&self, input: station_api::SystemInit) {
115 self.system_service
116 .init_canister(input)
117 .await
118 .unwrap_or_else(|err| {
119 trap(&format!("Error: initializing canister failed {err}"));
120 });
121 }
122
123 async fn post_upgrade(&self, input: Option<SystemUpgrade>) {
124 self.system_service

Callers 3

initializeFunction · 0.80
initializeFunction · 0.80
initStateGuardFunction · 0.80

Calls 2

trapFunction · 0.85
init_canisterMethod · 0.45

Tested by

no test coverage detected