diff --git a/.github/workflows/clippy-checks.yml b/.github/workflows/clippy-checks.yml index 80f0b335e..e17d68e5f 100644 --- a/.github/workflows/clippy-checks.yml +++ b/.github/workflows/clippy-checks.yml @@ -20,7 +20,9 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --release --all-features -- -W clippy::all -A clippy::style -A forgetting_copy_types -A forgetting_references + # `manual_inspect` (clippy 1.81) fires inside the `#[pallet::pallet]` expansion of our + # polkadot-sdk fork; the `deny(warnings)` pallets cannot allow it from the outside. + args: --release --all-features -- -W clippy::all -A clippy::style -A clippy::manual_inspect -A forgetting_copy_types -A forgetting_references - name: Clippy -- All Targets (except integration) uses: actions-rs/cargo@v1 diff --git a/.github/workflows/mlc_config.json b/.github/workflows/mlc_config.json index 48bfb36da..2d224792c 100644 --- a/.github/workflows/mlc_config.json +++ b/.github/workflows/mlc_config.json @@ -2,6 +2,9 @@ "ignorePatterns": [ { "pattern": "^https://crates.io" + }, + { + "pattern": "^https://github.com/substrate-developer-hub/substrate-docs/blob/314e9cd3bd0ca9426bbfd381b79c3ef4d06b49c2/static/assets/tutorials/cumulus/chain-specs/rococo-custom-2-raw\\.json$" } ] } diff --git a/runtime/amplitude/src/lib.rs b/runtime/amplitude/src/lib.rs index 36da8f5b0..107f97840 100644 --- a/runtime/amplitude/src/lib.rs +++ b/runtime/amplitude/src/lib.rs @@ -606,8 +606,6 @@ impl pallet_aura::Config for Runtime { type DisabledValidators = (); type MaxAuthorities = MaxAuthorities; type AllowMultipleBlocksPerSlot = ConstBool; - #[cfg(feature = "experimental")] - type SlotDuration = ConstU64; } parameter_types! { diff --git a/runtime/foucoco/src/lib.rs b/runtime/foucoco/src/lib.rs index a5c9e5958..c776fe2aa 100644 --- a/runtime/foucoco/src/lib.rs +++ b/runtime/foucoco/src/lib.rs @@ -582,8 +582,6 @@ impl pallet_aura::Config for Runtime { type DisabledValidators = (); type MaxAuthorities = MaxAuthorities; type AllowMultipleBlocksPerSlot = ConstBool; - #[cfg(feature = "experimental")] - type SlotDuration = ConstU64; } parameter_types! { diff --git a/runtime/pendulum/src/lib.rs b/runtime/pendulum/src/lib.rs index e98cd0841..493a0b33e 100644 --- a/runtime/pendulum/src/lib.rs +++ b/runtime/pendulum/src/lib.rs @@ -611,8 +611,6 @@ impl pallet_aura::Config for Runtime { type DisabledValidators = (); type MaxAuthorities = MaxAuthorities; type AllowMultipleBlocksPerSlot = ConstBool; - #[cfg(feature = "experimental")] - type SlotDuration = ConstU64; } parameter_types! { pub const LaunchPeriod: BlockNumber = 5 * DAYS;