Skip to content

Blocked on rebalance page due to 'Insufficient balance' error when clicking 'Add' after pressing 'Max' #278

@antoncoding

Description

@antoncoding

User Feedback

  1. I'm in the rebalance page
  2. I press max to rebalance to another market
  3. Blocked when I click "add"

Screenshot

Insufficient balance error on rebalance page

Observed Behavior:

  • After selecting "Max" to rebalance funds to another market and clicking "Add", a blocking error message appears: "Insufficient balance. You don't have enough balance to perform this action."

Expected Behavior:

  • Should allow rebalance if sufficient funds are available, or provide clearer feedback on the actual available balance.

Possible Cause:

  • The 'Max' button may not be calculating available balance correctly for the rebalance.

Steps to Reproduce:

  1. Go to the rebalance page.
  2. Click 'Max' for a market.
  3. Attempt to rebalance to another market.
  4. Click 'Add'.
  5. Observe the error popup.

Please investigate and fix the logic for 'Max' selection and balance verification during rebalance actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguser feedbackGeneral feedback, doesn't have to be specific

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions