-
Notifications
You must be signed in to change notification settings - Fork 1k
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
missing crate node-primitives on crates.io for 2.0.0-alpha.5 #28
Comments
same for |
The This node template, makes the same type aliases directly in the runtime's |
ok. but how about substrate-test-runtime-client? Where should I get |
TBH, I'm not nearly as familiar with that one. I guess maybe from here https://substrate.dev/rustdocs/master/sp_keyring/test/index.html @gnunicorn is that right? |
@brenzi That said, what you are asking for is literally something you can (and should) define yourself: use sp_runtime::{
generic, traits::{Verify, IdentifyAccount}, MultiSignature
};
pub type Signature = MultiSignature;
pub type AccountId = <<Signature as Verify>::Signer as IdentifyAccount>::AccountId; |
I just tried to migrate our node to 2.0.0-alpha.5 starting with a fresh node-template.
For my pallet test mock I use
use node_primitives::{AccountId, Signature};
But that crate is not on crates.io.
Therefore I'm stuck migrating.
The text was updated successfully, but these errors were encountered: