Expand description
Build a StateValue from the IR’s StateValue JSON tree.
The IR’s constructor.initial-state is a StateValue tree with
kind: "null" | "cell" | "array" | "map" | "merkle-tree" leaves.
This module translates that into the ledger’s
moonproof_ledger::onchain_runtime::state::StateValue representation.
Today this handles null and array (the registry-shape skeleton —
Array of Null leaves). cell with literal value, map, and
merkle-tree are planned next slices.
Functions§
- build_
state_ value - Build a ledger
StateValuefrom the IR’sStateValuedescription.