Questions tagged [xcm]
XCM (Cross-Consensus Message Format) is a communication format between consensus systems
187
questions
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
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 ...
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 ...
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>(
(...
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 ...
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 ...
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):
...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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: "...
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 ...
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 ...
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 ...
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 ...
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 ...
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 = ()> {
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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:
...
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 ...
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 ...
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
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?
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 ...
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,
...
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 ...
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) ?
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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?
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 ...