DirectTradesFetcher module (depends on #50, #51)#91
DirectTradesFetcher module (depends on #50, #51)#91alastairong1 wants to merge 1 commit intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
5ee92e5 to
b1352d1
Compare
b1ebea3 to
0a05197
Compare
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label add-to-gt-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
0a05197 to
10c59f1
Compare
b1352d1 to
5ee92e5
Compare

Summary
DirectTradesFetcher— a shared SQLite connection that bypasses the library's per-query connection modelbatch_fetch(): single SQL query for multiple order hashes (vs N individual queries)fetch_taker_tx_hashes(): finds transactions where a given address was the takerfetch_by_tx_hash(): finds all trades in a given transactiontake_ordersandvault_balance_changestablesDependencies
TradesDataSourcetraitTest plan
cargo checkpasses (with deps)🤖 Generated with Claude Code