mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-24 11:29:55 +00:00
limit number of pending messages at outbound lane (#715)
This commit is contained in:
1 parent
2f457775bb
commit
ca91d34059
7 files changed
+148
-12
No files matched your search
@@ -167,6 +167,16 @@ impl messages::ChainWithMessageLanes for Millau {
|
||||
type MessageLaneInstance = pallet_message_lane::DefaultInstance;
|
||||
}
|
||||
|
||||
impl messages::ThisChainWithMessageLanes for Millau {
|
||||
fn is_outbound_lane_enabled(lane: &LaneId) -> bool {
|
||||
*lane == LaneId::default()
|
||||
}
|
||||
|
||||
fn maximal_pending_messages_at_outbound_lane() -> MessageNonce {
|
||||
MessageNonce::MAX
|
||||
}
|
||||
}
|
||||
|
||||
/// Rialto chain from message lane point of view.
|
||||
#[derive(RuntimeDebug, Clone, Copy)]
|
||||
pub struct Rialto;
|
||||
|
||||
Reference in new issue
Block a user