Skip to content
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

Entry Point: XCM instruction #6

Open
xlc opened this issue Apr 29, 2024 · 2 comments
Open

Entry Point: XCM instruction #6

xlc opened this issue Apr 29, 2024 · 2 comments

Comments

@xlc
Copy link
Member

xlc commented Apr 29, 2024

Design and propose RFC to XCM to add instruction to execute XCQ via XCM

ReportQuery {
  query: SizeLimitedXcq,
  weight_limit: Option<Weight>,
  info: QueryResponseInfo,
}

It should execute the query and send a QueryResponse back with the XcqResult in the response.

@xlc xlc changed the title Entry Point Entry Point: XCM Apr 29, 2024
@xlc xlc changed the title Entry Point: XCM Entry Point: XCM instruction Apr 29, 2024
@tiagobndr
Copy link

Hey @xlc, very cool to see this! It's super relevant to the XCM support in Polkadot Hub Contracts (#6775) we're working on, mainly to enable smart contracts on our platform to retrieve data from a remote chain (e.g. to then trigger specific internal functionality based on the result). I was wondering if there has been any progress on this?

@xlc
Copy link
Member Author

xlc commented Mar 13, 2025

@tiagobndr RFC is ready for review polkadot-fellows/RFCs#126

You can check if it is going to suit your requirements.

PoC is ready in this repo and we are working to finish the XCM integrations. We should be able to make a demo soonish.

PVQ is not going to cover how smart contracts going to invoke XCM but assume that's addressed, I can see we can have smart contracts invoke XCM with some PVQ blob to be executed on remote chain to query information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants