diff --git a/pallets/collator-selection/src/lib.rs b/pallets/collator-selection/src/lib.rs index 0077c5e455..1116a632bd 100644 --- a/pallets/collator-selection/src/lib.rs +++ b/pallets/collator-selection/src/lib.rs @@ -236,8 +236,9 @@ pub mod pallet { .invulnerables .iter() .collect::>(); - assert!( - duplicate_invulnerables.len() == self.invulnerables.len(), + assert_eq!( + duplicate_invulnerables.len(), + self.invulnerables.len(), "duplicate invulnerables in genesis." ); diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index 45499b450f..f2320cb9c5 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -1469,7 +1469,7 @@ impl pallet_treasury::Config for Runtime { type Paymaster = PayFromAccount; type BalanceConverter = UnityAssetBalanceConversion; - type SpendOrigin = TreasurySpender; + type SpendOrigin = TreasurySpender; type PayoutPeriod = ConstU32<{ 3 * DAYS }>; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = ();