feat: add --csv option to the lotus send cmd#12892
Merged
Conversation
--csv option to the lotus send cmd.--csv option to the lotus send cmd
Contributor
Author
|
I wonder if it is also worth adding a funds check before processing the CSV transactions to prevent partial failures? Currently it will fail midway through if the wallet does not have enough funds: And also, to reduce duplication, should I remove the |
feat: add --csv flag to lotus send
chore: make gen and make docsgen-cli
chore: update changelog
d52a7ac to
d5e071d
Compare
rvagg
reviewed
Feb 13, 2025
rvagg
reviewed
Feb 13, 2025
Member
|
Co-authored-by: Rod Vagg <rod@vagg.org>
feat(cli): add two-pass CSV send with balance check
refactor: remove send-csv from lotus-shed
Contributor
Author
|
Pushed the two-pass CSV send, and balance check here: fcad102, and removed the lotus-shed send-civ cmd here: 850127c Additionally did some other manual tests in a dev-net:
Normal send: Send by specifying
Wrong amount of headers: Wrong amount of fields: |
rvagg
reviewed
Feb 14, 2025
Co-authored-by: Rod Vagg <rod@vagg.org>
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Closes #12890
Proposed Changes
--csvoption to thelotus sendcmd.Additional Info
Took it for a spin in testnet:
--csvoption in lotus send:--fromoption to specify sending address:--fromaddressChecklist
Before you mark the PR ready for review, please make sure that: