Skip to main content

parse_sim_config

Function parse_sim_config 

Source
pub fn parse_sim_config(
    toml_str: &str,
) -> Result<SimConfigIntent, IntentConfigError>
Expand description

Parse and validate the sole current sim-intent contract.

ยงErrors

Returns IntentConfigError when TOML decoding, version checks, or intent validation fails.