This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Commit 3ed7c8b
authored
A Social Account Recovery Pallet (#4531)
* Initial sketch of social recovery pallet
* Fix compilation issues
* Use a single total delay, rename stuff
* Check possible overflow
* Copyright bump
* Add mock for tests
* Add basic end to end test
* Add `create_recovery` tests
* Add malicious recovery lifecycle test
* Make clear we check for sorted and unique friends
* Work on some tests, clean up imports
* Change `if let Some(_)` to `ok_or()`
* More tests
* Finish tests, except issue with `on_free_balance_zero`
* Fix `on_free_balance_zero`
* Pallet docs
* Add function/weight docs
* Fix merge master
* OnReapAccount for System too
* Update weight docs
* Allow passthrough to support fee-less extrinsics1 parent 6688c3b commit 3ed7c8b
File tree
6 files changed
+1240
-0
lines changed- frame/recovery
- src
6 files changed
+1240
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments