Function holochain::test_utils::new_invocation
source · pub fn new_invocation<P, Z: Into<Zome>>(
cell_id: &CellId,
func: &str,
payload: P,
zome: Z
) -> Result<ZomeCallInvocation, SerializedBytesError>where
P: Serialize + Debug,
Expand description
Helper to create a zome invocation for tests