You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pallet-message-queue: Fix max message size calculation (#6205)
The max size of a message should not depend on the weight left in a
given execution context. Instead the max message size depends on the
service weights configured for the pallet. A message that may does not
fit into `on_idle` is not automatically overweight, because it may can
be executed successfully in `on_initialize` or in another block in
`on_idle` when there is more weight left.
---------
Co-authored-by: GitHub Action <[email protected]>
(cherry picked from commit 5d7181c)
title: 'pallet-message-queue: Fix max message size calculation'
2
+
doc:
3
+
- audience: Runtime Dev
4
+
description: |-
5
+
The max size of a message should not depend on the weight left in a given execution context. Instead the max message size depends on the service weights configured for the pallet. A message that may does not fit into `on_idle` is not automatically overweight, because it may can be executed successfully in `on_initialize` or in another block in `on_idle` when there is more weight left.
0 commit comments