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

Merge in tm0.34.2 #142

Closed
wants to merge 109 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
e0f686c
mempool: fix nil pointer dereference (#5412)
melekes Sep 29, 2020
1a2cc93
config: set statesync.rpc_servers when generating config file (#5433)…
erikgrinaker Oct 1, 2020
6149f21
privval: allow passing options to NewSignerDialerEndpoint (#5434) (#5…
erikgrinaker Oct 1, 2020
52994aa
consensus: check block parts don't exceed maximum block bytes (#5436)
cmwaters Oct 1, 2020
e74176a
privval: fix ping message encoding (#5442)
erikgrinaker Oct 1, 2020
383bc53
changelog: add missing date to v0.33.5 release, fix indentation (#545…
tessr Oct 5, 2020
dac18d7
fix RPC blockresults return (#5459) (#5463)
tac0turtle Oct 7, 2020
7d5d417
evidence: use bytes instead of quantity to limit size (#5449)(#5476)
cmwaters Oct 8, 2020
09982ae
backport block size fixes (#5492)
tac0turtle Oct 13, 2020
bd1f43d
changelog: prepare changelog for RC5 (#5494)
tessr Oct 13, 2020
b3238cd
statesync: check all necessary heights when adding snapshot to pool (…
erikgrinaker Oct 16, 2020
6f908eb
crypto: add in secp256k1 support (#5500)
tac0turtle Oct 15, 2020
29ca7de
abci/grpc: return async responses in order (#5520) (#5531)
erikgrinaker Oct 20, 2020
79d535d
blockchain/v2: fix "panic: duplicate block enqueued by processor" (#5…
melekes Oct 20, 2020
020edbc
blockchain/v2: fix panic: processed height X+1 but expected height X …
melekes Oct 20, 2020
7c17fa1
consensus: open target WAL as read/write during autorepair (#5536) (#…
erikgrinaker Oct 21, 2020
3822ab9
simplify commit and validators rpc calls (#5393)
cmwaters Sep 25, 2020
c374fc0
cli: light home dir should default to where the full node default is …
cmwaters Sep 25, 2020
406dd74
light: cross-check the very first header (#5429)
melekes Oct 9, 2020
55ff694
light/rpc: fix ABCIQuery (#5375)
melekes Oct 12, 2020
0f3b49a
ci: docker remove circleci and add github action (#5551)
tac0turtle Oct 22, 2020
41ab199
blockchain/v1: add noBlockResponse handling (#5401)
tac0turtle Sep 28, 2020
1b733ea
fix a few typos (#5402)
QuantumExplorer Sep 25, 2020
a58454e
test: add end-to-end testing framework (#5435)
erikgrinaker Oct 5, 2020
64b0f5b
test: add basic end-to-end test cases (#5450)
erikgrinaker Oct 5, 2020
4b3565f
test: add GitHub action for end-to-end tests (#5452)
erikgrinaker Oct 5, 2020
0003aab
circleci: remove Gitian reproducible_builds job (#5462)
erikgrinaker Oct 5, 2020
4462e26
test: remove P2P tests (#5453)
erikgrinaker Oct 5, 2020
3a4a6ae
test: add E2E test for node peering (#5465)
erikgrinaker Oct 6, 2020
e7568f9
ci/e2e: avoid running job when no go files are touched (#5471)
tac0turtle Oct 6, 2020
f9bfb40
test/e2e: add random testnet generator (#5479)
erikgrinaker Oct 9, 2020
cbdc089
build(deps): Bump actions/cache from v2.1.1 to v2.1.2 (#5487)
dependabot[bot] Oct 12, 2020
bf42bf0
build(deps): Bump golangci/golangci-lint-action from v2.2.0 to v2.2.1…
dependabot[bot] Oct 12, 2020
51b8d3a
build(deps): Bump technote-space/get-diff-action from v3 to v4 (#5485)
dependabot[bot] Oct 12, 2020
9379bc9
fix lint failures with 1.31 (#5489)
tac0turtle Oct 13, 2020
5e6e631
github: add nightly E2E testnet action (#5480)
erikgrinaker Oct 14, 2020
8ebb39e
github: rename e2e jobs (#5502)
erikgrinaker Oct 14, 2020
4e2e487
test: clean up E2E test volumes using a container (#5509)
erikgrinaker Oct 15, 2020
6473f01
test: tweak E2E tests for nightly runs (#5512)
erikgrinaker Oct 16, 2020
b17b28a
test: enable ABCI gRPC client in E2E testnets (#5521)
erikgrinaker Oct 20, 2020
d113da0
test: enable blockchain v2 in E2E testnet generator (#5533)
erikgrinaker Oct 20, 2020
2f72f55
test: enable restart/kill perturbations in E2E tests (#5537)
erikgrinaker Oct 20, 2020
8b4f0db
test: run remaining E2E testnets on run-multiple.sh failure (#5557)
erikgrinaker Oct 22, 2020
75879ab
test: tag E2E Docker resources and autoremove them (#5558)
erikgrinaker Oct 23, 2020
dacbfbe
test: add evidence e2e tests (#5488)
cmwaters Oct 23, 2020
a0f0868
github: only notify nightly E2E failures once (#5559)
erikgrinaker Oct 22, 2020
c4f1b2d
block: fix max commit sig size (#5567)
cmwaters Oct 26, 2020
ceea64e
test: fix handling of start height in generated E2E testnets (#5563)
erikgrinaker Oct 26, 2020
f093d58
test: disable E2E misbehaviors due to bugs (#5569)
erikgrinaker Oct 26, 2020
8329d12
abci/grpc: fix ordering of sync/async callback combinations (#5556)
erikgrinaker Oct 23, 2020
4947333
evidence: don't gossip consensus evidence too soon (#5528)
cmwaters Oct 20, 2020
5cfe035
evidence: don't send committed evidence and ignore inbound evidence t…
cmwaters Oct 27, 2020
96dda88
ci: add goreleaser (#5527)
tac0turtle Oct 27, 2020
0022779
ci: tests (#5577)
tac0turtle Oct 27, 2020
ad4f54e
privval: make response values non nullable (#5583)
tac0turtle Oct 28, 2020
70a62be
light: run detector for sequentially validating light client (#5538) …
melekes Nov 2, 2020
9d354c8
evidence: structs can independently form abci evidence (#5610)
cmwaters Nov 4, 2020
59f3f63
test: fix various E2E test issues (#5576)
erikgrinaker Oct 27, 2020
25fafb3
blockchain/v2: make the removal of an already removed peer a noop (#5…
melekes Oct 30, 2020
54a0940
blockchain/v2: remove peers from the processor (#5607)
melekes Nov 5, 2020
a2addec
build(deps): Bump github.com/golang/protobuf from 1.4.2 to 1.4.3 (#5506)
dependabot[bot] Oct 15, 2020
0bdc76a
build(deps): Bump github.com/spf13/cobra from 1.0.0 to 1.1.0 (#5505)
dependabot[bot] Oct 16, 2020
0a4432b
build(deps): Bump github.com/prometheus/client_golang from 1.7.1 to 1…
dependabot[bot] Oct 16, 2020
de0bef5
build(deps): Bump github.com/spf13/cobra from 1.1.0 to 1.1.1 (#5526)
dependabot[bot] Oct 19, 2020
9c32ad4
build(deps): Bump google.golang.org/grpc from 1.32.0 to 1.33.1 (#5544)
dependabot[bot] Oct 21, 2020
24d1347
build(deps): Bump google.golang.org/grpc from 1.33.1 to 1.33.2 (#5635)
dependabot[bot] Nov 10, 2020
a447c50
build(deps): Bump github.com/tendermint/tm-db from 0.6.2 to 0.6.3
dependabot[bot] Nov 11, 2020
637d762
go.mod: upgrade iavl and deps (#5657)
erikgrinaker Nov 13, 2020
9567477
privval: increase read/write timeout to 5s and calculate ping interva…
melekes Nov 16, 2020
047b5ea
bump go version to 1.15 (#5639) (#5667)
melekes Nov 16, 2020
e0cf94f
privval: reset pingTimer to avoid sending unnecessary pings (#5642) (…
melekes Nov 16, 2020
53463b3
rpc: fix content-type header
alexanderbez Nov 16, 2020
26493bb
test/e2e: fix secp failures (#5649)
tac0turtle Nov 16, 2020
bea7673
e2e: use ed25519 for secretConn (remote signer) (#5678)
tac0turtle Nov 17, 2020
23bc2f6
ci: remove `add-path` (#5674)
tac0turtle Nov 17, 2020
4ed0fdd
light: make fraction parts uint64, ensuring that it is always positiv…
cmwaters Nov 17, 2020
b5b53bf
upgrading: update 0.34 instructions with updates since RC4 (#5686)
tessr Nov 18, 2020
b80d4d8
relase_notes: add release notes for v0.34.0
tessr Nov 19, 2020
0f29b16
fix docker deployment (#5647)
tac0turtle Nov 11, 2020
386a44c
.goreleaser: don't build linux/arm
tessr Nov 19, 2020
fe94825
changelog: squash changelog from 0.34 RCs into one (#5687)
tessr Nov 19, 2020
182fa32
.goreleaser: build for windows
tessr Nov 19, 2020
15b7037
crypto: fix infinite recursion in Secp256k1 string formatting (#5707)…
erikgrinaker Nov 24, 2020
6c0d407
ci: build for 32 bit, libs: fix overflow (#5700)
tac0turtle Nov 26, 2020
ce144a1
test: fix TestByzantinePrevoteEquivocation flake (#5710)
erikgrinaker Nov 24, 2020
0d9606e
reactors: omit incoming message bytes from reactor logs (#5743)
tessr Dec 3, 2020
2a4fd38
blockchain/v1: omit incoming message bytes from log
tessr Dec 3, 2020
7f06371
evidence: omit bytes field (#5745)
melekes Dec 4, 2020
9f0d71e
cmd: hyphen-case cli v0.34.1 (#5786)
cmwaters Dec 11, 2020
dc90cf6
mempool: introduce KeepInvalidTxsInCache config option (#5813)
melekes Dec 21, 2020
dc101f2
mempool: disable MaxBatchBytes (#5800)
melekes Dec 21, 2020
829a9e1
docs/tutorials: specify 0.34 (#5823)
tac0turtle Dec 21, 2020
b1328db
modify Reactor priorities (#5826) (#5830)
melekes Dec 23, 2020
17ce2cc
CHANGELOG: prepare 0.34.1-rc1 (#5832)
tessr Dec 23, 2020
13833cb
p2p: fix MConnection inbound traffic statistics and rate limiting (#5…
erikgrinaker Jan 6, 2021
2924d41
changelog: update changelog for v0.34.1 (#5872)
tessr Jan 6, 2021
4246000
tools/tm-signer-harness: fix listener leak in newTestHarnessListener(…
erikgrinaker Jan 4, 2021
c2b5f8b
abci/grpc: fix invalid mutex handling in StopForError() (#5849)
erikgrinaker Jan 4, 2021
fca7c64
libs/os: EnsureDir now returns IO errors and checks file type (#5852)
erikgrinaker Jan 4, 2021
15eed81
test/consensus: improve WaitGroup handling in Byzantine tests (#5861)
erikgrinaker Jan 5, 2021
2eba380
blockchain/v2: fix missing mutex unlock (#5862)
erikgrinaker Jan 5, 2021
3185bb8
blockchain/v0: stop tickers on poolRoutine exit (#5860)
erikgrinaker Jan 5, 2021
5d63765
os: simplify EnsureDir() (#5871)
erikgrinaker Jan 6, 2021
ad552b2
evidence: buffer evidence from consensus (#5890)
cmwaters Jan 12, 2021
cf3a720
state sync: correctly set last consensus params height (#5889)
cmwaters Jan 12, 2021
23c8a7a
changelog: prepare 0.34.2 release (#5894)
tessr Jan 12, 2021
6a7a431
remove misbehaviors from e2e generator (#5629)
cmwaters Nov 6, 2020
bdbe4a7
test/e2e: disable abci/grpc and blockchain/v2 due to flake (#5854)
erikgrinaker Jan 4, 2021
d60fa07
Merge remote-tracking branch 'tendermint-orig/v0.34.x' into ismail/up…
liamsi Jan 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ coverage:
precision: 2
round: down
range: "70...100"
github_checks:
annotations: false

status:
project:
default:
threshold: 1%
patch: on
changes: off

github_checks:
annotations: false

comment:
layout: "diff, files"
behavior: default
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.15"
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand All @@ -66,7 +66,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.15"
go-version: "^1.15.4"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand All @@ -78,10 +78,6 @@ jobs:
with:
name: "${{ github.sha }}-${{ matrix.part }}"
if: env.GIT_DIFF
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: test & coverage report creation
run: |
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 8m -race -coverprofile=${{ matrix.part }}profile.out -covermode=atomic
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Build & Push
# Build & Push rebuilds the tendermint docker image on every push to master and creation of tags
# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags
on:
pull_request:
push:
branches:
- master
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
- "v[0-9]+.[0-9]+.[0-9]+-rc*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: "^1.15.4"
- uses: actions/checkout@master
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=tendermint/tendermint
VERSION=noop
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/}
elif [[ $GITHUB_REF == refs/heads/* ]]; then
VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
if [ "${{ github.event.repository.default_branch }}" = "$VERSION" ]; then
VERSION=latest
fi
fi
TAGS="${DOCKER_IMAGE}:${VERSION}"
if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
TAGS="$TAGS,${DOCKER_IMAGE}:${VERSION}"
fi
echo ::set-output name=tags::${TAGS}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build Tendermint
run: |
make build-linux && cp build/tendermint DOCKER/tendermint

- name: Publish to Docker Hub
uses: docker/build-push-action@v2
with:
context: ./DOCKER
file: ./DOCKER/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep.outputs.tags }}
2 changes: 1 addition & 1 deletion .github/workflows/e2e-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.15'
go-version: '^1.15.4'

- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.15'
go-version: '^1.15.4'
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
**/**.go
go.mod
go.sum
- uses: golangci/[email protected].0
- uses: golangci/[email protected].1
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.31
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Release"

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-go@v2
with:
go-version: '^1.15.4'

- run: echo https://github.com/tendermint/tendermint/blob/${GITHUB_REF#refs/tags/}/CHANGELOG.md#${GITHUB_REF#refs/tags/} > ../release_notes.md

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --release-notes=../release_notes.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64 changes: 35 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,43 +1,49 @@
*.bak
*.iml
*.log
*.swo
*.swp
*/.glide
*/vendor
.DS_Store
*.swo
.bak
.idea/
.revision
*.bak
.DS_Store
build/*
rpc/test/.tendermint
.tendermint
.tendermint-lite
.terraform
remote_dump
.revision
vendor
.vagrant
.vendor-new/
.vscode/
abci-cli
addrbook.json
artifacts/*
build/*
test/e2e/build
test/maverick/maverick
test/e2e/networks/*/
test/p2p/data/
test/logs
coverage.txt
docs/.vuepress/dist
docs/_build
docs/dist
docs/.vuepress/dist
*.log
abci-cli
docs/node_modules/
index.html.md
libs/pubsub/query/fuzz_test/output
profile\.out
remote_dump
rpc/test/.tendermint
scripts/cutWALUntil/cutWALUntil

scripts/wal2json/wal2json
scripts/cutWALUntil/cutWALUntil

.idea/
*.iml

.vscode/

libs/pubsub/query/fuzz_test/output
shunit2

.tendermint-lite
addrbook.json

*/vendor
.vendor-new/
*/.glide
.terraform
terraform.tfstate
terraform.tfstate.backup
terraform.tfstate.d
test/e2e/build
test/e2e/networks/*/
test/logs
test/maverick/maverick
test/p2p/data/
vendor

profile\.out
28 changes: 28 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
project_name: Tendermint

env:
# Require use of Go modules.
- GO111MODULE=on

builds:
- id: "Tendermint"
main: ./cmd/tendermint/main.go
ldflags:
- -s -w -X github.com/tendermint/tendermint/version.TMCoreSemVer={{ .Version }}
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm
- arm64

checksum:
name_template: SHA256SUMS-{{.Version}}.txt
algorithm: sha256

release:
name_template: "{{.Version}} (WARNING: BETA SOFTWARE)"
Loading