Repository navigation
fix: change the ref on macros for erc4626 - #6
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
problem
dune.balancer.v3_ethereum_protocol_feereturnedNULLforprotocol_fee_collected_usdon Fluid ERC4626 tokens (fwstETH/fWETH) because the macros were readingsource('balancer_v3','erc4626_token_prices'), which lacked those rows.files changed
macros/shared/balancer/balancer_protocol_fee_macro.sqlmacros/shared/balancer/balancer_liquidity_macro.sqlmacros/shared/balancer/balancer_bpt_prices_macro.sqlmacros/shared/balancer/balancer_token_balance_changes_daily_agg_macro.sqltests/protocol_fee/test_v3_ethereum_protocol_fee_fluid_erc4626_usd_not_null.sqlnotes
Switched ERC4626 price lookup to
ref(base_spells_namespace + '_v3_erc4626_token_prices')in all 4 macros and added a targeted regression test for the Fluid pool window. Query7363642now returns 4 non-nulltotal_protocol_fee_usdrows in prod.