-
Notifications
You must be signed in to change notification settings - Fork 2
Feat(metadata): basic metadata api support #38
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
Conversation
xcq-extension-fungibles/src/lib.rs
Outdated
type AccountId: Decode; | ||
type AssetId: Decode; | ||
type Balance: Encode; | ||
type AssetId: Encode + Decode; |
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.
type AssetId: Encode + Decode; | |
type AssetId: Codec; |
// quote! {} | ||
// }; | ||
Ok(parse_quote!( | ||
#[derive(Decode)] |
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.
need to use fully qualified name for Decode
__Phantom(core::marker::PhantomData<Impl>) | ||
)); | ||
Ok(parse_quote!( | ||
#[derive(parity_scale_codec::Decode)] |
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.
will this work if parity_scale_codec
was imported with a different name? maybe we need to do something like #xcq_extension::deps::parity_scale_codec::Decode
@@ -18,6 +18,7 @@ pub type XcqResult = Result<XcqResponse, XcqError>; | |||
pub mod metadata; | |||
pub mod metadata_ir; | |||
|
|||
pub mod umbrella { | |||
pub mod deps { |
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.
add #[doc(hidden)]
for internal use only but public items
Uh oh!
There was an error while loading. Please reload this page.