wait_for_l1_to_l2_message_ready

Function wait_for_l1_to_l2_message_ready 

Source
pub async fn wait_for_l1_to_l2_message_ready<N>(
    node: &N,
    l1_to_l2_message_hash: &Fr,
    timeout: Duration,
) -> Result<(), Error>
where N: AztecNode,
Expand description

Wait until an L1-to-L2 message is ready for consumption, with a timeout.

Polls every second until the message is ready or the timeout expires.

Mirrors TS waitForL1ToL2MessageReady(node, hash, opts).