Skip to content

Conversation

@gosuto-inzasheru
Copy link
Collaborator

We're re-writing the v2 subgraphs and remove any unused fields. I know you have some scripts for various usecases that make use of the subgraph, can you check if this minimalistic subgraph still has all you need? https://api.goldsky.com/api/public/project_cmcigparivg3z01yhbv14ddl8/subgraphs/balancer/v2-smol/gn (v2 mainnet)

Main things we removed is everything related to USD values. There are still user shares and token balances of pools. Let me know if you miss something, otherwise we'll roll these out across the board

afaics this is the only change needed in our queries, but it would be great if you could have a look as well @jalbrekt85 :)

@jalbrekt85
Copy link
Collaborator

jalbrekt85 commented Jan 19, 2026

afaics this is the only change needed in our queries, but it would be great if you could have a look as well @jalbrekt85 :)

fee allocator and multisig-ops scripts dont seem to be impacted. lgtm as far as i can tell for those.

added some more adjustments here too:

  • 27a81e2 mock tests referenced a removed field, but those tests are outdated anyways so i removed them
  • a48349f removed valueUSD from last LastJoinExit query which isnt actually used downstream afaik so no harm in removing
  • 5491c18 removed where: { protocolFee_not: null } filter from PoolSnapshots (needed now removed protocolFee field)

@gosuto-inzasheru
Copy link
Collaborator Author

great, can be merged then, needs stamp from a third? @Xeonus?

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.

3 participants