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

Method assert_system_readiness

core/station/impl/src/services/system.rs:140–144  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

138 }
139
140 pub fn assert_system_readiness(&self) {
141 if !self.is_healthy() {
142 trap("Canister is not healthy, it must be initialized first.");
143 }
144 }
145
146 pub async fn do_update_system_info(
147 system_info: &mut SystemInfo,

Callers 1

authorizeFunction · 0.80

Calls 2

trapFunction · 0.85
is_healthyMethod · 0.80

Tested by

no test coverage detected