-
Notifications
You must be signed in to change notification settings - Fork 16
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
Copy profiles pallet to parachain #62
Copy profiles pallet to parachain #62
Conversation
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.
Pallet is copied exactly from solochain.
pallets/parachain-utils/src/lib.rs
Outdated
@@ -109,27 +109,46 @@ impl<AccountId> User<AccountId> { | |||
|
|||
#[derive(Encode, Decode, RuntimeDebug)] | |||
pub enum Error { | |||
/// Account is blocked in a given space. | |||
AccountIsBlocked, |
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.
Maybe the error should be more specific?
For example: AccountIsBlockedInSpace
pallets/parachain-utils/src/lib.rs
Outdated
/// Account is blocked in a given space. | ||
AccountIsBlocked, | ||
/// Content is blocked in a given space. | ||
ContentIsBlocked, |
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.
Maybe the error should be more specific?
For example: ContentIsBlockedInSpace
0321e57
to
0bfb472
Compare
Based on: #61