forked from tendermint/tendermint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'v0.34.21' into release/v0.34.x
Release v0.34.21
- Loading branch information
Showing
426 changed files
with
48,523 additions
and
2,523 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: Protocol Change Proposal | ||
about: Create a proposal to request a change to the protocol | ||
|
||
--- | ||
|
||
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺ | ||
v ✰ Thanks for opening an issue! ✰ | ||
v Before smashing the submit button please review the template. | ||
v Word of caution: Under-specified proposals may be rejected summarily | ||
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --> | ||
|
||
# Protocol Change Proposal | ||
|
||
## Summary | ||
|
||
<!-- Short, concise description of the proposed change --> | ||
|
||
## Problem Definition | ||
|
||
<!-- Why do we need this change? | ||
What problems may be addressed by introducing this change? | ||
What benefits does Tendermint stand to gain by including this change? | ||
Are there any disadvantages of including this change? --> | ||
|
||
## Proposal | ||
|
||
<!-- Detailed description of requirements of implementation --> | ||
|
||
____ | ||
|
||
#### For Admin Use | ||
|
||
- [ ] Not duplicate issue | ||
- [ ] Appropriate labels applied | ||
- [ ] Appropriate contributors tagged | ||
- [ ] Contributor assigned/self-assigned |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Verify that generated code is up-to-date. | ||
# | ||
# Note that we run these checks regardless whether the input files have | ||
# changed, because generated code can change in response to toolchain updates | ||
# even if no files in the repository are modified. | ||
name: Check generated code | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
check-mocks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.18' | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: "Check generated mocks" | ||
run: | | ||
set -euo pipefail | ||
readonly MOCKERY=2.12.3 # N.B. no leading "v" | ||
curl -sL "https://github.com/vektra/mockery/releases/download/v${MOCKERY}/mockery_${MOCKERY}_Linux_x86_64.tar.gz" | tar -C /usr/local/bin -xzf - | ||
make mockery 2>/dev/null | ||
if ! git diff --stat --exit-code ; then | ||
echo ">> ERROR:" | ||
echo ">>" | ||
echo ">> Generated mocks require update (either Mockery or source files may have changed)." | ||
echo ">> Ensure your tools are up-to-date, re-run 'make mockery' and update this PR." | ||
echo ">>" | ||
exit 1 | ||
fi | ||
check-proto: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.18' | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 1 # we need a .git directory to run git diff | ||
|
||
- name: "Check protobuf generated code" | ||
run: | | ||
set -euo pipefail | ||
# Install buf and gogo tools, so that differences that arise from | ||
# toolchain differences are also caught. | ||
readonly tools="$(mktemp -d)" | ||
export PATH="${PATH}:${tools}/bin" | ||
export GOBIN="${tools}/bin" | ||
go install github.com/bufbuild/buf/cmd/buf | ||
go install github.com/gogo/protobuf/protoc-gen-gogofaster@latest | ||
make proto-gen | ||
if ! git diff --stat --exit-code ; then | ||
echo ">> ERROR:" | ||
echo ">>" | ||
echo ">> Protobuf generated code requires update (either tools or .proto files may have changed)." | ||
echo ">> Ensure your tools are up-to-date, re-run 'make proto-gen' and update this PR." | ||
echo ">>" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.