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

go/oasis-node/cmd/stake: Make list command's verbose output consistent #3016

Merged
merged 3 commits into from
Jun 16, 2020

Conversation

tjanez
Copy link
Member

@tjanez tjanez commented Jun 15, 2020

Change oasis-node stake list --verbose CLI command's output to not list all accounts' information as a single-line JSON string but rather output each account's JSON string on a separate line.

This is consistent with the verbose outputs of the oasis-node registry entity list and oasis-node registry node list CLI commands.

@tjanez tjanez added c:breaking/consensus Category: breaking consensus changes c:staking Category: staking c:cli Category: command line interface labels Jun 15, 2020
@tjanez tjanez self-assigned this Jun 15, 2020
@tjanez tjanez force-pushed the tjanez/stake-cli-make-list-verbose-consistent branch 2 times, most recently from 9bfa05d to 18b14e6 Compare June 16, 2020 09:09
@tjanez tjanez changed the base branch from tjanez/cli-convert-entity-id-to-staking-address to master June 16, 2020 09:09
@tjanez tjanez force-pushed the tjanez/stake-cli-make-list-verbose-consistent branch from 18b14e6 to 1a47abc Compare June 16, 2020 09:10
Change 'oasis-node stake list --verbose' CLI command's output to not list
all accounts' information as a single-line JSON string but rather output
each account's JSON string on a separate line.

This is consistent with the verbose outputs of the
'oasis-node registry entity list' and 'oasis-node registry node list'
CLI commands.
@tjanez tjanez force-pushed the tjanez/stake-cli-make-list-verbose-consistent branch from 1a47abc to d069a4a Compare June 16, 2020 10:27
@codecov
Copy link

codecov bot commented Jun 16, 2020

Codecov Report

Merging #3016 into master will increase coverage by 0.25%.
The diff coverage is 64.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3016      +/-   ##
==========================================
+ Coverage   68.38%   68.64%   +0.25%     
==========================================
  Files         366      366              
  Lines       36037    36039       +2     
==========================================
+ Hits        24644    24738      +94     
+ Misses       8238     8147      -91     
+ Partials     3155     3154       -1     
Impacted Files Coverage Δ
go/oasis-node/cmd/stake/stake.go 72.80% <61.53%> (+1.25%) ⬆️
go/oasis-node/cmd/stake/account.go 57.44% <100.00%> (ø)
go/consensus/tendermint/abci/state/state.go 61.53% <0.00%> (-7.70%) ⬇️
go/consensus/tendermint/roothash/roothash.go 63.87% <0.00%> (-4.63%) ⬇️
.../consensus/tendermint/apps/epochtime_mock/state.go 78.72% <0.00%> (-4.26%) ⬇️
go/worker/common/p2p/p2p.go 61.71% <0.00%> (-3.61%) ⬇️
go/roothash/api/commitment/pool.go 69.94% <0.00%> (-2.81%) ⬇️
go/worker/compute/txnscheduler/committee/node.go 61.26% <0.00%> (-2.11%) ⬇️
...consensus/tendermint/apps/scheduler/state/state.go 71.15% <0.00%> (-1.93%) ⬇️
...consensus/tendermint/apps/roothash/transactions.go 61.32% <0.00%> (-1.89%) ⬇️
... and 31 more

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 a86d5e9...d069a4a. Read the comment docs.

@tjanez tjanez merged commit c905cce into master Jun 16, 2020
@tjanez tjanez deleted the tjanez/stake-cli-make-list-verbose-consistent branch June 16, 2020 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:breaking/consensus Category: breaking consensus changes c:cli Category: command line interface c:staking Category: staking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants