mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-18 16:46:07 +00:00
Prune messages from on-idle callback (#1650)
* prune messages from on-idle callback * no more secondary lanes at deployments * clippy * Update modules/messages/src/lib.rs Co-authored-by: Adrian Catangiu <adrian@parity.io> * sub -> add * more tests + check that message is sent using one of ActiveOutboundLanes * ensure spent_weight is correct Co-authored-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
1 parent
8e660dd74e
commit
eabfea6229
13 files changed
+322
-110
No files matched your search
@@ -204,9 +204,9 @@ where
|
||||
MI: 'static,
|
||||
{
|
||||
assert!(
|
||||
R::MaxMessagesToPruneAtOnce::get() > 0,
|
||||
"MaxMessagesToPruneAtOnce ({}) must be larger than zero",
|
||||
R::MaxMessagesToPruneAtOnce::get(),
|
||||
!R::ActiveOutboundLanes::get().is_empty(),
|
||||
"ActiveOutboundLanes ({:?}) must not be empty",
|
||||
R::ActiveOutboundLanes::get(),
|
||||
);
|
||||
assert!(
|
||||
R::MaxUnrewardedRelayerEntriesAtInboundLane::get() <= params.max_unrewarded_relayers_in_bridged_confirmation_tx,
|
||||
|
||||
Reference in new issue
Block a user