-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix/missing zero balance check #44
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe changes encompass several modifications across various files in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant FarmManager
participant FeeCollector
User->>FarmManager: Create Farm
FarmManager->>FeeCollector: Check fee amount
alt Fee > 0
FarmManager->>FeeCollector: Send fee
end
Note 🎁 Summarized by CodeRabbit FreeYour organization has reached its limit of developer seats under the Pro Plan. For new users, CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please add seats to your subscription by visiting https://app.coderabbit.ai/login. 🪧 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 (
|
Description and Motivation
Fixes #23 by verifying balances are checked before sending them with
BankMsg::Send
.Note: It's worth noting the order of the coins does not affect the result when sending coins via cosmwasm. See https://github.com/mantricjavier/coins-order-cosmwasm-test for reference.
Related Issues
Checklist:
Update index.md
)cargo fmt --all --
.cargo clippy -- -D warnings
.just schemas
.Summary by CodeRabbit
New Features
Bug Fixes
Tests