Skip to content

fix: uni-v2 don't upsert ghost opportunities#8727

Merged
0xApotheosis merged 3 commits intodevelopfrom
feat_uni_v2_ghost_opportoonities
Feb 3, 2025
Merged

fix: uni-v2 don't upsert ghost opportunities#8727
0xApotheosis merged 3 commits intodevelopfrom
feat_uni_v2_ghost_opportoonities

Conversation

@gomesalexandre
Copy link
Copy Markdown
Contributor

@gomesalexandre gomesalexandre commented Feb 3, 2025

Description

We technically support all UNI-V2 opportunities as first-class, not just UNI-V2, but we actually don't because these are perf bottlenecks.
This ensures ghost opportunities are not upserted anywhere, resulting in ghost balances/eligible opportunities.

Issue (if applicable)

closes #8720

Risk

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Low

Testing

  • UNI-V2 DeFi balance only accounts for ETH/FOX
  • No ghost UNI-V2 elligible opportunities are displayed

Engineering

  • ^

Operations

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)
  • ^

Screenshots (if applicable)

  • Develop
Screenshot 2025-02-03 at 16 58 16
  • This diff
image

@gomesalexandre gomesalexandre requested a review from a team as a code owner February 3, 2025 16:05
Copy link
Copy Markdown
Collaborator

@NeOMakinG NeOMakinG left a comment

Choose a reason for hiding this comment

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

This branch

image

Develop

image

Pre-stamping but I had to nuke my cache so it needs a migration! 🙏

@gomesalexandre gomesalexandre enabled auto-merge (squash) February 3, 2025 17:43
@gomesalexandre gomesalexandre force-pushed the feat_uni_v2_ghost_opportoonities branch from db14c21 to 5a9748a Compare February 3, 2025 18:28
@0xApotheosis 0xApotheosis disabled auto-merge February 3, 2025 19:40
@0xApotheosis 0xApotheosis merged commit f61a95a into develop Feb 3, 2025
@0xApotheosis 0xApotheosis deleted the feat_uni_v2_ghost_opportoonities branch February 3, 2025 19:40
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.

Seeing ghost opportunities as well as UNI-V2 total appears overstated

3 participants