Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
enddynayn committed Oct 3, 2024
1 parent cbdd8b7 commit 57d132a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pallets/handles/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

use super::*;
use crate::Pallet as Handles;
use common_primitives::utils::wrap_binary_data;
use frame_benchmarking::{benchmarks, whitelisted_caller};
use frame_support::assert_ok;
use frame_system::RawOrigin;
use sp_core::crypto::KeyTypeId;
use sp_runtime::RuntimeAppPublic;
use common_primitives::utils::wrap_binary_data;
pub const TEST_KEY_TYPE_ID: KeyTypeId = KeyTypeId(*b"test");

mod app_sr25519 {
Expand Down
2 changes: 1 addition & 1 deletion pallets/passkey/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ use crate::{
},
types::*,
};
use common_primitives::utils::wrap_binary_data;
use frame_benchmarking::benchmarks;
use frame_support::assert_ok;
use sp_core::{crypto::KeyTypeId, Encode};
use sp_runtime::{traits::Zero, MultiSignature, RuntimeAppPublic};
use sp_std::prelude::*;
use common_primitives::utils::wrap_binary_data;

pub const TEST_KEY_TYPE_ID: KeyTypeId = KeyTypeId(*b"test");

Expand Down
2 changes: 1 addition & 1 deletion pallets/stateful-storage/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use crate::{types::ItemAction, Pallet as StatefulStoragePallet};
use common_primitives::{
schema::{ModelType, PayloadLocation},
stateful_storage::{PageHash, PageId},
utils::wrap_binary_data,
};
use frame_benchmarking::{benchmarks, whitelisted_caller};
use frame_support::assert_ok;
Expand All @@ -13,7 +14,6 @@ use sp_core::{bounded::BoundedVec, crypto::KeyTypeId};
use sp_runtime::RuntimeAppPublic;
use stateful_child_tree::StatefulChildTree;
use test_common::constants;
use common_primitives::utils::wrap_binary_data;

pub const TEST_KEY_TYPE_ID: KeyTypeId = KeyTypeId(*b"test");

Expand Down

0 comments on commit 57d132a

Please sign in to comment.