Skip to main content

hash_codec

Function hash_codec 

Source
pub fn hash_codec(cx: &mut Cx, codec: &CodecRuntime) -> Result<CodecHash>
Expand description

Computes the stable CodecHash of a runtime codec from its surface contract, ignoring runtime-assigned ids.