Skip to content
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

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

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

garethfuller
Copy link
Contributor

@garethfuller garethfuller commented Sep 10, 2024

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:

  • Gauges you want to claim non bal rewards for, and
  • gauges you want to claim bal rewards for.

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.

Copy link

vercel bot commented Sep 10, 2024

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

@garethfuller garethfuller merged commit 53af895 into main Sep 11, 2024
7 checks passed
@garethfuller garethfuller deleted the fix/bal-reward-claiming branch September 11, 2024 10:00
@garethfuller garethfuller linked an issue Sep 11, 2024 that may be closed by this pull request
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.

Claiming BAL#430 (discord)
2 participants