Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Nathy-bajo
Copy link

Part of #6504

@Nathy-bajo Nathy-bajo requested a review from a team as a code owner January 9, 2025 20:29
@cla-bot-2021
Copy link

cla-bot-2021 bot commented Jan 9, 2025

User @Nathy-bajo, please sign the CLA here.

@Nathy-bajo
Copy link
Author

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:
Copy link
Contributor

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};
Copy link
Contributor

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::{
Copy link
Contributor

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;
Copy link
Contributor

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.

Copy link
Contributor

@kianenigma kianenigma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not ready yet :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants