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

[Feature Request ] Expose an API to get the status of a ClientDeals corresponding to the the state code #3959

Closed
jennijuju opened this issue Sep 22, 2020 · 1 comment · Fixed by #4210
Labels
area/ux Area: UX good first issue Good for newcomers

Comments

@jennijuju
Copy link
Member

jennijuju commented Sep 22, 2020

from Justin Hunter on slack

Can anyone point me to the list of State codes associated with the ClientListDeals method? I see on failed deals I consistently get a State of 26. Would like to be able to map those codes in my application without trying to parse error messages (which will surely change more frequently than codes)

Idea:
include the the status in the ClientDeals?
expose an api for getting status given a code?

@jennijuju jennijuju changed the title [Feature Request ] Easier way to get the status of a ClientDeals corresponding to the the state code [Feature Request ] Expose an API to get the status of a ClientDeals corresponding to the the state code Sep 22, 2020
@jennijuju
Copy link
Member Author

For reference @ribasushi mentioned that lotus-shed misc deal-state <code> implements this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ux Area: UX good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant