Skip to content

[HUMAN App][Frontend] Staking requirement error. #3751

Description

@flopez7

Describe the bug
Logic conflict in the staking validation flow: users are blocked from proceeding when Exchange API keys are invalid, even if their staked balance in the staking contract meets the requirements (checked with backend and is_stake_eligible=true).

To Reproduce

  1. Log in to HUMAN App and add at least 1000HMT and your Exchange API Keys.
  2. Go to your exchange settings and remove the API Keys you've already set.
  3. Wait for the sync period
  4. The user will be blocked. Also, no error message is displayed

Expected behavior
If is_stake_eligible=true, the user should be unlocked regardless of API key errors. If an API error occurs, a toast notification or a descriptive error message should appear explaining that the API keys are invalid, without blocking the entire process

Screenshots

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions