mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 12:11:02 +00:00
* Increase recusive limit to 512 for macro expansions Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Increase limit to 1024 Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Adjust comment Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Increase more limits Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Add QueuePausedQuery * ... on westend Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * update lockfile for {"substrate"} * update lockfile for {"substrate"} * Add QueuePausedQuery * ... on westend Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test error Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * CI buggy Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
f653f4519b
commit
e377e4becd
@@ -573,13 +573,21 @@ fn overweight_queue_works() {
|
||||
.into(),
|
||||
);
|
||||
|
||||
// ... and if we try to service a message with index that doesn't exist it will error
|
||||
// out.
|
||||
// But servicing again will not work.
|
||||
assert_noop!(
|
||||
<MessageQueue as ServiceQueues>::execute_overweight(
|
||||
Weight::from_parts(501, 501),
|
||||
(Ump(UmpQueueId::Para(para_a)), 0, 2)
|
||||
),
|
||||
ExecuteOverweightError::AlreadyProcessed,
|
||||
);
|
||||
|
||||
// Using an invalid index does not work.
|
||||
assert_noop!(
|
||||
<MessageQueue as ServiceQueues>::execute_overweight(
|
||||
Weight::from_parts(501, 501),
|
||||
(Ump(UmpQueueId::Para(para_a)), 0, 3)
|
||||
),
|
||||
ExecuteOverweightError::NotFound,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user