/// Deliver a single message to the Message Routing layer
Deliver a single message to the Message Routing layer
Deliver a single message to the Message Routing layer
fn deliver_message(
    msg: SignedIngress,
    message_routing: &dyn MessageRouting,
    ingress_hist_reader: &dyn IngressHistoryReader,
    extra_batches: u64,
) {
    let message_id = msg.id();
    let _ = execute_ingress_message(message_routing, msg, &message_id, ingress_hist_reader);
    // print result after waiting, to not interleave the result
    // with debug.print messages from subsequent calls. revise after DFN-1269.
    wait_extra_batches(message_routing, extra_batches);
    print_ingress_result(&message_id, ingress_hist_reader);
}
fn deliver_message ( msg : SignedIngress , message_routing : & dyn MessageRouting , ingress_hist_reader : & dyn IngressHistoryReader , extra_batches : u64 , ) { let message_id = msg . id ( ) ; let _ = execute_ingress_message ( message_routing , msg , & message_id , ingress_hist_reader ) ; // print result after waiting, to not interleave the result // with debug.print messages from subsequent calls. revise after DFN-1269. wait_extra_batches ( message_routing , extra_batches ) ; print_ingress_result ( & message_id , ingress_hist_reader ) ; }
Deliver a single message to the Message Routing layer
Deliver a single message to the Message Routing layer
msg
SignedIngress
message_routing
&dyn MessageRouting
ingress_hist_reader
&dyn IngressHistoryReader
extra_batches
u64