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

rpc: detalize submit* RPC validation error #1773

Merged
merged 1 commit into from
Feb 26, 2021
Merged

Conversation

AnnaShaleva
Copy link
Member

These changes do not break the compatibility with the C# node response.

It is useful for the end-user to be aware of the failed validation reason.
Also, the cause will be displayed at the running node log.

@AnnaShaleva AnnaShaleva added the rpc RPC server and client label Feb 25, 2021
@codecov
Copy link

codecov bot commented Feb 25, 2021

Codecov Report

Merging #1773 (2fbbade) into master (492a89e) will decrease coverage by 0.01%.
The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1773      +/-   ##
==========================================
- Coverage   83.52%   83.50%   -0.02%     
==========================================
  Files         271      271              
  Lines       21986    21987       +1     
==========================================
- Hits        18364    18361       -3     
- Misses       2498     2501       +3     
- Partials     1124     1125       +1     
Impacted Files Coverage Δ
pkg/rpc/server/server.go 78.60% <50.00%> (ø)
pkg/rpc/response/errors.go 86.66% <100.00%> (+0.95%) ⬆️
pkg/rpc/client/wsclient.go 81.20% <0.00%> (-1.51%) ⬇️
pkg/services/notary/notary.go 91.37% <0.00%> (-1.02%) ⬇️

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 492a89e...2fbbade. Read the comment docs.

@roman-khimov roman-khimov added this to the v0.94.0 milestone Feb 25, 2021
@AnnaShaleva AnnaShaleva force-pushed the detailed-rpc-error branch 3 times, most recently from 5054d69 to 29e0722 Compare February 25, 2021 11:39
These changes do not break the compatibility with the C# node response.

It is useful for the end-user to be aware of the failed validation reason.
Also, the `cause` will be displayed at the running node log.
@roman-khimov roman-khimov merged commit 50e330a into master Feb 26, 2021
@roman-khimov roman-khimov deleted the detailed-rpc-error branch February 26, 2021 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rpc RPC server and client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants