mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
Fix/ignore clippy warnings (#1157)
* fix/ignore clippy * --locked check && test * RUSTC_WRAPPER="" for clippy-nightly, check-nightly, test-nightly
This commit is contained in:
committed by
Bastian Köcher
parent
70f87e826c
commit
87cbb382d9
@@ -556,6 +556,7 @@ pub mod pallet {
|
||||
StorageMap<_, Identity, H256, AuraScheduledChange>;
|
||||
|
||||
#[pallet::genesis_config]
|
||||
#[cfg_attr(feature = "std", derive(Default))]
|
||||
pub struct GenesisConfig {
|
||||
/// PoA header to start with.
|
||||
pub initial_header: AuraHeader,
|
||||
@@ -565,17 +566,6 @@ pub mod pallet {
|
||||
pub initial_validators: Vec<Address>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
impl Default for GenesisConfig {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
initial_header: Default::default(),
|
||||
initial_difficulty: Default::default(),
|
||||
initial_validators: Default::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[pallet::genesis_build]
|
||||
impl<T: Config<I>, I: 'static> GenesisBuild<T, I> for GenesisConfig {
|
||||
fn build(&self) {
|
||||
|
||||
Reference in New Issue
Block a user