mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 04:01:10 +00:00
* Address review grumbles from #99 * obey the fmt
This commit is contained in:
+1
-9
@@ -96,15 +96,7 @@ pub trait System {
|
||||
type Hashing: Hash<Output = Self::Hash>;
|
||||
|
||||
/// The user account identifier type for the runtime.
|
||||
type AccountId: Parameter
|
||||
+ Member
|
||||
+ MaybeSerialize
|
||||
+ Debug
|
||||
+ MaybeDisplay
|
||||
+ Encode
|
||||
+ Decode
|
||||
+ Ord
|
||||
+ Default;
|
||||
type AccountId: Parameter + Member + MaybeSerialize + MaybeDisplay + Ord + Default;
|
||||
|
||||
/// The address type. This instead of `<frame_system::Trait::Lookup as StaticLookup>::Source`.
|
||||
#[module(ignore)]
|
||||
|
||||
@@ -52,7 +52,6 @@ impl sp_runtime::BoundToRuntimeAppPublic for Grandpa {
|
||||
|
||||
use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId;
|
||||
|
||||
#[cfg(feature = "kusama")]
|
||||
mod validator_app {
|
||||
use application_crypto::{
|
||||
app_crypto,
|
||||
@@ -62,11 +61,9 @@ mod validator_app {
|
||||
}
|
||||
|
||||
/// Parachain marker struct
|
||||
#[cfg(feature = "kusama")]
|
||||
#[derive(Copy, Clone, Debug, Default, Eq, PartialEq, Ord, PartialOrd, Hash)]
|
||||
pub struct Parachains;
|
||||
|
||||
#[cfg(feature = "kusama")]
|
||||
impl sp_runtime::BoundToRuntimeAppPublic for Parachains {
|
||||
type Public = validator_app::Public;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user