fix(wallet): support explicit --encrypt false for forest-wallet#7211
fix(wallet): support explicit --encrypt false for forest-wallet#7211sudo-shashank wants to merge 2 commits into
Conversation
WalkthroughThe ChangesOptional encryption flag with on-disk default
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@CHANGELOG.md`:
- Line 44: In the CHANGELOG.md file at the entry describing the forest-wallet
fix, replace the PR reference `#7211` with the issue reference `#5209` to follow the
project's changelog traceability convention of preferring issue numbers when
both an issue and PR exist for a change. Keep the rest of the changelog entry
text unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: a3acaaf5-2315-4cd4-8755-677a0fe2ebda
📒 Files selected for processing (3)
CHANGELOG.mdsrc/wallet/subcommands/mod.rssrc/wallet/subcommands/wallet_cmd.rs
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
filecoin-project/lotus(manual)
Codecov Report❌ Patch coverage is
Additional details and impacted files
... and 12 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Summary of changes
Changes introduced in this pull request:
forest-walletalways used it with no way to select the unencrypted keystore. This PR adds--encrypt falseto allow that when both exist.Reference issue to close (if applicable)
Closes #5209
Other information and links
Change checklist
Outside contributions
Summary by CodeRabbit
--encryptflag is now optional. When omitted, the wallet automatically uses an encrypted keystore if available; otherwise, it uses the unencrypted keystore.--encrypt falseto force the unencrypted keystore, even when an encrypted keystore exists.