-
Notifications
You must be signed in to change notification settings - Fork 2
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
Using synedrion as a dependency of a pallet #961
Comments
Is it still the case after entropyxyz/synedrion#137 ? |
yes - although that has for sure made a difference - on earlier commits there is a different compiler error. |
From @HCastano:
Ah sorry no you are right with I am not sure how to figure this out because without synedrion as a dependency, the crate builds, but we can still see serde v1.0.204 with feature I am confused that the |
@HCastano wants to use synedrion as a dependency of a pallet - probably the registry pallet.
This means it needs to work on wasm with no-std - which it should do since it doesn't use the standard library and is tested on wasm.
Hernando tried making an empty
#![no_std]
crate with the following two dependencies:But on compiling gets the following error:
Doing
cargo tree --edges features
shows that serde'sstd
feature is introduced by dependencies offrame-support
, notsynedrion
- which is why i have made this issue here rather than in synedrion. But strangely, if we remove synedrion as a dependency, the crate will build, even though we can see that thestd
feature of serde is still present with cargo-tree.But
frame-support
is used by our pallets with no issues.And if i add synedrion as a dependency of the registry pallet, the pallet compiles, as does the
entropy
binary. So although this seems strange, im not sure its an issue. Or maybe i just can't see the issue.The text was updated successfully, but these errors were encountered: