Trait ProvableContext

Source
pub trait ProvableContext {
    // Required method
    fn get_proof(&self, height: Height, path: &Path) -> Option<Vec<u8>>;
}
Expand description

Context to be implemented by the host to provide proofs in query responses

Required Methods§

Source

fn get_proof(&self, height: Height, path: &Path) -> Option<Vec<u8>>

Returns the proof for the given path at the given height. As this is in the context of IBC, the path is expected to be an IbcPath.

Implementors§