/// Makes an ingress call to the specified canister with a message of the
/// specified size.
Makes an ingress call to the specified canister with a message of the
specified size.
Makes an ingress call to the specified canister with a message of the specified size .
async fn make_ingress_call(
    dst: &UniversalCanister<'_>,
    size: usize,
) -> Result<Vec<u8>, AgentError> {
    // NOTE: We use reply here before stable write, since we don't actually
    // care about the write, we just want to send a large message.
    dst.update(wasm().reply().stable_write(0, &vec![0; size]))
        .await
}
async fn make_ingress_call ( dst : & UniversalCanister < ' _ > , size : usize , ) -> Result < Vec < u8 > , AgentError > { // NOTE: We use reply here before stable write, since we don't actually // care about the write, we just want to send a large message. dst . update ( wasm ( ) . reply ( ) . stable_write ( 0 , & vec ! [ 0 size ] ) ) . await }
Makes an ingress call to the specified canister with a message of the
specified size.
Makes an ingress call to the specified canister with a message of the specified size .
dst
&UniversalCanister<'_>
size
usize