@midnight-ntwrk/onchain-runtime v0.2.2 • Readme | API
@midnight-ntwrk/onchain-runtime v0.2.2 / persistentHash
Function: persistentHash()
Internal
persistentHash(align, val): Value
Internal implementation of the persistent hash primitive
Parameters
• align: Alignment
• val: Value
Returns
Throws
If val does not have alignment align, or any component has a compress alignment