Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/pallet-fixed-validators-set/src/benchmarking.rs
Original file line number Diff line number Diff line change
@@ -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::*;
Expand Down
3 changes: 0 additions & 3 deletions crates/pallet-fixed-validators-set/src/mock.rs
Original file line number Diff line number Diff line change
@@ -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::{
Expand Down
3 changes: 0 additions & 3 deletions crates/pallet-fixed-validators-set/src/tests.rs
Original file line number Diff line number Diff line change
@@ -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::{
Expand Down