Build a check claim for the constant at `const_addr` in `env`. Sets `assumptions: None` when the constant has no transitive deps, else `Some(root)` where `root` is the canonical merkle root over those deps.
(env: &Env, const_addr: Address)
| 33 | /// else `Some(root)` where `root` is the canonical merkle root over |
| 34 | /// those deps. |
| 35 | pub fn build_check_claim(env: &Env, const_addr: Address) -> Claim { |
| 36 | let deps = env.transitive_deps_excl(&const_addr); |
| 37 | let assumptions = merkle_root_canonical(&deps); |
| 38 | Claim::Check { const_addr, assumptions } |
| 39 | } |
| 40 | |
| 41 | /// Build an eval claim for the pair `(input, output)` in `env`. |
| 42 | /// |