-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Transfer command uses AccountOwner
type.
#3573
Conversation
493adfa
to
eef4aff
Compare
eef4aff
to
9aee4a1
Compare
9a67aed
to
b6110b9
Compare
9aee4a1
to
3ab8c5a
Compare
block.with_native_token_transfer(Some(owner), Recipient::Burn, transfer_amount); | ||
block.with_native_token_transfer( | ||
AccountOwner::User(owner), | ||
Recipient::Burn, |
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.
We can probably kill this Burn
thing by the way and simplify (away?) Recipient
now. People will be able to send to address 0x0
(or anything really) if they really want to burn tokens.
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.
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.
LGTM but perhaps we can let @afck have another look
Motivation
Continuation of the cleanup.
Proposal
Transfer
command now usesAccountOwner::Chain
in place whereNone
was used.Test Plan
CI
Release Plan
Links