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

blockchain: proto transition #4637

Merged
merged 80 commits into from
Apr 22, 2020
Merged

Conversation

tac0turtle
Copy link
Contributor

Description

Transition the blockchain reactor(s) to protobuf


For contributor use:

  • 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

tac0turtle and others added 30 commits January 13, 2020 15:54
- adding in buf as a proto tool to help with linting and breakage checking

ref #4288

Signed-off-by: Marko Baricevic <[email protected]>
* tests: bind test servers to 127.0.0.1 (#4322)

* rpc: PR#4320 follow up (#4323)

* rpc: update urls to rpc website

* rpc: check blockMeta is not nil in Commit

Refs #4319

* change protocgen file to use thirdparty

* exclude third_party

* buf.yaml change

Co-authored-by: Erik Grinaker <[email protected]>
Co-authored-by: Anton Kaliaev <[email protected]>
* proto: move mempool to proto

- changes according to moving the mempool reactor to proto

Signed-off-by: Marko Baricevic <[email protected]>
@tac0turtle tac0turtle requested a review from alexanderbez April 7, 2020 07:51
blockchain/v0/reactor.go Show resolved Hide resolved
blockchain/v0/reactor.go Show resolved Hide resolved
blockchain/v0/reactor.go Show resolved Hide resolved
blockchain/v0/reactor.go Show resolved Hide resolved
blockchain/v0/reactor.go Show resolved Hide resolved
blockchain/v0/reactor.go Show resolved Hide resolved
blockchain/v2/io.go Outdated Show resolved Hide resolved
config/config.go Outdated Show resolved Hide resolved
proto/blockchain/msgs.proto Outdated Show resolved Hide resolved
config/toml.go Outdated Show resolved Hide resolved
Copy link
Contributor

@melekes melekes left a comment

Choose a reason for hiding this comment

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

👍

@tac0turtle
Copy link
Contributor Author

tac0turtle commented Apr 10, 2020

TODO

  • Tests for proto util funcs

@fedekunze
Copy link
Contributor

@milosevic FYI I'm writing tests for utils in #4663

@lgtm-com
Copy link

lgtm-com bot commented Apr 13, 2020

This pull request introduces 1 alert when merging 533b5b8 into 8b454b5 - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable

@tac0turtle tac0turtle merged commit 3c9e63f into proto-breakage Apr 22, 2020
@tac0turtle tac0turtle deleted the marko/proto_blockchain branch April 22, 2020 12:56
tac0turtle added a commit that referenced this pull request Jun 5, 2020
Transition the blockchain reactor(s) to protobuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:sync Component: Fast Sync, State Sync T:encoding Type: Amino, ProtoBuf
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants