-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: cli: Reset miner/ask lists in interactive deal 'miner' step #8155
fix: cli: Reset miner/ask lists in interactive deal 'miner' step #8155
Conversation
Bug fixed : if hitting return instead of filling with a valid value, the CLI crashed (line 796) Change return err by continue to ask a valid value again
Bug fixed : if hitting return instead of filling with a valid value, the CLI crashed (line 796) Change return err by continue to ask a valid value again
Commit to fix lint reported errors during tests on CircleCI (remove blank lines x2)
Commit to fix lint reported errors during tests on CircleCI (remove trailling whitespace)
Clear the list of miner addresses and successfull get-asked before asking for new ones Previous behavior : if get-ask failed for miner(s), the faulty miner will be retried each time, so you have to stop the command and start again to change this faulty miner (instead of removing from the list on the new attempt)
…king for new ones Previous behavior : if get-ask failed for miner(s), the faulty miner will be retried each time, so you have to stop the command and start again to change this faulty miner (instead of removing from the list on the new attempt)
Codecov Report
@@ Coverage Diff @@
## master #8155 +/- ##
==========================================
- Coverage 39.39% 39.35% -0.04%
==========================================
Files 666 666
Lines 72466 72469 +3
==========================================
- Hits 28546 28522 -24
- Misses 38995 39014 +19
- Partials 4925 4933 +8
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Related Issues
Fixes #8095
Proposed Changes
Clear the list of miners addresses set on the first attempt, because without clearing the list, on the next attempt, faulty miner is always in the list, so error is throw again.
Also, clear the list of all successfull get-ask before asking new addresses, because :