-
Notifications
You must be signed in to change notification settings - Fork 21
feat: implement pallet_msa::withdraw_tokens extrinsic #2402
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
Conversation
Codecov ReportAttention: Patch coverage is
🚀 New features to boost your workflow:
|
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 had just the nitpick comment but nothing blocking. Lots of good work!
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.
- Read through changes and looked into cargo deny.
- Nice work.
🚢 it!
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.
Nice work here 👍 ! Definitely not a simple PR.
pub fn withdraw_tokens( | ||
origin: OriginFor<T>, | ||
_msa_owner_public_key: T::AccountId, | ||
msa_owner_proof: MultiSignature, |
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 we might need to comments in here that mentioned that the proof check is done inside the extension so we don't need to do it here.
Goal
The goal of this PR is to implement a
withdraw_tokens
extrinsic that allows MSAs holding tokens to authorize their tokens to be withdrawn to a specified account.Closes #2388
Discussion
Checklist