I’m getting the error bellow when calling
let entry_hash = HoloHashB64::from(hash_entry(input).unwrap());
from a test using sweettest.
###HOLOCHAIN_SETUP_END###
FATAL PANIC PanicInfo {
payload: Any { .. },
message: Some(
called `Result::unwrap()` on an `Err` value: Guest("HDK not registered"),
),
}
and using the following leads to a ZomeFnNotExsist
,
let entry_hash: EntryHash = conductor.call(
&cell_alice.zome("ZOME_NAME"),
"hash_entry",
input).await;
How does one get the hash of some data in a sweettest?