Skip to content

Improved TrustedQueryAPI signatures#6129

Merged
acatangiu merged 9 commits intomasterfrom
improve_signature
Oct 21, 2024
Merged

Improved TrustedQueryAPI signatures#6129
acatangiu merged 9 commits intomasterfrom
improve_signature

Conversation

@x3c41a
Copy link
Copy Markdown
Contributor

@x3c41a x3c41a commented Oct 18, 2024

Changed returned type of API methods from Result<bool, xcm_runtime_apis::trusted_query::Error> to a typed one type XcmTrustedQueryResult = Result<bool, xcm_runtime_apis::trusted_query::Error>;
Follow-up of PR-6039

@x3c41a x3c41a added the T6-XCM This PR/Issue is related to XCM. label Oct 18, 2024
Copy link
Copy Markdown
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The type should be exposed by the crate providing the runtime. Otherwise this pr is not very useful.

@x3c41a x3c41a requested a review from a team as a code owner October 21, 2024 07:45
@x3c41a x3c41a requested a review from bkchr October 21, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T6-XCM This PR/Issue is related to XCM.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants