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

Method commit

crates/ixon/src/proof.rs:1043–1048  ·  view source on GitHub ↗

Serialize a claim and compute its content address.

(&self)

Source from the content-addressed store, hash-verified

1041 pub fn proof_variant_size(&self) -> u64 {
1042 match self {
1043 Claim::Eval { .. } => VARIANT_EVAL_PROOF,
1044 Claim::Check { .. } => VARIANT_CHECK_PROOF,
1045 Claim::CheckEnv { .. } => VARIANT_CHECK_ENV_PROOF,
1046 Claim::Reveal { .. } => VARIANT_REVEAL_PROOF,
1047 Claim::Contains { .. } => VARIANT_CONTAINS_PROOF,
1048 Claim::Catalog { .. } => VARIANT_CATALOG_PROOF,
1049 }
1050 }
1051}

Callers

nothing calls this directly

Calls 1

putMethod · 0.45

Tested by

no test coverage detected