diff --git a/crates/pallet-fixed-validators-set/src/benchmarking.rs b/crates/pallet-fixed-validators-set/src/benchmarking.rs index d4d9ec1d0..18eba630a 100644 --- a/crates/pallet-fixed-validators-set/src/benchmarking.rs +++ b/crates/pallet-fixed-validators-set/src/benchmarking.rs @@ -1,7 +1,7 @@ //! The benchmarks for the pallet. // Allow integer and float arithmetic in tests. -#![allow(clippy::arithmetic_side_effects, clippy::float_arithmetic)] +#![allow(clippy::float_arithmetic)] use frame_benchmarking::benchmarks; use frame_support::pallet_prelude::*; diff --git a/crates/pallet-fixed-validators-set/src/mock.rs b/crates/pallet-fixed-validators-set/src/mock.rs index 4cbd732fb..e997bb580 100644 --- a/crates/pallet-fixed-validators-set/src/mock.rs +++ b/crates/pallet-fixed-validators-set/src/mock.rs @@ -1,8 +1,5 @@ //! The mock for the pallet. -// Allow simple integer_arithmetic in tests. -#![allow(clippy::arithmetic_side_effects)] - use frame_support::{ sp_io, sp_runtime::{ diff --git a/crates/pallet-fixed-validators-set/src/tests.rs b/crates/pallet-fixed-validators-set/src/tests.rs index f408e13c1..d68466953 100644 --- a/crates/pallet-fixed-validators-set/src/tests.rs +++ b/crates/pallet-fixed-validators-set/src/tests.rs @@ -1,8 +1,5 @@ //! The tests for the pallet. -// Allow simple integer arithmetic in tests. -#![allow(clippy::arithmetic_side_effects)] - use frame_support::{assert_noop, assert_ok, BoundedVec}; use crate::{