-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add XCM Dry Run and Location to Account Runtime Calls #1010
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but I think we need to restructure the content a bit!
Thanks for putting this together
|
||
The XCM Dry Run API is an easy and convenient way to test the integrity of your XCM message without incurring any transaction fees. The XCM Dry Run API can be accessed from the [Runtime Calls](https://polkadot.js.org/apps/#/runtime){target=\_blank} tab of the **Developer** section of Polkadot.js Apps. | ||
|
||
#### Dry Run Call API Method {: #dry-run-call-api-method } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is not XCM-specific tho right? This section works for any call outside of XCM. So maybe moving this to another section is better? Somewhere in the Substrate API for Moonbeam? Maybe even a new section on testing or something.
We should discuss
--8<-- 'code/builders/interoperability/xcm/send-execute-xcm/dry-run/dry-run-call-return-data.json' | ||
``` | ||
|
||
#### Dry Run XCM API Method {: #dry-run-xcm-api-method } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is relevant for this section, but unsure if being under Execute
is the right call? Maybe we can rename the section to Send, Execute and Test XCM
and add this as a separate ##
section?
Wdyt?
}, | ||
}, | ||
{ | ||
ClearOrigin: null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im curious as to this XCM message that you put here. There is no Deposit Asset so this would actually result in AssetsTrapped right?
Co-authored-by: albertov19 <[email protected]>
Description
Adds documentation on XCM Dry Run Call and XCM methods and Location to Account Runtime Calls.
Checklist
moonbeam-docs-cn
repo, I have created a ticket for the translations in Jiramoonbeam-mkdocs
to update redirectsmove-pages.py
script to move the pages and update the image paths on the chinese repomoonbeam-docs-cn
compress-images.py
script to compress the images.moonbeam-docs-cn
repo to use the new variablesCorresponding PRs
Please link to any corresponding PRs here.
After Translation Requirements
moonbeam-docs
repo to remove imagesmoonbeam-docs
repo to remove variablesmoonbeam-mkdocs
repo to add redirects for Chinese siteItems to be Updated
Please list any of the items that will need to be added or deleted after the translations are done here.