referrerpolicy=no-referrer-when-downgrade
messages_relay::message_lane_loop

Trait BatchTransaction

Source
pub trait BatchTransaction<HeaderId>:
    Debug
    + Send
    + Sync {
    // Required method
    fn required_header_id(&self) -> HeaderId;
}
Expand description

Batch transaction that already submit some headers and needs to be extended with messages/delivery proof before sending.

Required Methods§

Source

fn required_header_id(&self) -> HeaderId

Header that was required in the original call and which is bundled within this batch transaction.

Implementors§

impl<SC: Chain, TC: Chain, B: BatchCallBuilderConstructor<CallOf<SC>>> BatchTransaction<HeaderId<<TC as Chain>::Hash, <TC as Chain>::BlockNumber>> for BatchProofTransaction<SC, TC, B>