MCPcopy Create free account
hub / github.com/argumentcomputer/ix / load_env_bytes

Function load_env_bytes

zisk/host/src/main.rs:278–288  ·  view source on GitHub ↗
(ixe: Option<&PathBuf>)

Source from the content-addressed store, hash-verified

276 checked_count: u32::from_le_bytes(buf[108..112].try_into().unwrap()),
277 }
278 }
279}
280
281/// One input env, parsed and partitioned into shards. Built once up front
282/// so the prove loop can run back-to-back without re-parsing.
283struct InputPlan {
284 /// Human-readable label for logging (the `.ixe` path or `<empty env>`).
285 label: String,
286 /// Serialized Ixon env bytes fed to the guest.
287 env_bytes: Vec<u8>,
288 /// Half-open work-item ranges, one per shard, tiling `[0, total)`.
289 shards: Vec<(u32, u32)>,
290 /// Total work items in this env.
291 total: u32,

Callers 2

plan_inputFunction · 0.70
check_inputs_closedFunction · 0.70

Calls 1

putMethod · 0.45

Tested by

no test coverage detected