Skip to main content

pvm_binary_hash

Macro pvm_binary_hash 

Source
macro_rules! pvm_binary_hash {
    ($name:literal) => { ... };
}
Expand description

Returns the resulting blob hash as a byte slice.

Should produce the same value as code_hash but at compile time, i.e. pvm_binary_hash!(name) == &code_hash(pvm_binary!(name)).