Skip to content

Commit

Permalink
Mention that MQ processed events can happen in any phase (#6265)
Browse files Browse the repository at this point in the history
* Update build-integrate-assets.md

* More verbose and linebreak

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez authored Sep 25, 2024
1 parent 22e1d68 commit 0e29eff
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/build/build-integrate-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,12 @@ account via XCM. However, in some cases, it may be interesting to identify the c
that emitted the relevant `balances.minted` event. This can be done as follows:

1. Query the relevant chain `at` the block the `balances.minted` event was emitted.
2. Filter for a `messageQueue(Processed)` event, also emitted during block initialization. This
event has a parameter `Id`. The value of `Id` identifies the cross-chain message received in the
relay chain or in the Asset Hub. It can be used to track back the message in the origin parachain
if needed. Note that a block may contain several `messageQueue(Processed)` events corresponding
to several cross-chain messages processed for this block.
2. Filter for `messageQueue(Processed)` events. These can be emitted during any phase of the block,
not just initialization. This event has a parameter `Id`. The value of `Id` identifies the
cross-chain message received in the relay chain or in the Asset Hub. It can be used to track back
the message in the origin parachain if needed. Note that a block may contain several
`messageQueue(Processed)` events corresponding to several cross-chain messages processed for this
block.

#### Additional Examples of Monitoring XCM Transfers

Expand Down

0 comments on commit 0e29eff

Please sign in to comment.