-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
OP Refactor Tokens & Housekeeping #2207
OP Refactor Tokens & Housekeeping #2207
Conversation
Workflow run id 3614069689 approved. |
Workflow run id 3614069687 approved. |
Workflow run id 3614089630 approved. |
Workflow run id 3614089631 approved. |
Workflow run id 3614121651 approved. |
Workflow run id 3614121653 approved. |
Workflow run id 3614135931 approved. |
Workflow run id 3614135932 approved. |
Workflow run id 3614147613 approved. |
Workflow run id 3614147617 approved. |
Workflow run id 3614170196 approved. |
Workflow run id 3614170194 approved. |
Workflow run id 3614187274 approved. |
Workflow run id 3614187269 approved. |
Workflow run id 3614191324 approved. |
Workflow run id 3614191313 approved. |
Workflow run id 3614196774 approved. |
Workflow run id 3614196778 approved. |
* cast to varchar in concat in view * define varchar length'
* use batch api calls for price checker
…regator and pools (duneanalytics#2169) * update dodo_ethereum_trades && add dodo_bnb_trades * split dodo_trades to pools & aggregator on Ethereum and BNBChain * label different dodoV2 pools * fix schema & sql * add dodo_proxies on Ethereum * Modify dodo_bnb_trades to incremental view * Apply check_dex_seed and modify dodo_eth_trades to incremental view * Add DODO bnb trade seeds * Apply check_dex_seed to DODO bnb trades model * update dex_trade_seeds * fix * Add DODO bnb in project.yml * remove gitkeep in dodo * Update models/dodo/bnb/dodo_pools_bnb_trades.sql * Update check_dex_seed in dodo_ethereum_schema.yml * fix dodo_ethereum_schema * Remove schema in the config blocks * Add dodo_trades files by scoffie * add dppOracle & dppAdvanced to dodo_bnb * fix * update dbt_project on dodo * fix dodo_bnb_sources.yml * move cast to base model * update dex.trades seeds on DODO_BNBChain * final formatting & cleanup expose spell macro Co-authored-by: Huang Geyang <Sukebeta@outlook.com> Co-authored-by: jeff-dude <jeff@dune.xyz>
* use most natural form of fee computation when possible * add comment about imprecision
* trigger test * enable test in CI * defer in test * fix aragon * fix native token test * fix native mints unique id * fix nft trader labels * union all in nft labels * union all for performance * trigger wash_trades full refresh * fix cow protocol distinct labels * revert null wallet_address fix Co-authored-by: soispoke <66172107+soispoke@users.noreply.github.com>
* add eth transfers and small type fixes in op eth transfers * comment update * update schema * update transfer id * add tx to and from * add tx_to and tx_from * nit remove spaces Co-authored-by: soispoke <66172107+soispoke@users.noreply.github.com>
* allow for case insensitive token symbol matching * adapt token checker error/warns * check for warning in test instead of error
* base is_incremental * add force-incremental variable
apologies for all the commits, must have messed up the merge with main. here is summary of final tweaks, hopefully good with you:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good 🤝
cool jinja usage in the aave model. you've outsmarted the CI test attached, it doesn't know how to interpret the loop. we can safely ignore the failure. more ideas for us to ideally enhance the test moving forward.
we can ignore the (beta) test failure on prices too. many times, the API will return values from another blockchain, but the id being valid is the biggest key. then we ask to prove contract address manually if needed, which @Hosuke helped with. the symbol on 'fBOMB' error can be ignored too, as that is different between the blockchains it appears.
if you agree with all of this, we can merge |
Hey, yeah all makes sense! I don't remember what I was doing with the folder naming haha. |
Yeah trial and error on the jinja in Aave haha. I think chatgpt helped me there too. |
oh man, are we going to have to edit our readme and put: |
1 similar comment
oh man, are we going to have to edit our readme and put: |
Brief comments on the purpose of your changes:
My local dbt is erroring out,
Fixed thisno dbt_project.yml found at expected path [peronsal path] /spellbook/dbt_packages/dbt_utils 2/dbt_project.yml
so draft PRing here to do checks
For Dune Engine V2
I've checked that:
General checks:
lowercase_snake_cased
Pricing checks:
coin_id
represents the ID of the coin on coinpaprika.comJoin logic:
Incremental logic: