# XCM Issue Almost all parachains on Polkadot have already upgraded to XCM V3, however in some cases the Polkadot Relay Chain StorageMap believes that they are still on XCM v2. Teams should validate the following, however on a first analysis by Parity's Data Team, these appear to be the action items by team: - Teams that need to notify the Polkadot Relay Chain that they are on XCM v3 - Darwinia. - Unique Network. - Teams that need to upgrade to XCM v3 - Clover. - Crust. - Manta Network. - Teams that need to review their configuration (accepts both XCM v2 and XCM v3) - Composable Finance. In order to know how to notifiy the Polkadot Relay Chain of the right XCM version, we recommend checking out this [tweet thread by Bryan Chen from Acala](https://twitter.com/XiliangChen/status/1722546359071609103), as well as [this discussion on the Moonbeam Community](https://forum.moonbeam.network/t/proposal-mr38-hotfix-for-kusama-fails-to-convert-xcm-from-v3-v2/1366). It's highly recommended to the community to check and execute the above accordingly before the runtime upgrade is executed on Polkadot. --- --- ## Teams communication ### Tracking Kusama | Team | Status | Tx | |------------------------|----------------|---------------------------------------------------------------------------------------------------------------------| | **Signal Relay Chain** | | | | Karura | Executed | [UMP update version message](https://kusama.subscan.io/xcm_message/kusama-121d94b159906720d90301a58625a8bf23fd45ab) | | Kintsugi | Executed | [UMP update version message](https://kusama.subscan.io/xcm_message/kusama-89f3b09442b5599aecfdf5aebc52a3c722776fe4) | | Moonriver | Executed | [UMP update version message](https://kusama.subscan.io/xcm_message/kusama-da10545a86409dccd831a5006aafdab4acec08b1) | | Turing | Executed |[UMP update verrsion message](https://kusama.subscan.io/xcm_message/kusama-29918bcc4946cdc9d90d96fe5ee690e384f4e7b6)| | Quartz | Notified Greg | | | **Update to v3** | | | | Robonomics |Notified Akru and ensrationis| | | Calamari |Notified Kenny | | | Litmus |Notified Hanwen | | |Crust Shadow|Notified Ludwig| |DAO IPCI|| | **Strange Situations** | | | | Imbue | Executed | [Message Event](https://kusama.subscan.io/block/0x60fd00de0757141d939ee1f7faf6d80af650db76a916fad67767b0a6e4c7b30a?tab=event) | | Picasso | Executed | [UMP update version message](https://kusama.subscan.io/xcm_message/kusama-ac4684cfa1497f2580a309c7b7aeaac61721b583) | ### Tracking Polkadot | Team | Status | Tx | |------------------------|-------------------------------------|------------------------------------------------------------------------------------------------| | **Signal Relay Chain** | | | | Unique Network | Notified Greg | | | Darwinia | Notified Xavier | | | **Update to v3** | | | | Manta Network | Notified Kenny | | | Clover | Will upgrade once parachain resumes | | | Crust | Notified Ludwig | | | **Strange Situations** | | | | Composable Finance | Executed | [UMP update version message](https://polkadot.subscan.io/xcm_message/polkadot-b1cbf27ba7e898bb5f6ffdfdfff359fa0ac101e6) | ## Message for teams that need to signal to the Relay Chain The latest upgrade on Kusama introduced `setTopic` on to XCM, therefore teams need to be on XCM v3 for messages to be passed successfully. On our investigation you have successfully upgraded to XCM v3, however unfortunately the Relay Chain is not aware of that. In order to check it for yourself, you need to query on the Relay Chain `xcmPallet.supportedVersion` with the parameter `3` and then you can find your paraID and check with version the Relay Chain believes is supported on your parachain. ![image](https://hackmd.io/_uploads/Bkqf_w0XT.png) Response looks something like this: ``` [ [ 3 { V3: { parents: 0 interior: { X1: { Parachain: 2,092 -> your paraID number } } } } ] 2 -> Version the relay chain believes your parachain has ] ``` **From our investigation, we believe that in your case the Relay Chain believes you are running version 2, therefore a fix is needed.** The fix is quite straightforward, and it needs you to send a message from your chain to the relay chain notifying it of the right XCM version you are running. This needs to be send via Root from your parachain. [Here's Moonriver's example message](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fmoonriver.unitedbloc.com#/extrinsics/decode/0x670003010003040379290303000000000000) which you need to replicate, with one change: You need to find the right `queryID` for your chain. In order to do that, please query on the Kusama Relay Chain `xcmPallet.queries` and find your paraID. ![image](https://hackmd.io/_uploads/rkmfFv07T.png) Following the example above for `paraID 2,092`, response looks like this: ``` [ [ 2,653 -> queryID ] { VersionNotifier: { origin: { V3: { parents: 0 interior: { X1: { Parachain: 2,092 -> paraID } } } } isActive: true } } ] ``` Do let me know if anything! --- --- --- --- ### OLD ### Tracking - Signal Relay Chain | | Kusama | Polkadot | |-----------------|:-----------:|:--------:| | Kintsugi | Executed | N/A | | Moonriver | Executed | N/A | | Turing |Notified Chris| N/A | | Quartz / Unique |Notified Greg|Notified Greg| | Darwinia | N/A |Notified Xavier| ### Tracking - Update to v3 | | Kusama | Polkadot | |-----------------|:-----------:|:--------:| | Robonomics |Notified Akru and ensrationis| N/A | | Calamari / Manta|Notified Kenny|Notified Kenny| | Litmus |Notified Hanwen| N/A | | Clover | N/A |Will upgrade once parachain resumes| | Crust | N/A |Notified Ludwig| ### Tracking - Strange | | Kusama | Polkadot | |-----------------|:-----------:|:--------:| | Imbue | Notified Sam| N/A | | Picasso / Composable|Executed |Executed | **Kusama's UMP's** - [Karura UMP update version message](https://kusama.subscan.io/xcm_message/kusama-121d94b159906720d90301a58625a8bf23fd45ab). - [Picasso UMP update version message](https://kusama.subscan.io/xcm_message/kusama-ac4684cfa1497f2580a309c7b7aeaac61721b583). - [Kintsugi UMP update version message](https://kusama.subscan.io/xcm_message/kusama-89f3b09442b5599aecfdf5aebc52a3c722776fe4). - [Moonriver UMP update version message](https://kusama.subscan.io/xcm_message/kusama-da10545a86409dccd831a5006aafdab4acec08b1). What Turing (OAK) should send -> https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.turing.oak.tech#/extrinsics/decode/0x2900030100030403c1290303000000000000 **Polkadot's UMP's** - [Composable UMP update version message](https://polkadot.subscan.io/xcm_message/polkadot-b1cbf27ba7e898bb5f6ffdfdfff359fa0ac101e6) --- ## Finding failed TXs ### Methodology 1. Find all sovereign accounts for parachains on Kusama. 2. Look for all the transfers happening between block 20465806 and the block of the fix for each team. 3. Read into the events associated with the extrinsic in which the transfer happened. We should identify the `xcmpallet (Attempted)` and see whether `Unroutable: Null` is in the response. Example: https://kusama.subscan.io/extrinsic/20466525-4 4. Validate this with Keith. 5. Share this info. ### Data |Parachain|Sovereign Account|First Block|Last Block|How to check KSM balance on Parachain|FirstBlock from Parachain| |---------|-----------------|-----------|----------|--------------------|-----| |Karura|F7fq1jMZkfuCuoMTyiEVAP2DMpMt18WopgBqTJznLihLNbZ|20465806|20475025|tokens.totalIssuance(AcalaPrimitivesCurrencyCurrencyId = Token, Token: AcalaPrimitivesCurrencyTokenSymbol = Kusama)|5594899| |Encointer|F7fq1jSa7WaBRhP7CzvZ5DxYdtyo28byHLg4Ka3xi7cu3Br|20465806|| |Bifrost|F7fq1jMmNj5j2jAHcBxgM26JzUn2N4duXu1U4UZNdkfZEPV|20465806|| |Khala|F7fq1jNNEtdHPWakVd9FtwJbtU2TSs1CfZUMsyF9WraEjow|20465806|| |Shiden|F7fq1jNy74AqkJ1DP4KqSrWtnTGtXfNVoDwFhTvvPxUvJaq|20465806|| |SORA|F7fq1jPmbGtvE1EVtyEcBQoHK6wTyPrte7Dn88BHa6MpmN7|20465806|| |Crust|F7fq1jPyDL5SLw3KXSxoN3sNwmMcLKyzML3QjHjss8L3hLp|20465806|| |Integritee|F7fq1jQa5VczhiTnQt9Nuy5fqkc3R8MHUzWJYnRekEEj4Ds|20465806|| |Moonriver|F7fq1jSB3w59f8vMShxvP5eSu3wCJbL5Am5MQ6vP6VzYLWD|20465806|20485496|assets.asset() -> then filter by `42,259,045,809,535,163,221,576,417,993,425,387,648` and check supply|| |Genshiro|F7fq1jSNfzFfn4jB5Bh7ZiiYXiMLfXTAsytz1GUyPXxmKYo|20465806|| |Robonimics|F7fq1idtVtthBfEP2wYZvinYGAipS7oQKfPCREchVmdkyAZ|20465806|| |Calamari|F7fq1im6ssRPV4Hwg9jWXjL321i1RiCwucwvFAqz4zXucqr|20465806|| |Parallel Heiko|F7fq1imJVvbubz6mJdThiNQ8eg89neL3cqmYrLQaN2W8kRw|20465806||assets.asset(100)|| |Picasso|F7fq1imhk2xwqqiQZav65eYKuzxSWWaF3HQp4fXkx6Sb3jY|20465806|20484363|tokens.totalIssuance(4)|| |Altair|F7fq1imuN69TxmXEC4eHGHcRYfNasShLkWESfq6MF8QpGKw|20465806|| |Basilisk|F7fq1inJcCWWCd8sT26fdZkcozCsbJwYAwshtADXqCMGcjd|20465806|| |Kintsugi|F7fq1inhrJsYSUkWhyZ3zqtp5K3AKBBjbPWy6VLiRGHipPi|20465806|20497837|tokens.totalIssuance(InterbtcPrimitivesCurrencyId = Token, Token: InterbtcPrimitivesTokenSymbol = Kusama|| |Quartz|F7fq1ioJiUR6oGAybQjdYm76yJHbPyZ2j3yruz2VJNCQ9FU|20465806|| |Pioneer|F7fq1ioWLXbcvByoDtTpjQBCbxhjkug8SGoVX9b5bQAdCMd|20465806|| |Crab|F7fq1iqJw2EHzYFBtC1ZP9p5HvT31Jn1qGCAydeQEhtfZVA|20465806|| |Litmus|F7fq1iqWZ5Qp7U41WfjkZntAvasBNEu7YV1oaoCzXjrtWA1|20465806|| |Mangata|F7fq1irK3J8tbBHJ2aeXJMAZTEXkoyPWPNJL1TTMhsjo6GZ|20465806||tokens.totalIssuance(4)|| |Kaboocha|F7fq1iruuTgSwxhkv1q6rGNrMDnBtmkoX2mDpx98ayeUUyu|20465806|| |Turing|F7fq1is7XWry4tWaYVZJ2uSwytCLFhsuEFarS7hit1chXtq|20465806|20535742| |Bajun|F7fq1it7dnmZfXYggtCFx6oS9CH44NVPnMh1TwWgMBTqJ24|20465806|| |Imbue|F7fq1itWsu8buPAKwqeeKNwdQX7LnEjbCoLGgGdrwFQHgCQ|20465806|20540683| |GM|F7fq1itv81Ve9EmyCo72gf5pfqwdW6yndEyXtbm3XKLjo1h|20465806|| |Amplitude|F7fq1iu7k4gAGAanqGqDsJ9vJWMms36tLToAVmKdpMJxyD2|20465806|| |InvArch|F7fq1iuKN7rgP6PcTkZR3wE1wAmvDyDz3gco6vtE7PHC381|20465806|| |DAO IPCI|F7fq1jEkfST3y5hGU887qw5SFR9uEV6Xz8H1uvPabgK9zwZ|20465806|| |Subzero|F7fq1jHZNCzKe4zmGpJpQt4o6gyvHYouwDmrQEFri9tL88a|20465806|| |Accurast|F7fq1jJAENXszrREAFVPxoH5zgEMNMBD4tEkDiwdbFo1Hwh|20465806|| |Krest|F7fq1jJZUUtvEi2sRCwnL5RHG14e6DRQVKt1S44pBKjTdjW|20465806|| |Aband|F7fq1jMmRMoE9Yx1UrasGJYqNbiws9Nyrs278h4GssF5raH|20465806|| |Quantum|F7fq1jRAzHt4BKfyAyx9PAkV7roQ11TewcyqSVcKsSiw5cS|20465806|| |Kreivo|F7fq1jSaLg9h1pKiaL3VfeFAYViQXYKLvAjFgeYTvgWX4a3|20465806|| |t1rn|F7fq1if6TPZKVM1vB92fcyVjxjxJ78FNDpNBRJUkUYLjv2C|20465806|| |2261|F7fq1jNZuaXJdGBHzmVdzrqDuFPXJssNhkJdZMJe417zDrG|20465806|| |2275|F7fq1jRNcM4aJFUnoTgLZopakXDYMwakeqoU3fAvAUhAAPV|20465806|| |2284|F7fq1jTBCqhFNbkBTmE5DZTTSUxqcLge3qC9W9EEonRCR3L|20465806|| |3335|F7fq1ifJ5SjqcGpjockrocZqbQNSU4NTw3Bp2U3LmaJxtnD|20465806||