balancer / frontend-v3

Official UI application for the Balancer protocol.
https://balancer.fi
MIT License
7 stars 11 forks source link

fix: Don't do mint calls for non bal reward gauges #1076

Closed garethfuller closed 1 week ago

garethfuller commented 1 week ago

We were trying to call the gaugeMint function for gauges that are not registered and don't have BAL rewards because all gaugeAddresses were being passed in as if they were the same. This PR splits them up into the appropriate groups:

This isn't a complete full-proof solution because it seems you can also have gauges with BAL rewards where gaugeMint also can't be called, but that should be much more rare.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2024 9:33am
test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2024 9:33am