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

cmd/cli: ETH & LPT unit formatting for pending fees and pending stake #1305

Merged
merged 1 commit into from Jan 18, 2020

Conversation

kyriediculous
Copy link
Contributor

@kyriediculous kyriediculous commented Jan 14, 2020

What does this pull request do? Explain your changes. (required)
This PR attempts to add small improvements to the CLI by adding unit formatting and double checking if streamflow vocabulary is used ubiquitously everywhere.

Specific updates (required)

  • Since pendingFees and pendingStake no longer reverts I removed the need to set this to -1 is the call reverts (empty output)
  • Added eth.FormatUnits to the delegator stats section
  • Renamed the list registered transcoders option to list active transcoders

How did you test each of these updates (required)
ran CLI

Does this pull request close any open issues?
Fixes #1301
Checklist:

  • README and other documentation updated
  • Node runs in OSX and devenv
  • All tests in ./test.sh pass

cmd/livepeer_cli/livepeer_cli.go Outdated Show resolved Hide resolved
cmd/livepeer_cli/wizard_stats.go Show resolved Hide resolved
@kyriediculous kyriediculous force-pushed the nv/cli-fixes branch 2 times, most recently from 919323c to 090a008 Compare January 17, 2020 09:55
@kyriediculous kyriediculous changed the title cmd, eth: CLI fixes cmd/cli: ETH & LPT unit formatting for pending fees and pending stake Jan 17, 2020
Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢

@kyriediculous kyriediculous merged commit b4b77f9 into master Jan 18, 2020
@kyriediculous kyriediculous deleted the nv/cli-fixes branch January 18, 2020 02:28
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.

Add unit formatting to all LPT and ETH balances in CLI
2 participants