gnosis / gnosis/safe-cmm-app-react

Bug: error is displayed when request a withdraw for a strategy with a low funding amount

Open
#115 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

# Description
'No funds can be withdrawn for the given parameters' error is displayed

# To Reproduce:
Steps to reproduce the behavior:
1. Go to Deploy tab
2. Deploy a strategy with a low funding amount
3. Open the Strategies tab
4. Click on the Request Withdraw button

# Expected Behaviour
Withdraw transaction should be called

# Actual Behaviour
'No funds can be withdrawn for the given parameters' error is displayed

# Screenshots/Videos
![no funds](https://user-images.githubusercontent.com/70885163/95861733-87255f80-0d6a-11eb-86dc-c7e55287dcd6.jpg)

# Environment
**Desktop:**
- OS: Win10
- Browser Chrome, FF, Brave
- Version 189412279 - 98816d8fae540d8fa2633bcbc0741dcadd62c4d0

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem through the Deploy and Strategies tabs using a strategy with a low funding amount, then trace the Request Withdraw button's handler and the condition producing the displayed error. Confirm the fix by verifying that a withdraw transaction is called for the low-funding case without showing the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.