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

chore: Pull changes from upstream master #561

Merged
merged 58 commits into from
Oct 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
c18470a
e2e: use network size in load generator (#7019)
tychoish Sep 28, 2021
b1dfbb8
e2e: generator ensure p2p modes (#7021)
tychoish Sep 28, 2021
8758078
consensus: avoid unbuffered channel in state test (#7025)
tychoish Sep 29, 2021
962caea
Make doc site index default to the latest release (#7023)
Sep 29, 2021
23fe6fd
statesync: ensure test network properly configured (#7026)
tychoish Sep 29, 2021
c9d92f5
.github: remove tessr and bez from codeowners (#7028)
tessr Sep 29, 2021
6a0d9c8
blocksync: fix shutdown deadlock issue (#7030)
williambanfield Sep 30, 2021
7705237
Update default config template to match mapstructure keys. (#7036)
Sep 30, 2021
bdd815e
Align atomic struct field for compatibility in 32-bit ABIs. (#7037)
Sep 30, 2021
177850a
statesync: remove deadlock on init fail (#7029)
williambanfield Sep 30, 2021
243c62c
statesync: improve rare p2p race condition (#7042)
williambanfield Oct 1, 2021
f361ce0
Update Go toolchains to 1.17 in Actions workflows. (#7049)
Oct 4, 2021
6276fdc
ci: mergify support for 0.35 backports (#7050)
tychoish Oct 4, 2021
b30ec89
Add an e2e workflow for the v0.35.x backport branch. (#7048)
Oct 4, 2021
c201e3b
scripts: fix authors script to take a ref (#7051)
williambanfield Oct 4, 2021
cb69ed8
blocksync/v2: remove unsupported reactor (#7046)
tychoish Oct 4, 2021
f5b9c21
consensus: wait until peerUpdates channel is closed to close remainin…
williambanfield Oct 4, 2021
03ad7d6
p2p: delete legacy stack initial pass (#7035)
tychoish Oct 5, 2021
5703ae2
e2e: automatically prune old app snapshots (#7034)
cmwaters Oct 5, 2021
3ea81bf
p2p: remove wdrr queue (#7064)
tychoish Oct 5, 2021
851d2e3
mempool,rpc: add removetx rpc method (#7047)
tychoish Oct 5, 2021
109814c
Clarify decision record for ADR-065. (#7062)
Oct 5, 2021
72aee47
ci: 0.35.x nightly should run from master and checkout the release br…
tychoish Oct 6, 2021
0ef1a12
ci: fix p2p configuration for e2e tests (#7066)
tychoish Oct 6, 2021
e4d6f6d
docs: create separate releases doc (#7040)
cmwaters Oct 6, 2021
e53f92b
build(deps): Bump github.com/adlio/schema from 1.1.13 to 1.1.14 (#7069)
dependabot[bot] Oct 6, 2021
5bf30bb
p2p: cleanup transport interface (#7071)
tychoish Oct 6, 2021
1f438f2
e2e: improve network connectivity (#7077)
tychoish Oct 7, 2021
4ca130d
cli: allow node operator to rollback last state (#7033)
cmwaters Oct 8, 2021
1b5bb53
p2p: cleanup unused arguments (#7079)
tychoish Oct 8, 2021
f2a8f5e
e2e: abci protocol should be consistent across networks (#7078)
tychoish Oct 8, 2021
5940400
p2p: rename pexV2 to pex (#7088)
cmwaters Oct 8, 2021
3646b63
p2p, types: remove legacy NetAddress type (#7084)
tychoish Oct 8, 2021
befd669
e2e: light nodes should use builtin abci app (#7095)
tychoish Oct 9, 2021
ded3100
lint: fix collection of stale errors (#7090)
tychoish Oct 9, 2021
4829595
light: Update links in package docs. (#7099)
Oct 11, 2021
34a3fcd
Revert "abci: change client to use multi-reader mutexes (#6306)" (#7106)
tychoish Oct 12, 2021
d837432
ci: use run-multiple.sh for e2e pr tests (#7111)
tychoish Oct 12, 2021
0524558
refactor: assignment copies lock value (#7108)
lklimek Oct 12, 2021
52ed994
test: cleanup rpc/client and node test fixtures (#7112)
tychoish Oct 12, 2021
4781d04
node: always close database engine (#7113)
tychoish Oct 12, 2021
6538776
build: Fix build-docker to include the full context. (#7114)
Oct 12, 2021
4fe0f26
changelog: add 0.34.14 updates (#7117)
cmwaters Oct 13, 2021
164de91
rpc: move evidence tests to shared fixtures (#7119)
tychoish Oct 13, 2021
36a1acf
internal/proxy: add initial set of abci metrics (#7115)
williambanfield Oct 13, 2021
ff7b0e6
p2p: fix priority queue bytes pending calculation (#7120)
williambanfield Oct 13, 2021
86f0013
rpc: Remove the deprecated gRPC interface to the RPC service (#7121)
Oct 13, 2021
bc1a20d
Revert temporary patch to buf.yaml. (#7122)
Oct 13, 2021
b95c261
rpc: fix typo in broadcast commit (#7124)
zeigo Oct 14, 2021
c3dc7d2
docs: add roadmap to repo (#7107)
cmwaters Oct 15, 2021
006e610
Fix the protobuf generation script. (#7127)
Oct 15, 2021
66a11fe
blocksync: remove v0 folder structure (#7128)
tac0turtle Oct 15, 2021
f4a56f4
p2p: refactor channel description (#7130)
tychoish Oct 15, 2021
0900ea8
p2p: channel shim cleanup (#7129)
tychoish Oct 15, 2021
cbe6ad6
p2p: flatten channel descriptor (#7132)
tychoish Oct 15, 2021
7143f14
p2p: simplify open channel interface (#7133)
tychoish Oct 15, 2021
ca8f004
p2p: remove final shims from p2p package (#7136)
tychoish Oct 15, 2021
12f091f
Merge branch 'master' of github.com:tendermint/tendermint into evan/p…
evan-forbes Oct 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
9 changes: 9 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ pull_request_rules:
backport:
branches:
- v0.34.x
- name: backport patches to v0.35.x branch
conditions:
- base=master
- label=S:backport-to-v0.35.x
actions:
backport:
branches:
- v0.35.x

6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: "1.17"
- uses: actions/[email protected]
- uses: technote-space/get-diff-action@v5
with:
Expand All @@ -69,7 +69,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: "1.17"
- uses: actions/[email protected]
- uses: technote-space/get-diff-action@v5
with:
Expand All @@ -85,7 +85,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: "1.17"
- 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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-nightly-34x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.16'
go-version: '1.17'

- uses: actions/[email protected]
with:
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/e2e-nightly-35x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Runs randomly generated E2E testnets nightly on v0.35.x.

# !! If you change something in this file, you probably want
# to update the e2e-nightly-master workflow as well!

name: e2e-nightly-35x
on:
workflow_dispatch: # allow running workflow manually
schedule:
- cron: '0 2 * * *'

jobs:
e2e-nightly-test:
# Run parallel jobs for the listed testnet groups (must match the
# ./build/generator -g flag)
strategy:
fail-fast: false
matrix:
p2p: ['legacy', 'new', 'hybrid']
group: ['00', '01', '02', '03']
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.17'

- uses: actions/[email protected]
with:
ref: 'v0.35.x'

- name: Build
working-directory: test/e2e
# Run make jobs in parallel, since we can't run steps in parallel.
run: make -j2 docker generator runner tests

- name: Generate testnets
working-directory: test/e2e
# When changing -g, also change the matrix groups above
run: ./build/generator -g 4 -d networks/nightly/${{ matrix.p2p }} -p ${{ matrix.p2p }}

- name: Run ${{ matrix.p2p }} p2p testnets in group ${{ matrix.group }}
working-directory: test/e2e
run: ./run-multiple.sh networks/nightly/${{ matrix.p2p }}/*-group${{ matrix.group }}-*.toml

e2e-nightly-fail-2:
needs: e2e-nightly-test
if: ${{ failure() }}
runs-on: ubuntu-latest
steps:
- name: Notify Slack on failure
uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: tendermint-internal
SLACK_USERNAME: Nightly E2E Tests
SLACK_ICON_EMOJI: ':skull:'
SLACK_COLOR: danger
SLACK_MESSAGE: Nightly E2E tests failed on v0.35.x
SLACK_FOOTER: ''

e2e-nightly-success: # may turn this off once they seem to pass consistently
needs: e2e-nightly-test
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- name: Notify Slack on success
uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: tendermint-internal
SLACK_USERNAME: Nightly E2E Tests
SLACK_ICON_EMOJI: ':white_check_mark:'
SLACK_COLOR: good
SLACK_MESSAGE: Nightly E2E tests passed on v0.35.x
SLACK_FOOTER: ''
15 changes: 7 additions & 8 deletions .github/workflows/e2e-nightly-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@ on:
- cron: '0 2 * * *'

jobs:
e2e-nightly-test-2:
e2e-nightly-test:
# Run parallel jobs for the listed testnet groups (must match the
# ./build/generator -g flag)
strategy:
fail-fast: false
matrix:
p2p: ['legacy', 'new', 'hybrid']
group: ['00', '01', '02', '03']
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.16'
go-version: '1.17'

- uses: actions/[email protected]

Expand All @@ -35,14 +34,14 @@ jobs:
- name: Generate testnets
working-directory: test/e2e
# When changing -g, also change the matrix groups above
run: ./build/generator -g 4 -d networks/nightly/${{ matrix.p2p }} -p ${{ matrix.p2p }}
run: ./build/generator -g 4 -d networks/nightly/

- name: Run ${{ matrix.p2p }} p2p testnets in group ${{ matrix.group }}
- name: Run ${{ matrix.p2p }} p2p testnets
working-directory: test/e2e
run: ./run-multiple.sh networks/nightly/${{ matrix.p2p }}/*-group${{ matrix.group }}-*.toml
run: ./run-multiple.sh networks/nightly/*-group${{ matrix.group }}-*.toml

e2e-nightly-fail-2:
needs: e2e-nightly-test-2
needs: e2e-nightly-test
if: ${{ failure() }}
runs-on: ubuntu-latest
steps:
Expand All @@ -58,7 +57,7 @@ jobs:
SLACK_FOOTER: ''

e2e-nightly-success: # may turn this off once they seem to pass consistently
needs: e2e-nightly-test-2
needs: e2e-nightly-test
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.16'
go-version: '1.17'
- uses: actions/[email protected]
- uses: technote-space/get-diff-action@v5
with:
Expand All @@ -33,10 +33,6 @@ jobs:

- name: Run CI testnet
working-directory: test/e2e
run: ./build/runner -f networks/ci.toml
run: ./run-multiple.sh networks/ci.toml
if: "env.GIT_DIFF != ''"

- name: Emit logs on failure
if: ${{ failure() }}
working-directory: test/e2e
run: ./build/runner -f networks/ci.toml logs
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-nightly.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.16'
go-version: '1.17'

- uses: actions/[email protected]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: golangci/[email protected]
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.38
version: v1.42.1
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: '1.16'
go-version: '1.17'

- name: Build
uses: goreleaser/goreleaser-action@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: "1.17"
- uses: actions/[email protected]
- uses: technote-space/get-diff-action@v5
with:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: "1.17"
- uses: actions/[email protected]
- uses: technote-space/get-diff-action@v5
with:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: "1.17"
- uses: actions/[email protected]
- uses: technote-space/get-diff-action@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ linters:
# - gochecknoinits
# - gocognit
- goconst
- gocritic
# - gocritic
# - gocyclo
# - godox
- gofmt
- goimports
- golint
- revive
- gosec
- gosimple
- govet
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,24 @@ Special thanks to external contributors on this release: @JayT106, @bipulprasad,
- [statesync] [\#6463](https://github.com/tendermint/tendermint/pull/6463) Adds Reverse Sync feature to fetch historical light blocks after state sync in order to verify any evidence (@cmwaters)
- [blocksync] [\#6590](https://github.com/tendermint/tendermint/pull/6590) Update the metrics during blocksync (@JayT106)

## v0.34.14

This release backports the `rollback` feature to allow recovery in the event of an incorrect app hash.

### FEATURES

- [\#6982](https://github.com/tendermint/tendermint/pull/6982) The tendermint binary now has built-in suppport for running the end-to-end test application (with state sync support) (@cmwaters).
- [cli] [#7033](https://github.com/tendermint/tendermint/pull/7033) Add a `rollback` command to rollback to the previous tendermint state. This may be useful in the event of non-determinstic app hash or when reverting an upgrade. @cmwaters

### IMPROVEMENTS

- [\#7103](https://github.com/tendermint/tendermint/pull/7104) Remove IAVL dependency (backport of #6550) (@cmwaters)

### BUG FIXES

- [\#7057](https://github.com/tendermint/tendermint/pull/7057) Import Postgres driver support for the psql indexer (@creachadair).
- [ABCI] [\#7110](https://github.com/tendermint/tendermint/issues/7110) Revert "change client to use multi-reader mutexes (#6873)" (@tychoish).

## v0.34.13

*September 6, 2021*
Expand Down
15 changes: 14 additions & 1 deletion CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,31 @@ Special thanks to external contributors on this release:

- CLI/RPC/Config

- [rpc] Remove the deprecated gRPC interface to the RPC service (@creachadair).

- Apps

- P2P Protocol

- [p2p] \#7035 Remove legacy P2P routing implementation and
associated configuration options (@tychoish)

- Go API

- [blocksync] \#7046 Remove v2 implementation of the blocksync
service and recactor, which was disabled in the previous release
(@tychoish)
- [p2p] \#7064 Remove WDRR queue implementation. (@tychoish)

- Blockchain Protocol

### FEATURES

- [\#6982](https://github.com/tendermint/tendermint/pull/6982) tendermint binary has built-in suppport for running the e2e application (with state sync support) (@cmwaters).
- [cli] [#7033](https://github.com/tendermint/tendermint/pull/7033) Add a `rollback` command to rollback to the previous tendermint state in the event of non-determinstic app hash or reverting an upgrade.
- [mempool, rpc] \#7041 Add removeTx operation to the RPC layer. (@tychoish)

### IMPROVEMENTS

### BUG FIXES

- fix: assignment copies lock value in `BitArray.UnmarshalJSON()` (@lklimek)
Loading