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

Function get_anon_empty_env_roundtrip

crates/ixon/src/serialize.rs:2658–2665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2656 // same as get_anon).
2657 let computed_root =
2658 merkle_root_canonical(&consts_order).unwrap_or_else(zero_address);
2659 if computed_root != stored_root {
2660 return Err(format!(
2661 "Env::get_anon_mmap: merkle root mismatch (stored={}, computed={})",
2662 stored_root.hex(),
2663 computed_root.hex(),
2664 ));
2665 }
2666
2667 Ok(env)
2668 }

Callers

nothing calls this directly

Calls 2

as_sliceMethod · 0.80
putMethod · 0.45

Tested by

no test coverage detected