-
Notifications
You must be signed in to change notification settings - Fork 130
feat: remove one UPDATE sql query in case of metadata usage #793
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
Conversation
WalkthroughThis pull request updates the transaction commit process across multiple components. The changes add an extra parameter—either an account metadata map or a placeholder value—to calls of the Changes
Sequence Diagram(s)sequenceDiagram
participant C as Controller
participant S as Store
participant L as Ledger
C->>S: Call CommitTransaction(tx, accountMetadata)
S->>L: Process transaction with provided accountMetadata
L-->>S: Return processing result
S-->>C: Return final confirmation
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (10)
🧰 Additional context used🧬 Code Definitions (6)internal/storage/ledger/volumes_test.go (1)
internal/storage/ledger/balances_test.go (1)
internal/storage/ledger/accounts_test.go (1)
internal/storage/ledger/transactions_test.go (1)
internal/controller/ledger/store_generated_test.go (8)
internal/storage/ledger/transactions.go (3)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (25)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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 (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #793 +/- ##
==========================================
+ Coverage 82.04% 82.11% +0.06%
==========================================
Files 137 137
Lines 7448 7440 -8
==========================================
- Hits 6111 6109 -2
+ Misses 1027 1023 -4
+ Partials 310 308 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.