Skip to content

Users seeing rewards that don't actually exist #950

@grothem

Description

@grothem

Describe the bug
In some instances, users are seeing that they are eligible to claim rewards when they shouldn't be. Clicking on the claim button on the dashboard opens a modal where they can claim. They can try to claim, but they won't get any rewards.

To Reproduce
Steps to reproduce the behavior:

  1. Setup the UI to run on an eth mainnet fork. Make sure your account is funded with eth.
  2. Supply some eth
  3. Swap your supplied eth for some other asset. I used USDT.
  4. Notice that even before you approve and swap, the claim rewards button is visible on the dashboard (it might be partially hidden behind the swap modal)

I was able to consistently reproduce using these steps. I'm not sure what the swap has to do with it. I also noticed that if I let the app sit on the dashboard for a while, the claim rewards button would intermittently show for a little while, and then disappear.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions