-
Notifications
You must be signed in to change notification settings - Fork 46
feat: ensure deleting wallet deletes connected accounts #765
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
base: beeman/network-type
Are you sure you want to change the base?
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
samui-wallet-web | 071cde4 | Commit Preview URL Branch Preview URL |
Dec 14 2025, 01:57 PM |
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.
Important
Looks good to me! 👍
Reviewed everything up to 071cde4 in 41 seconds. Click for details.
- Reviewed
65lines of code in2files - Skipped
0files when reviewing. - Skipped posting
3draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. packages/db/src/wallet/wallet-delete.ts:10
- Draft comment:
Consider using a dedicated error logging method (e.g. console.error or a logging library) instead of console.log for error logging. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
2. packages/db/src/wallet/wallet-delete.ts:18
- Draft comment:
The function signature promises to return void but returns 'data' from the deletion. Consider explicitly returning void for consistency. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
3. packages/db/test/wallet-delete.test.ts:33
- Draft comment:
A test case for failure in account deletion (bulkDelete) could be added to fully validate error handling when connected accounts fail to delete. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
Workflow ID: wflow_ixbHo5NtLkq8YrDM
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
BundleMonFiles updated (4)
Unchanged files (94)
Total files change -854B -0.1% Groups updated (3)
Final result: ✅ View report in BundleMon website ➡️ |
Description
Wallet delete now deletes all the linked accounts.
Closes #746
Checklist
Important
walletDeletenow deletes linked accounts before deleting a wallet, with tests added to verify this behavior.walletDeleteinwallet-delete.tsnow deletes all accounts linked to a wallet before deleting the wallet itself.wallet-delete.test.tsto verify accounts are deleted when a wallet is deleted.This description was created by
for 071cde4. You can customize this summary. It will automatically update as commits are pushed.