From 181b4dacb20d7e43afd1de2948f1af1cea7addf5 Mon Sep 17 00:00:00 2001 From: Nathy-bajo Date: Fri, 10 Jan 2025 11:38:33 +0100 Subject: [PATCH] migrate pallet-statement to use umbrella crate --- substrate/frame/statement/src/mock.rs | 2 +- substrate/frame/statement/src/tests.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/substrate/frame/statement/src/mock.rs b/substrate/frame/statement/src/mock.rs index 0d3b38036b1b..e552fca4ef3c 100644 --- a/substrate/frame/statement/src/mock.rs +++ b/substrate/frame/statement/src/mock.rs @@ -21,7 +21,7 @@ use super::*; use crate as pallet_statement; use frame::testing_prelude::*; -use frame::deps::{sp_runtime::{traits::IdentityLookup, AccountId32, BuildStorage}, sp_core::sr25519::Pair}; +use frame::deps::{sp_runtime::{traits::IdentityLookup, AccountId32, BuildStorage}, sp_core::Pair}; type Block = frame_system::mocking::MockBlock; diff --git a/substrate/frame/statement/src/tests.rs b/substrate/frame/statement/src/tests.rs index ba88044920e6..fb507026ac68 100644 --- a/substrate/frame/statement/src/tests.rs +++ b/substrate/frame/statement/src/tests.rs @@ -21,11 +21,10 @@ use super::*; use crate::mock::*; -use frame::deps::{sp_runtime::AccountId32, sp_core::sr25519::Pair, sp_statement_store::{ +use frame::deps::{sp_runtime::AccountId32, sp_core::{Pair, H256, sr25519::Pair as Sr25519Pair}, sp_statement_store::{ runtime_api::{InvalidStatement, StatementSource, ValidStatement}, Proof, Statement, }}; -use frame::testing_prelude::*; #[test] fn sign_and_validate_no_balance() {