-
Notifications
You must be signed in to change notification settings - Fork 392
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
OK-34450: Prevent zero amount transfer on SUI #6375
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
概述步骤说明此次变更主要针对 Sui SDK 实现中的 变更详情
主要修改点
这些变更旨在提供更精确和友好的错误处理,特别是在处理代币交易时的余额检查。 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (1)
packages/kit-bg/src/vaults/impls/bfc/sdkBfc/transactions.ts
(2 hunks)
🧰 Additional context used
🪛 eslint
packages/kit-bg/src/vaults/impls/bfc/sdkBfc/transactions.ts
[error] 107-107: Delete ··
(prettier/prettier)
🔇 Additional comments (1)
packages/kit-bg/src/vaults/impls/bfc/sdkBfc/transactions.ts (1)
8-9
: 导入错误处理模块,代码结构清晰!
新增的错误处理导入模块使代码更加规范,有利于统一的错误处理机制。
Summary by CodeRabbit
新特性
修复