Expand description
Environment (self) access checks.
This bucket is strictly about the canister’s own environment state (prime subnet/root status) and build-time structural rules.
Functions§
- build_
network_ ic - build_network_ic
Permits access only when
DFX_NETWORK=icwas set at build time. - build_
network_ local - build_network_local
Permits access only when
DFX_NETWORK=localwas set at build time. - check_
build_ network - Helpers
- is_
prime_ root - Env Checks
- is_
prime_ subnet