Skip to main content

result_set_root

Function result_set_root 

Source
pub fn result_set_root(provider_id: &str, frames: &[ContextFrame]) -> [u8; 32]
Expand description

The Merkle root a provider signs to attest a whole answer (SPEC.md §6.5.3, F12).

The leaves are exactly the frames carried in the result — never a larger candidate set the provider truncated away. A root over frames the host never received is unverifiable by construction, and an unverifiable root is worse than none: it looks like evidence.