mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Limit size of message delivery transaction (#575)
* limit messages size in delivery transaction * docs
This commit is contained in:
committed by
Bastian Köcher
parent
d47658c92e
commit
8a5b51a944
@@ -186,7 +186,7 @@ sp_api::decl_runtime_apis! {
|
||||
/// This API is implemented by runtimes that are sending messages to Millau chain, not the
|
||||
/// Millau runtime itself.
|
||||
pub trait ToMillauOutboundLaneApi {
|
||||
/// Returns dispatch weight of all messages in given inclusive range.
|
||||
/// Returns total dispatch weight and encoded payload size of all messages in given inclusive range.
|
||||
///
|
||||
/// If some (or all) messages are missing from the storage, they'll also will
|
||||
/// be missing from the resulting vector. The vector is ordered by the nonce.
|
||||
@@ -194,7 +194,7 @@ sp_api::decl_runtime_apis! {
|
||||
lane: LaneId,
|
||||
begin: MessageNonce,
|
||||
end: MessageNonce,
|
||||
) -> Vec<(MessageNonce, Weight)>;
|
||||
) -> Vec<(MessageNonce, Weight, u32)>;
|
||||
/// Returns nonce of the latest message, received by bridged chain.
|
||||
fn latest_received_nonce(lane: LaneId) -> MessageNonce;
|
||||
/// Returns nonce of the latest message, generated by given lane.
|
||||
|
||||
Reference in New Issue
Block a user