()
| 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 | } |