Skip to main content

genesis

Function genesis 

Source
pub fn genesis(chain_image: Image) -> Result<Genesis, KernelError>
Expand description

Construct chain genesis from a chain Image.

Publishes the chain image, the kernel-issued unit caps, the root cnode (256 slots, populated with kernel caps at abi::BARE_* slots plus pinned/initial slot data caps from the image), and the chain Instance into σ. Returns hashes for downstream callers.