-
Notifications
You must be signed in to change notification settings - Fork 5.4k
CLI: Implement transfer command #8108
Conversation
3ce07c2 to
fe8f65a
Compare
fe8f65a to
13f5935
Compare
mvines
left a comment
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
| sign_only: bool, | ||
| signers: Option<Vec<(Pubkey, Signature)>>, | ||
| blockhash_query: BlockhashQuery, | ||
| nonce_account: Option<Pubkey>, | ||
| nonce_authority: Option<SigningAuthority>, | ||
| fee_payer: Option<SigningAuthority>, |
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.
All this boilerplate across various cli commands is getting a little much (seems ripe for future cleanup, not here!)
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.
💯
A refactor has been rattling around in my brain throughout this whole offline fixup session. I've been jotting down notes as I transition back to snapshot verification and will surface the gems as issues
Codecov Report
@@ Coverage Diff @@
## master #8108 +/- ##
========================================
- Coverage 81.9% 81.8% -0.1%
========================================
Files 245 248 +3
Lines 53691 53936 +245
========================================
+ Hits 43977 44152 +175
- Misses 9714 9784 +70 |
CriesofCarrots
left a comment
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 too
* CLI: Add transfer subcommand * Add tests * checks (cherry picked from commit 87c6508)
Problem
The
paysubcommand is overloaded withBudgetProgramfeatures, which are disabled for SLP1/2Summary of Changes
Factor out the system transfer portion of
payto a newtransfersubcommand (with offline/nonce support)Requires #8009 and #8107