Skip to content
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

Beneficiary change CLI improvements #3350

Merged
merged 4 commits into from
May 5, 2021
Merged

Beneficiary change CLI improvements #3350

merged 4 commits into from
May 5, 2021

Conversation

tomasmik
Copy link
Contributor

@tomasmik tomasmik commented May 3, 2021

Closes: #3344
Closes: #3300

  • Allow to get current beneficiary change status using CLI
  • Better beneficiary change command handling
  • Cleanup any old pending change requests (which are already completed)

@tomasmik tomasmik self-assigned this May 3, 2021
@tomasmik tomasmik force-pushed the beneficiary-change branch 3 times, most recently from 637fc9c to 289befc Compare May 3, 2021 12:18
@codecov-commenter
Copy link

Codecov Report

Merging #3350 (e565d47) into master (905a6e2) will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3350      +/-   ##
==========================================
- Coverage   43.67%   43.62%   -0.05%     
==========================================
  Files         320      320              
  Lines       14032    14032              
==========================================
- Hits         6129     6122       -7     
- Misses       7181     7187       +6     
- Partials      722      723       +1     
Impacted Files Coverage Δ
tequilapi/endpoints/sse_handler.go 66.95% <0.00%> (-4.35%) ⬇️
requests/dialer_swarm.go 79.56% <0.00%> (-2.16%) ⬇️
core/discovery/discovery.go 61.81% <0.00%> (-1.82%) ⬇️
nat/traversal/pinger.go 74.03% <0.00%> (+1.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 905a6e2...e565d47. Read the comment docs.

@tomasmik tomasmik requested a review from alvatar May 4, 2021 06:38
* CLI now relies on status keeper to track beneficiary change
* Status keeper now cleans any pending statuses once requested so that apps like web-ui dont block
  * Before if you submited the request to change your beneficiary and exited from node the request would hang forever. Not it's cleaned up the next time you try to get it if the beneficiary actually changed.
@tomasmik tomasmik merged commit d2a84c0 into master May 5, 2021
@tomasmik tomasmik deleted the beneficiary-change branch May 5, 2021 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot change beneficiary Provider already has settlement in progress
4 participants