-
Notifications
You must be signed in to change notification settings - Fork 18
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: change user handle #1647
feat: change user handle #1647
Conversation
…m/LibertyDSNP/frequency into 1627-user-handles-handle-swapping
Codecov Report
@@ Coverage Diff @@
## main #1647 +/- ##
==========================================
- Coverage 73.53% 73.35% -0.18%
==========================================
Files 49 49
Lines 4889 4924 +35
==========================================
+ Hits 3595 3612 +17
- Misses 1294 1312 +18
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
⏳ Running benchmarks and calculating weights. DO NOT MERGE! A new commit will be added upon completion... |
✅ Finished running benchmarks. Updated weights have been committed to this PR branch in commit 51a0161. |
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.
I think this needs a little extra testing
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.
Just one note to update the stable weights with the benchmark generated one. Otherwise looks good to me from a 👀 check.
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.
One minor comment typo, not necessary to fix.
Looks good. 🚢 it!
Co-authored-by: Matthew Orris <1466844+mattheworris@users.noreply.github.com>
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.
Cool beans with awesome sauce
Goal
The goal of this PR is add the ability to change a user handle.
Closes #1627
change_handle()
extrinsic.change_handle()
extrinsic can be paid directly with tokens or with capacityChanging a user handle, will retire the existing handle and claim a new one. The extrinsic emit
HandleRetired
andHandleClaimed
events.