Jasmina Malicevic and GitHub
cb9722c2b0
abci: strip mempoolerror from responsechectx ( #8620 )
...
* abci:mempoolError from ResponseCheckTx
* responseCheckTx returns an error if Tendermint decides not to accept an app after CheckTx
*updated spec, upgrading.md and changelog.md
2022-05-26 11:18:27 +02:00
Callum Waters and GitHub
b0ec8a0ea7
mempool: migrate rechecktx to be a consensus parameter ( #8514 )
2022-05-25 23:57:23 +02:00
M. J. Fromberger and GitHub
7da9746a57
Fix protobuf generated code. ( #8545 )
...
* Revert "update protos (#8515 )"
This reverts commit f094fd204a .
It appears that #8515 may have been generated with an out-of-date version of
either buf or the gogo plugin. using the latest versions (buf 1.4.0 and gogo
1.3.2) reverts those changes.
* Add a script to re-generate protos with the latest tools.
This script is just a wrapper for the Make rule, but it runs the build inside a
container with the latest versions of buf and gogo installed. This reduces the
chance that an out-of-date ambient installation on a developer machine will get
us outdated output.
2022-05-13 12:08:21 -07:00
Callum Waters and GitHub
f094fd204a
update protos ( #8515 )
2022-05-13 16:18:24 +02:00
Thane Thomson and GitHub
72bbe64da7
proto: update proto generation to use buf ( #7975 )
...
* Hard-code go_package option for .proto files
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Automatically relocate generated ABCI types after proto-gen
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Skip building gogoproto (i.e. only build our types)
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove unnecessary proto generation scripts
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Upgrade buf config from v1beta1 to v1
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add simple proto generation script
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Replace buf-based protobuf generation with simple protoc-based approach
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove custom buf-based Docker image generation config and Dockerfile
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Adopt Cosmos SDK's approach to Protobuf linting and breakage checking in CI
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Suppress command echo when running proto checks
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix proto-check workflow YAML indentation
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Restore proto-format target
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Replace custom BASH script with make equivalent
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove proto linting/breaking changes CI checks after discussion today
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove dangling reference to CI workflow that no longer exists
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update contributing guidelines relating to protos
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Use buf instead for generating protos
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove unused buf config for gogoprotobuf
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add reminder for if we migrate fully to buf
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Restore protopackage script for #8065
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix permissions on protopackage script
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update contributing guidelines to show building of protos using buf
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix breaking changes check and add disclaimer
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Expand on contributing guidelines for clarity
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Re-remove old proto workflows
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add buf-based proto linting workflow in CI
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Superficially reorder proto targets
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix proto lints
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix GA workflow YAML indentation
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Temporarily use forked version of mlc
Use forked version of markdown-link-check until
https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/126
lands.
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Temporarily disable markdown link checker
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove gogo protos - superseded by version from buf registry
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-03-11 14:10:46 -05:00
Callum Waters
7fb4e04b02
Merge branch 'master' of github.com:tendermint/spec into callum/merge-spec
2022-02-11 14:10:50 +01:00
William Banfield and GitHub
1c34d17240
proto: rebuild the proto files from the spec repository ( #7291 )
...
* proto: rebuild the proto files from the spec repository
* remove proto checks
2021-11-17 00:06:19 +00:00
William Banfield and GitHub
a00de7199f
update proto generation and testing pipelines ( #358 )
...
This pull request aims to make it possible to generate, format, and lint the protos within this repo.
To accomplish that end, the Dockerfile containing common tools for building the tendermint protos has been moved into this repository and several accompanying changes were made to streamline the proto generation process.
2021-11-16 14:34:42 -05:00
Callum Waters and GitHub
68ca65f5d7
pex: remove legacy proto messages ( #7147 )
...
This PR implements the proto changes made in https://github.com/tendermint/spec/pull/352 , removing the legacy messages that were used in the pex reactor.
2021-10-22 12:07:46 +00:00
William Banfield and GitHub
41e681293c
proto: move proto files under the correct directory related to their package name ( #344 )
2021-08-31 17:27:55 -04:00
Marko and GitHub
eaa948ab7d
proto: bump gogoproto (1.3.2) ( #5886 )
...
## Description
- bump gogoproto (1.3.2)
- regenerate proto files
Closes: #XXX
2021-01-17 16:23:41 +00:00
Callum Waters and GitHub
2f5e454892
remove unused version struct ( #5656 )
2020-11-13 13:09:38 +01:00
Erik Grinaker and GitHub
66ed8ec39d
proto: reorganize Protobuf schemas ( #5102 )
...
Reorganizes the Protobuf schemas. It is mostly bikeshedding, so if something is contentious or causes a lot of extra work then I'm fine with reverting. Some Protobuf and Go import paths will change.
* Move `abci/types/types.proto` to `abci/types.proto`.
* Move `crypto/keys/types.proto` and `crypto/merkle/types.proto` to `crypto/keys.proto` and `crypto/proof.proto`.
* Drop the use of `msgs` in filenames, as "message" is a very overloaded term (all Protobuf types are messages, and we also have `message Message`). Use `types.proto` as a catch-all, and otherwise name files by conceptual grouping instead of message kind.
2020-07-08 15:47:01 +00:00
Marko and GitHub
dedf0d2350
proto: folder structure adhere to buf ( #5025 )
2020-06-22 10:00:51 +02:00