-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: add create ledger wallet address by account index command #8657
Conversation
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.
Thanks for the PR!
Other than the CodeQL warning, this looks good; Will merge after that's addressed.
cmd/lotus-shed/ledger.go
Outdated
return fmt.Errorf("must pass account index") | ||
} | ||
|
||
index, err := strconv.Atoi(cctx.Args().First()) |
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.
CodeQL probably wants you to use
index, err := strconv.Atoi(cctx.Args().First()) | |
index, err := strconv.ParseUint(cctx.Args().First(), 10, 32) |
Codecov Report
@@ Coverage Diff @@
## master #8657 +/- ##
==========================================
- Coverage 40.82% 40.79% -0.03%
==========================================
Files 688 688
Lines 75916 75954 +38
==========================================
- Hits 30996 30989 -7
- Misses 39579 39624 +45
Partials 5341 5341
|
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.
Thanks for the PR!
Related Issues
Proposed Changes
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, INTERFACE BREAKING CHANGE, CONSENSUS BREAKING, build, chore, ci, docs,perf, refactor, revert, style, testarea
: api, chain, state, vm, data transfer, market, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet, deps