This PR adds the WithUniqueTopic wrapper, introduced in https://github.com/paritytech/polkadot/pull/7234, to the Trappist and Stout XCM routers to ensure that all XCMs are appended with a SetTopic instruction.
This will allow for easier tracking of XCM, especially in the case of multi-hop messages where the message hash differs on each leg.
This PR adds the
WithUniqueTopic
wrapper, introduced in https://github.com/paritytech/polkadot/pull/7234, to the Trappist and Stout XCM routers to ensure that all XCMs are appended with aSetTopic
instruction.This will allow for easier tracking of XCM, especially in the case of multi-hop messages where the message hash differs on each leg.
More detailed explanation: https://substrate.stackexchange.com/questions/1893/is-there-an-id-for-xcm-message/1906#1906