Skip to content

Commit

Permalink
tools: clone proto files from spec (#6976)
Browse files Browse the repository at this point in the history
## Description

clone proto files from spec in order to have them in a single location

closes tendermint/spec#343
  • Loading branch information
tac0turtle committed Oct 18, 2021
1 parent ca8f004 commit 19ec4a5
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 993 deletions.
1 change: 1 addition & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Special thanks to external contributors on this release:
- [rpc] Remove the deprecated gRPC interface to the RPC service (@creachadair).

- Apps
- [proto/tendermint] \#6976 Remove core protobuf files in favor of only housing them in the [tendermint/spec](https://github.com/tendermint/spec) repository.

- P2P Protocol

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ We use [Protocol Buffers](https://developers.google.com/protocol-buffers) along

For linting, checking breaking changes and generating proto stubs, we use [buf](https://buf.build/). If you would like to run linting and check if the changes you have made are breaking then you will need to have docker running locally. Then the linting cmd will be `make proto-lint` and the breaking changes check will be `make proto-check-breaking`.

We use [Docker](https://www.docker.com/) to generate the protobuf stubs. To generate the stubs yourself, make sure docker is running then run `make proto-gen`.
We use [Docker](https://www.docker.com/) to generate the protobuf stubs. To generate the stubs yourself, make sure docker is running then run `make proto-gen`. This command uses the spec repo to get the necessary protobuf files for generating the go code. If you are modifying the proto files manually for changes in the core data structures, you will need to clone them into the go repo and comment out lines 22-37 of the file `./scripts/protocgen.sh`.

### Visual Studio Code

Expand Down
2 changes: 1 addition & 1 deletion abci/types/types.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

369 changes: 0 additions & 369 deletions proto/tendermint/abci/types.proto

This file was deleted.

0 comments on commit 19ec4a5

Please sign in to comment.