Skip to content
Unverified Commit 1c6da61f authored by github-actions[bot]'s avatar github-actions[bot] Committed by GitHub
Browse files

[stable2409] Backport #5581 (#5604)

Backport #5581 into `stable2409` (cc @franciscoaguirre

).

The dry-run shows in `forwarded_xcms` all the messages in the queues
at the time of calling the API.
Each time the API is called, the result could be different.
You could get messages even if you dry-run something that doesn't send
a message, like a `System::remark`.

This commit fixes this by clearing the message queues before doing the
dry-run, so the only messages left are the ones the users of the API actually
care about.

Co-authored-by: default avatarFrancisco Aguirre <[email protected]>
parent 935c04e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment