Skip to content
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

An 5383/me decoded update #775

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

tarikceric
Copy link
Member

@tarikceric tarikceric commented Jan 21, 2025

Create Magic Eden v2 sales table from decoded instructions. ME supports payment in tokens beside SOL so add column for currency_address.

  • deprecate original table
  • in gold nft.fact_nft_sales :
    • add currency_address column, and set as SOL for all other models
    • add new model -- since the unique key for both the legacy and new model is the same, the old records should be updated in an incremental run

To update gold:

  1. Update the currency_address to SOL
update solana_dev.nft.fact_nft_sales
set currency_address = 'So11111111111111111111111111111111111111111'
where currency_address is null

Runs:

  • Incremental on medium for silver and gold:
    21:26:57 1 of 1 OK created sql incremental model silver.nft_sales_magic_eden_v2_decoded . [SUCCESS 170 in 15.55s]
    21:32:44 1 of 1 OK created sql incremental model nft.fact_nft_sales ..................... [SUCCESS 8053500 in 28.10s]

  • FR on 2xl for magic_eden_v2_decoded:
    16:35:36 Finished running 1 incremental model, 7 project hooks in 0 hours 7 minutes and 21.09 seconds (441.09s).

  • Tests for silver and gold:

16:53:45  Finished running 53 data tests, 7 project hooks in 0 hours 1 minutes and 22.95 seconds (82.95s).
16:53:46  
16:53:46  Completed successfully
16:53:46  
16:53:46  Done. PASS=53 WARN=0 ERROR=0 SKIP=0 TOTAL=53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant