mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Remove unused key types sr25 and ed25 (#3659)
* Remove unused key types sr25 and ed25. * Restore in specific files to fix build. * Fix runtime tests * Fix keystore test * Revert typo * Move keytypes to primitives/src/testing.rs * More missed items. * Getting close now. * Fix example in documentation. * Update core/application-crypto/src/ed25519.rs * Update core/application-crypto/src/sr25519.rs * Bump impl version.
This commit is contained in:
committed by
Gavin Wood
parent
c25d7386cf
commit
210290f8ca
@@ -1180,13 +1180,14 @@ macro_rules! count {
|
||||
/// just the bytes of the key.
|
||||
///
|
||||
/// ```rust
|
||||
/// use sr_primitives::{impl_opaque_keys, key_types, KeyTypeId, app_crypto::{sr25519, ed25519}};
|
||||
/// use sr_primitives::{impl_opaque_keys, KeyTypeId, app_crypto::{sr25519, ed25519}};
|
||||
/// use primitives::testing::{SR25519, ED25519};
|
||||
///
|
||||
/// impl_opaque_keys! {
|
||||
/// pub struct Keys {
|
||||
/// #[id(key_types::ED25519)]
|
||||
/// #[id(ED25519)]
|
||||
/// pub ed25519: ed25519::AppPublic,
|
||||
/// #[id(key_types::SR25519)]
|
||||
/// #[id(SR25519)]
|
||||
/// pub sr25519: sr25519::AppPublic,
|
||||
/// }
|
||||
/// }
|
||||
|
||||
Reference in New Issue
Block a user