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

New query commands #2090

Merged
merged 7 commits into from
Jul 23, 2021
Merged

New query commands #2090

merged 7 commits into from
Jul 23, 2021

Conversation

roman-khimov
Copy link
Member

I wanted to add a bit more, but we need this now.

@codecov
Copy link

codecov bot commented Jul 22, 2021

Codecov Report

Merging #2090 (8b0dfe1) into master (14a52c9) will decrease coverage by 0.03%.
The diff coverage is 70.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2090      +/-   ##
==========================================
- Coverage   84.21%   84.17%   -0.04%     
==========================================
  Files         288      288              
  Lines       26911    26988      +77     
==========================================
+ Hits        22662    22717      +55     
- Misses       3019     3032      +13     
- Partials     1230     1239       +9     
Impacted Files Coverage Δ
cli/wallet/validator.go 77.93% <ø> (+1.76%) ⬆️
pkg/rpc/response/result/mpt.go 79.16% <ø> (ø)
cli/query/query.go 76.75% <69.23%> (-12.95%) ⬇️
pkg/rpc/client/rpc.go 85.41% <75.00%> (-0.17%) ⬇️
pkg/rpc/server/server.go 78.19% <100.00%> (ø)
pkg/consensus/consensus.go 72.60% <0.00%> (-0.55%) ⬇️
pkg/core/native/ledger.go 93.96% <0.00%> (+3.44%) ⬆️

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 14a52c9...8b0dfe1. Read the comment docs.

cli/query/query.go Show resolved Hide resolved
cli/query/query.go Show resolved Hide resolved
docs/consensus.md Show resolved Hide resolved
This command has nothing to do with wallets.
People vote for keys, not addresses.
This:
        Voted: null
        Amount : 0
        Block: 0

is better than this:
failed to convert account state from stackitem: invalid stackitem length
C#:
   "result" : {
      "localrootindex" : 11623,
      "validatedrootindex" : 11623
   }

Go:
   "result" : {
      "blockHeight" : 11627,
      "stateHeight" : 11627
   }
@roman-khimov roman-khimov force-pushed the new-query-commands branch 2 times, most recently from 2fd22d7 to 5f82c0d Compare July 22, 2021 18:34
cli/query/query.go Show resolved Hide resolved
cli/query_test.go Outdated Show resolved Hide resolved
@roman-khimov roman-khimov merged commit 6e2eddb into master Jul 23, 2021
@roman-khimov roman-khimov deleted the new-query-commands branch July 23, 2021 07:39
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.

2 participants