Skip to content

Conversation

@0xBoxer
Copy link
Collaborator

@0xBoxer 0xBoxer commented Mar 13, 2025

fixing the solana phoenix trades integration to dex.trades

@github-actions github-actions bot added WIP work in progress dbt: solana covers the Solana dbt subproject labels Mar 13, 2025
@0xBoxer
Copy link
Collaborator Author

0xBoxer commented Mar 27, 2025

the PR now fixes:

  • wrong event log selection due to sorting only by inner instruction, not outer instruction
  • decimal issue for amounts that were introduced by not using the internal decimal system of phoenix but rather the token metadata ones
  • wrong fee calculations due to wrong bps calculation

https://dune.com/queries/4033552/6791501
https://dune.com/queries/4910331

@0xBoxer 0xBoxer marked this pull request as ready for review March 27, 2025 15:21
@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Mar 27, 2025
@jeff-dude
Copy link
Member

jeff-dude commented Mar 27, 2025

on your successful run before adding full history back, why was incremental 0 rows? is v1 deprecated / no new data or a bug in code?

https://github.com/duneanalytics/spellbook/actions/runs/14104627449/job/39508243312#step:15:20

@jeff-dude jeff-dude self-assigned this Mar 27, 2025
@jeff-dude jeff-dude added in review Assignee is currently reviewing the PR and removed ready-for-review this PR development is complete, please review labels Mar 27, 2025
@0xBoxer
Copy link
Collaborator Author

0xBoxer commented Mar 27, 2025

I had it set to a speicific daterange outside of any if_incremental blocks so the incremental run had no data to process

@0xBoxer
Copy link
Collaborator Author

0xBoxer commented Mar 28, 2025

pushed the incremental changes 🫡

@jeff-dude jeff-dude requested a review from 0xRobin March 28, 2025 15:28
@jeff-dude jeff-dude added ready-for-final-review and removed in review Assignee is currently reviewing the PR labels Mar 28, 2025
Copy link
Collaborator

@0xRobin 0xRobin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeff-dude jeff-dude merged commit 3157958 into main May 7, 2025
5 of 6 checks passed
@jeff-dude jeff-dude deleted the fix-solana-phoenix-trades branch May 7, 2025 15:00
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dbt: solana covers the Solana dbt subproject ready-for-merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants