Skip to content

Commit

Permalink
migrate pallet-statement to use umbrella crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathy-bajo committed Jan 10, 2025
1 parent cdfa961 commit 181b4da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion substrate/frame/statement/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Test>;

Expand Down
3 changes: 1 addition & 2 deletions substrate/frame/statement/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 181b4da

Please sign in to comment.