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

Recovery pallet added and configured #512

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

bgodlin
Copy link
Contributor

@bgodlin bgodlin commented Jun 1, 2023

No description provided.

@bgodlin bgodlin linked an issue Jun 1, 2023 that may be closed by this pull request
1 task
runtime/src/lib.rs Outdated Show resolved Hide resolved
@@ -249,6 +251,7 @@ std = [
"pallet-offences/std",
"pallet-preimage/std",
"pallet-randomness-collective-flip/std",
"pallet-recovery/std",
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably we need to add "pallet-recovery/try-runtime" below if it has this feature

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it works without it

Copy link
Contributor

Choose a reason for hiding this comment

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

Of course it works, but it is necessary for cases when we use try-runtime

@sorabot sorabot requested a review from wer1st July 29, 2023 17:09
Copy link
Contributor

@Alexey-N-Chernyshov Alexey-N-Chernyshov left a comment

Choose a reason for hiding this comment

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

Is it relevant?

@bgodlin
Copy link
Contributor Author

bgodlin commented Oct 10, 2023

Is it relevant?

It is

Copy link
Contributor

@WRRicht3r WRRicht3r left a comment

Choose a reason for hiding this comment

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

This would be an interesting feature to have for n00b users to have less fear about self-custodial. Let's consider implementing as an "optional extra" @Tieumsan


impl pallet_recovery::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type WeightInfo = pallet_recovery::weights::SubstrateWeight<Runtime>;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we're supposed to benchmark it ourselves (with our reference hardware)

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.

[Feature]: Social recovery
6 participants