Skip to content

style: 🎨 remove unneeded generics in pallet events (#340) #2618

style: 🎨 remove unneeded generics in pallet events (#340)

style: 🎨 remove unneeded generics in pallet events (#340) #2618

Triggered via push January 28, 2025 02:28
Status Success
Total duration 1m 39s
Artifacts

lint.yml

on: push
Check format with rustfmt
1m 25s
Check format with rustfmt
Check lint with clippy
1m 31s
Check lint with clippy
Check format with biome
32s
Check format with biome
Check lint with biome
27s
Check lint with biome
Typecheck with tsc
26s
Typecheck with tsc
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
Typecheck with tsc
Failed to restore: Cache service responded with 429
Check lint with biome
Failed to restore: Cache service responded with 429
Check format with biome
Failed to restore: Cache service responded with 429
Check format with rustfmt
Failed to restore: Cache service responded with 429
Check lint with clippy
Failed to restore: Cache service responded with 429
Check lint with clippy: pallets/randomness/src/benchmarking.rs#L6
bound is defined in more than one place
Check lint with clippy: pallets/randomness/src/lib.rs#L198
using `map_err` over `inspect_err`
Check lint with clippy: pallets/bucket-nfts/src/lib.rs#L56
using `map_err` over `inspect_err`
Check lint with clippy: pallets/providers/src/lib.rs#L1483
using `map_err` over `inspect_err`
Check lint with clippy: pallets/proofs-dealer/src/lib.rs#L746
using `map_err` over `inspect_err`
Check lint with clippy: pallets/provider-randomness/src/lib.rs#L576
useless conversion to the same type: `std::collections::btree_set::Difference<'_, <<T as pallet_proofs_dealer::Config>::ProvidersPallet as shp_traits::ReadChallengeableProvidersInterface>::ProviderId>`
Check lint with clippy: pallets/provider-randomness/src/lib.rs#L626
called `expect` on `providers_to_mark` after checking its variant with `is_some`
Check lint with clippy: pallets/provider-randomness/src/lib.rs#L559
using `map_err` over `inspect_err`
Check lint with clippy: pallets/payment-streams/src/lib.rs#L413
using `map_err` over `inspect_err`
Check lint with clippy: pallets/file-system/src/benchmarking.rs#L682
using `clone` on type `<T as Config>::Hash` which implements the `Copy` trait