Skip to main content

get_store_program_hash

Function get_store_program_hash 

Source
pub fn get_store_program_hash<C: ChainSource>(
    chain: &C,
    store_id: Bytes32,
) -> DigStoreResult<Option<Bytes32>>
Expand description

The store’s on-chain program hash (dig-merkle metadata "p"), if set.

§Errors

Returns a DigStoreResult error if the store is absent/melted or the chain source fails.