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

feat: add identity pallet to the runtime #172

Closed
wants to merge 1 commit into from

Conversation

cuteolaf
Copy link
Contributor

No description provided.

@cuteolaf cuteolaf marked this pull request as ready for review July 31, 2023 09:19
@cuteolaf
Copy link
Contributor Author

@camfairchild
Copy link
Contributor

@unconst @shibshib what do you think? I think this may be a good feature

@cuteolaf
Copy link
Contributor Author

cuteolaf commented Aug 16, 2023

I believe that the community will like this feature

Copy link
Contributor

@camfairchild camfairchild left a comment

Choose a reason for hiding this comment

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

Left some comments. Thanks for the PR

@@ -553,6 +559,30 @@ impl pallet_preimage::Config for Runtime {
type ByteDeposit = PreimageByteDeposit;
}

parameter_types! {
pub const BasicDeposit: Balance = (1) as Balance * 2_000 * 10_000_000 + (258 as Balance) * 100 * 1_000_000;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is the calculation like this? Is there some documentation that can be added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment on lines +564 to +566
pub const FieldDeposit: Balance = (0) as Balance * 2_000 * 10_000_000 + (66 as Balance) * 100 * 1_000_000;
pub const SubAccountDeposit: Balance = (1) as Balance * 2_000 * 10_000_000 + (53 as Balance) * 100 * 1_000_000;
pub const MaxSubAccounts: u32 = 100;
Copy link
Contributor

Choose a reason for hiding this comment

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

Same for here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment on lines +581 to +582
type ForceOrigin = MoreThanHalfCouncil;
type RegistrarOrigin = MoreThanHalfCouncil;
Copy link
Contributor

Choose a reason for hiding this comment

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

So then (currently) adding a registrar is a 2 of 3 from the triumvirate?
Wonder if using the Validator set makes more sense? Or perhaps an additional council group can be formed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this should be a team decision, i believe.

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.

3 participants