pub fn hash_codec(cx: &mut Cx, codec: &CodecRuntime) -> Result<CodecHash>
Computes the stable CodecHash of a runtime codec from its surface contract, ignoring runtime-assigned ids.
CodecHash