Questions tagged [xcm]

XCM (Cross-Consensus Message Format) is a communication format between consensus systems

Filter by
Sorted by
Tagged with
1 vote
0 answers
12 views

Why does in polkadot and most other chain xcm pallet the XcmExecution filter is set deny all instructions

// ...but they must match our filter, which rejects all. type XcmExecuteFilter = Nothing; // == Deny All
Mrisho Lukamba's user avatar
1 vote
1 answer
48 views

UnexpectedReponse in XCM when using ReportTransactStatus

I'm having issues when using the ReportTransactStatus in my XCM message as it gives me a UnexpectedResponse in my origin Parachain. How can I register the matching query in the origin, so when the ...
Alexandre Ribeiro's user avatar
0 votes
1 answer
29 views

XcmError::TooExpensive When trasfering fungible assets between statemine & trappist parachains with rococo relay chain (limitedReservedTransferAssets)

I'm trying to test transfer of fungible assets from Statemine to Trappist with Rococo relay chain to integrate assets to my custom parachain. First of all, I tried to repeat the steps shown in the ...
Artem Levchuk's user avatar
2 votes
1 answer
26 views

Using ReportTransactStatus in XCM give me a unroutable error

I am getting an 'Unroutable' error when setting an Error Handler using ReportTransactStatus in my XCM Message. I am using the polkadot-v1.0.0, at V3 of XCM. match send_xcm::<T::XcmSender>( (...
Alexandre Ribeiro's user avatar
2 votes
1 answer
97 views

Tokens lost when XCM MessageProcessor "Processing failed"?

Right after Kusama got upgraded to 1.0, all the upward messages from Mangata started to fail on Kusama with the following error: messageQueue.ProcessingFailed Message discarded due to an error in the ...
Gonzalo Cerro's user avatar
2 votes
0 answers
46 views

XCM transfer of ROC from parachain to Rococo does not update balance on Rococo

I am currently successfully able to transfer ROC from Rococo to a parachain using a Reserve Asset Transfer. However when I want to transfer some of the ROC from our parachain back to Rococo but when I ...
chexware's user avatar
  • 325
1 vote
2 answers
67 views

How to fix the `FailedToTransactAsset("InsufficientBalance")` error?

I already read this post XCM cross-chain transfer error FailedToTransactAsset("InsufficientBalance")? , but nothing helped. I get the following XCM logs (originates from Parachain 2001): ...
Chralt's user avatar
  • 523
0 votes
1 answer
38 views

How to create wrapped DOT asset on local setup

Local setup: Zombienet running Shiden and Relay Chain. What are the exact steps needed to create an asset which represents DOT on Shiden (wrapped DOT). More specifically, I am trying to create the ...
Snowmead's user avatar
  • 615
3 votes
1 answer
102 views

How to transfer wrapped DOT from Astar to Polkadot using XCM

How do you tranfer wrapped DOT (AssetId: 340,282,366,920,938,463,463,374,607,431,768,211,455) on Astar/Shiden to Polkadot/Kusama using XCM? Following this guide from Astar XCM documentation, this ...
Snowmead's user avatar
  • 615
0 votes
0 answers
15 views

When will the xcm-executor implement something on the instr `HrmpNewChannelOpenRequest`?

I want to have some automatic handling for channel opening requests. I can do this by executing some logic when the relay sends an HrmpNewChannelOpenRequest instruction, but the default xcm-executor ...
Juan Ignacio Rios's user avatar
2 votes
1 answer
42 views

XCM - Add remote origins execution to Polkadot/Kusama

I was wondering is there any specific reason why Polkadot still does not support XCM execution from Computed Origins LocalOriginConverter - Apologies as I'm not a Substrate developer but I looked ...
AlbertoV19's user avatar
0 votes
0 answers
16 views

Best practices for generating sovereign account ids from XCM locations

The XCM builder crate provides various converters for generating sovereign account ids from MultiLocations. Many parachains, including system parachains, use the following converter: A: pub type ...
Vincent's user avatar
  • 158
0 votes
1 answer
28 views

What is the sovereign account of the relay chain?

What is the sovereign account of a relay chain on a parachain? This can be useful for e.g. funding the account for xcm execution fee payment.
Daan van der Plas's user avatar
1 vote
0 answers
44 views

Transferring Entire Account Balance with XCM and Calculating Required Deposits: Best Practices

Is it possible to transfer the entire balance of an account using XCM, similar to the 'transferAll' function, considering the required deposit for XCM in each transaction? Another question is, what is ...
Kami's user avatar
  • 537
4 votes
1 answer
84 views

XCM Reserve Asset Transfer from Rococo succeed but do not appear on Parachain

I am testing transferring ROC between Rococo and a Parachain. The HRMP channels are already open but when I submit try the following XCM Message: The transfer returns no errors but the funds do not ...
chexware's user avatar
  • 325
3 votes
2 answers
93 views

XCM Reserve Transfer Between AssetHub (Rococo) is Unroutable

I am testing transferring ROC between AssetHub and a Parachain. The HRMP channels are already open but when I submit try the following XCM Message: I get this error: [ { type: "...
chexware's user avatar
  • 325
2 votes
1 answer
34 views

How to calculate fee xcm message at source chain and destination chain?

I am looking for a way to charge for xcm message. (I know this topic has been discussed a lot, but I still haven't found my own answer, and haven't written a script to test, so I want to open this ...
Dung Nguyen's user avatar
3 votes
0 answers
61 views

XCM via governance

Hi All I am currently embarking on trying to send funds from the treasury via XCM I am fairly certain this isn't possible right now because the treasury origin does not have send rights. I am ...
Sam Elamin's user avatar
  • 1,203
1 vote
1 answer
26 views

XCM Transfer | How to get account addresses of rococo, mangata?

I rewrote some examples of transfer assets from rococo to some parachains like mangata, rockmine, dali.... on the blockcoder repository at https://github.com/blockcodes/xcm-sdk I don't know how to get ...
Dung Nguyen's user avatar
2 votes
2 answers
84 views

Is it Possible to Use XCM with a Substrate Solo Chain?

I'm working on a blockchain project using Substrate and I'm planning to implement a solo chain (standalone chain). My use-case involves having the chain operate independently, but I'm also interested ...
Mr Coder's user avatar
  • 883
0 votes
0 answers
14 views

Can a user in parachain construct an XCM msg with a DescendOrigin instr and the dest to be the Relay Chain

This is an extension question on Remote XCM calls execution via individual signed Account As most of derivitive Accounts are either from Relay Chain to parachain and getting the derived Account you ...
Mrisho Lukamba's user avatar
0 votes
1 answer
22 views

error[E0277]: the trait bound `xcm::v3::SendError: PalletError` is not satisfied

I'm attempting to utilize the XCM error within the context of my pallet's error handling, but I'm facing this problem. The error which i'm using #[pallet::error] pub enum Error<T, I = ()> { ...
Arunjot Singh's user avatar
1 vote
1 answer
88 views

XCM remote transactions call

I have 2 scenerio Para A sends instruction to relay chain for sending tokens from Alice in Relay Chain to Bob inside relay chain using native relay chain tokens ( Remote transfer ) But the ...
Mrisho Lukamba's user avatar
1 vote
1 answer
24 views

Is it possible to do xcm transfers between parachains without a channel opened?

I'm experiencing something that I consider some weird behavior :) I set up two parachains and somehow I can transfer native tokens between them without opening a channel :O Here you can find the ...
Gonzalo Cerro's user avatar
2 votes
2 answers
41 views

Where can I find documentation on XCM channels ( HRMP, VMPs). How they actually work?

Although I can read the code and try to bring the pieces together but If I can find the documentation or specification implementation doc on XCM channels, how they are implemented, how it ensures the ...
Mrisho Lukamba's user avatar
0 votes
1 answer
16 views

The differences between Appendix register and programme register in XCVM registers

3.1 Programme Of type Vec, initialized to the value of the Original Programme. Expresses the currently executing programme of instructions for the XCVM. This gets potentially changed after either the ...
Mrisho Lukamba's user avatar
1 vote
1 answer
60 views

XCM TooExpensive when reserve transferring

I am running a local network containing an AssetHub and the Trappist parachain. I create assets on both chains, and I make the one on AssetHub a sufficient asset. I register the asset on the Trappist ...
Szegoo's user avatar
  • 623
2 votes
2 answers
132 views

FailedToTransactAsset error while sending assets from local Statemint(AssetHub) to other Parachain

I'm facing the FailedToTransactAsset error while trying to send assets from Statemint to another parachain. So basically I have the following configuration: Relay chain Polkadot relay chain running ...
Oleg Kalenik's user avatar
1 vote
2 answers
62 views

XcmError "UntrustedReservedLocation" & "TooExpensive" while transfer assets between two parachains (limitedReservedTransferAssets)

I'm trying to integrate stablecoin into parachain. First of all, I tried to repeat the steps shown in the video (https://www.youtube.com/watch?v=UfxU3hUprKo&t=1182s) with standard settings: ...
Artem Levchuk's user avatar
1 vote
1 answer
96 views

XCM Reserve transfer between trappist and asset hub

I am locally running the zombienet/trappist_rococo.toml network. I create assets on both chains using the assets.create extrinsic. On asset hub I mint tokens to Alice. After that, I call the ...
Szegoo's user avatar
  • 623
3 votes
0 answers
53 views

Failed to execute hrmp open request on polkadot

We recently sent XCM messages from Phala to Polkadot to send HRMP open requests to PolkaDex parachain. We constructed the message as usual, but the message failed to execute on Polkadot. I haven't ...
Wenfeng Wang's user avatar
2 votes
1 answer
26 views

XCM's Origin Kinds, what privilege does XCM origin does not have?

Different origin serve different purpose and certain privileges, care to list the privileges per OriginKind. And yes the documentation is not clear enough
Mrisho Lukamba's user avatar
0 votes
1 answer
18 views

Is there a way to set a maximum balance for the assets registered in pallet-assets?

We want to register USDT on our parachain to receive USDT transfered from Statemint, but we need to set a limit to avoid receive too much USDT. Is there a way to do this?
Guantong's user avatar
  • 1,813
1 vote
1 answer
26 views

When sending Transact XCM Instruction, how to specify the pallet which contains the extrinsic to execute on target parachain?

When sending Transact XCM Instruction from parachain A, how do I specify (or how does the xcm-executor know) the pallet / pallet id on the target Parachain B which contains the extrinsic to be ...
Neo's user avatar
  • 293
3 votes
1 answer
64 views

Failed to Decode Error?

I was trying to transfer nft from relay chain to parachain through transact instruction of Xcm. Here is snippet of code I am using Xcm(vec![Transact { origin_kind:OriginKind::Xcm, ...
Ipsa Gupta's user avatar
2 votes
1 answer
53 views

How to programmatically execute xcm message from Patachain A to execute an extrinsic on Parachain B

I have a local relaychain setup with 2 parachains Parachain A and Parachain B . I will like to execute an XCM message from Parachain A to execute an extrinsic on Parachain B using the Transact ...
Neo's user avatar
  • 293
2 votes
1 answer
27 views

How does XCMP Queue work?

Is cumulus_pallet_xcmp_queue just an implementation for HRMP (relayed messages b/w sibling parachain) or is it the actual implementation of XCMP (Direct p2p messages b/w sibling parachains) ?
b0zero's user avatar
  • 501
0 votes
0 answers
22 views

How to retrace the execution of completed XCM Transact calls?

How can someone retrace what actually happened during the execution of the Transact message? Recently the Zeitgeist parachain (2,092) sent an XCM to Polkadot that includes a Transact message that ...
sea212's user avatar
  • 539
0 votes
2 answers
48 views

ParaChain Transfer assets with XCM

I followed this tutorial (https://docs.substrate.io/tutorials/build-a-parachain/transfer-assets-with-xcm/), but got an erorr, so can't complete it. Could anyone please solve my problem? Parachain ...
user4434's user avatar
0 votes
1 answer
53 views

How to trace XCM messages for all parachains

Is it possible to trace XCM messages (origin para and account id, destination para and account id, instruction and parameters) just utilizing the relay chain storage? If not, what is the simplest way ...
kukabi's user avatar
  • 543
2 votes
0 answers
83 views

How does XCM remote locking work?

Hey valuable Substrate masterminds, I wonder how to use this new XCMv3 remote lock feature on a parachain. Consider these references: remote locking tests Asset lock trait Remote locking PR by Gavin ...
Chralt's user avatar
  • 523
0 votes
0 answers
22 views

XCM_Interaction Diagram

I am learning about the XCM format in Polkadot. I found this diagram on Paritech's Git Hub, but I don't understand its working flow yet. Explain it to me, please. thanks
Dung Nguyen's user avatar
0 votes
0 answers
20 views

Unpredicatable Block time in parachain?

I connected two parachains with Relay chain. While working on xcm functionality, I discovered that block time of parachain changes. Generally block time of parachain in parachain-node-template is 12 ...
Ipsa Gupta's user avatar
0 votes
1 answer
51 views

How to recover a parachain?

I was working on Xcm functionality and using the function limitedTeleportAsset to transfer assets from one parachain to another parachain. I performed runtime upgrade in one parachain and suddenly ...
Ipsa Gupta's user avatar
0 votes
0 answers
57 views

Not able to transfer NFT from one chain to another using XCM

I am attempting to convert the NFT ID into the form of MultiAssets in order to utilize XCM instructions for transferring it to another chain. However, I am only able to access the origin location and ...
Arunjot Singh's user avatar
3 votes
4 answers
126 views

Getting ump.InvalidFormat at relaychain when sending XCM message

I am getting ump.InvalidFormat when I sending a XCM / UMP from local a local parachain setup to relay chain to. the message instruction is[1][withdraw, buydeposit, deposit] on the relaychain I am ...
Neo's user avatar
  • 293
2 votes
1 answer
40 views

error[E0614]: type `<T as pallet_nfts::Config>::CollectionId` cannot be dereferenced

I want to pass the collection id in the from of MultiAssets to transfer it to the another chain. But i'm facing this issue error[E0614]: type `<T as pallet_nfts::Config>::CollectionId` cannot be ...
Arunjot Singh's user avatar
2 votes
1 answer
52 views

Simple Custom Pallet making XCM call

Are there any pallet examples for custom making XCM call. I know there is ping pallet provided by cumulus but I believe that is pretty old. Does ping pallet still works?
Yaser Ali's user avatar
3 votes
1 answer
60 views

Differences using xcm V2 or V3

What are the differences while using XCM V2 or V3? For example if I want to send DOT from Polkadot to Astar. Do I have to pay less fee?
Ruben G's user avatar
  • 333
3 votes
1 answer
66 views

XCM TransferAsset from one account to another account on Rococo doesn't work

I am testing some things out with XCM and I want to make a ROC token transfer from one Rococo account to another Rococo account using XCM. I am calling the execute extrinsic and providing the ...
Szegoo's user avatar
  • 623