mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 18:01:03 +00:00
limit number of pending messages at outbound lane (#715)
This commit is contained in:
committed by
Bastian Köcher
parent
2f457775bb
commit
ca91d34059
@@ -167,6 +167,16 @@ impl messages::ChainWithMessageLanes for Rialto {
|
||||
type MessageLaneInstance = crate::WithMillauMessageLaneInstance;
|
||||
}
|
||||
|
||||
impl messages::ThisChainWithMessageLanes for Rialto {
|
||||
fn is_outbound_lane_enabled(lane: &LaneId) -> bool {
|
||||
*lane == LaneId::default()
|
||||
}
|
||||
|
||||
fn maximal_pending_messages_at_outbound_lane() -> MessageNonce {
|
||||
MessageNonce::MAX
|
||||
}
|
||||
}
|
||||
|
||||
/// Millau chain from message lane point of view.
|
||||
#[derive(RuntimeDebug, Clone, Copy)]
|
||||
pub struct Millau;
|
||||
|
||||
Reference in New Issue
Block a user