Skip to content

rpc: replace Amino with new JSON encoder - #4968

Merged
mergify[bot] merged 5 commits into
masterfrom
erik/rpc-json
Jun 8, 2020
Merged

mergify[bot] merged 5 commits into
masterfrom
erik/rpc-json

Conversation

@erikgrinaker

Copy link
Copy Markdown
Contributor

Migrates the rpc package to use new JSON encoder in #4955. Branched off of that PR.

Tests pass, but I haven't done any manual testing beyond that. This should be handled as part of broader 0.34 testing.

@erikgrinaker erikgrinaker added C:rpc Component: JSON RPC, gRPC T:encoding Type: Amino, ProtoBuf R:major PR contains breaking changes that have to wait till a major release is made to be merged labels Jun 5, 2020
@erikgrinaker
erikgrinaker requested a review from tac0turtle June 5, 2020 12:33
@erikgrinaker erikgrinaker self-assigned this Jun 5, 2020
@auto-comment

auto-comment Bot commented Jun 5, 2020

Copy link
Copy Markdown

👋 Thanks for creating a PR!

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Wrote tests
  • Updated CHANGELOG_PENDING.md
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Updated relevant documentation (docs/) and code comments
  • Re-reviewed Files changed in the Github PR explorer
  • Applied Appropriate Labels

Thank you for your contribution to Tendermint! 🚀

@codecov

codecov Bot commented Jun 5, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #4968 into master will increase coverage by 0.09%.
The diff coverage is 42.10%.

@@            Coverage Diff             @@
##           master    #4968      +/-   ##
==========================================
+ Coverage   63.42%   63.52%   +0.09%     
==========================================
  Files         176      176              
  Lines       16509    16498      -11     
==========================================
+ Hits        10471    10480       +9     
+ Misses       5157     5138      -19     
+ Partials      881      880       -1     
Impacted Files Coverage Δ
cmd/tendermint/commands/lite.go 23.07% <ø> (+0.29%) ⬆️
light/rpc/client.go 0.00% <ø> (ø)
rpc/core/events.go 0.00% <ø> (ø)
rpc/core/routes.go 0.00% <ø> (ø)
rpc/jsonrpc/client/decode.go 5.17% <0.00%> (ø)
rpc/jsonrpc/client/http_json_client.go 12.08% <0.00%> (+0.23%) ⬆️
rpc/jsonrpc/client/http_uri_client.go 0.00% <0.00%> (ø)
rpc/jsonrpc/client/encode.go 47.82% <50.00%> (ø)
rpc/jsonrpc/client/ws_client.go 58.00% <50.00%> (+0.29%) ⬆️
crypto/ed25519/ed25519.go 46.00% <100.00%> (+3.44%) ⬆️
... and 6 more

@tac0turtle tac0turtle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉

@melekes melekes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🥇 🐎

Base automatically changed from erik/migrate-json-amino to master June 8, 2020 11:42
@erikgrinaker erikgrinaker added the S:automerge Automatically merge PR when requirements pass label Jun 8, 2020
@mergify
mergify Bot merged commit ba3a2dd into master Jun 8, 2020
@mergify
mergify Bot deleted the erik/rpc-json branch June 8, 2020 12:04
@erikgrinaker erikgrinaker mentioned this pull request Jun 8, 2020
1 of 8 tasks
mergify Bot pushed a commit that referenced this pull request Jun 8, 2020
Uses new JSON encoder in #4955 for all JSON. Branched off of #4968.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C:rpc Component: JSON RPC, gRPC R:major PR contains breaking changes that have to wait till a major release is made to be merged S:automerge Automatically merge PR when requirements pass T:encoding Type: Amino, ProtoBuf

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants