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

Function parse_tag

crates/ixon/src/proof.rs:1637–1639  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

1635 let right = merkle_root_canonical(std::slice::from_ref(&c)).unwrap();
1636 let root = merkle_join(&left, &right);
1637 assert_ne!(root, merkle_root_canonical(&[a, b, c]).unwrap());
1638 assert!(claim_roundtrip(&Claim::CheckEnv { root, assumptions: None }));
1639 }
1640
1641 #[test]
1642 fn test_contains_claim_roundtrip() {

Callers 2

claim_tagFunction · 0.85
proof_tagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected