-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate pallet-statement to use umbrella crate #7106
base: master
Are you sure you want to change the base?
Conversation
User @Nathy-bajo, please sign the CLA here. |
Please review @re-gius @kianenigma |
@@ -0,0 +1,21 @@ | |||
thread 'coordinator' panicked at /rustc/f7273e0044ad8f35ad27282e4ab776af50b61a54/compiler/rustc_codegen_ssa/src/back/write.rs:1662:29: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wtf :D
use sp_core::Pair; | ||
use sp_runtime::{traits::IdentityLookup, AccountId32, BuildStorage}; | ||
use frame::testing_prelude::*; | ||
use frame::deps::{sp_runtime::{traits::IdentityLookup, AccountId32, BuildStorage}, sp_core::Pair}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of this stuff should already be testing prelude.
use sp_core::Pair; | ||
use sp_runtime::AccountId32; | ||
use sp_statement_store::{ | ||
use frame::deps::{sp_runtime::AccountId32, sp_core::{Pair, H256}, sp_statement_store::{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same.
@@ -569,7 +569,8 @@ pub mod deps { | |||
pub use sp_core; | |||
pub use sp_io; | |||
pub use sp_runtime; | |||
|
|||
pub use sp_statement_store; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of the primitives of the statemnt store are really just used in one pallet, I would not add them here and keep them as a dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not ready yet :)
Part of #6504