Bipul Prasad
90c290ac52
rpc: standardize error codes ( #6019 )
4 years ago
Anton Kaliaev
54a14cfeed
.github: [jepsen] source .bashrc ( #6139 )
fixes https://github.com/tendermint/tendermint/runs/1926771645
```
ERROR [2021-02-18 12:16:30,492] main - jepsen.cli Oh jeez, I'm sorry,
Jepsen broke. Here's why:
clojure.lang.ExceptionInfo: throw+: {:dir "/", :private-key-path nil,
:password "root", :username "root", :type :jepsen.control/session-error,
:port 22, :strict-host-key-checking false, :host nil, :sudo nil, :dummy
false, :message "Error opening SSH session. Verify username, password,
and node hostnames are correct.", :session nil}
```
4 years ago
Anton Kaliaev
a48c6bdf5e
.github: [jepsen] fix directory name ( #6138 )
```
bash: line 0: cd: tendermint: No such file or directory
```
4 years ago
Anton Kaliaev
27b05d6b39
.github: [jepsen] cd inside the container, not outside ( #6137 )
fixes https://github.com/tendermint/tendermint/runs/1925580432
```
No :main namespace specified in project.clj.
```
4 years ago
Anton Kaliaev
6cb4b5d8ad
.github: [jepsen] use "bash -c" to execute lein run cmd ( #6136 )
Fixes https://github.com/tendermint/tendermint/runs/1925329781
```
OCI runtime exec failed: exec failed: container_linux.go:370: starting
container process caused: exec: "lein run test --nemesis none --workload
cas-register --concurrency 10 --tendermint-url
https://github.com/melekes/katas/releases/download/0.2.0/tendermint.tar.gz
--merkleeyes-url
https://github.com/melekes/katas/releases/download/0.2.0/merkleeyes_0.1.7.tar.gz ":
stat lein run test --nemesis none --workload cas-register --concurrency
10 --tendermint-url
https://github.com/melekes/katas/releases/download/0.2.0/tendermint.tar.gz
--merkleeyes-url
https://github.com/melekes/katas/releases/download/0.2.0/merkleeyes_0.1.7.tar.gz :
no such file or directory: unknown
```
4 years ago
Anton Kaliaev
07cf71146c
.github: [jepsen] use working-directory instead of 'cd' ( #6135 )
4 years ago
Anton Kaliaev
df0bf4b0ee
.github: [jepsen] fix inputs and remove TTY from docker ( #6134 )
fixes https://github.com/tendermint/tendermint/runs/1924860805
```
Run docker exec -it jepsen-control 'cd tendermint && lein run test
--nemesis --workload ' the input device is not a TTY
```
4 years ago
Anton Kaliaev
9f697db54f
.github: Jepsen workflow - initial version ( #6123 )
4 years ago
Aleksandr Bezobchuk
bc3e3d134e
tests: Fix TestByzantinePrevoteEquivocation ( #6132 )
Missed setting the buffer size on the subscription. Note, this doesn't really "fix" this test (a la ref: https://github.com/tendermint/tendermint/pull/5710 ).
However, I spent a good chunk of time looking at this test with many logs and I'm pretty sure this is mainly due to the fact that none of the nodes get the conflicting vote in time.
closes : #6127
4 years ago
Aleksandr Bezobchuk
5b52f87789
ABCI: Fix ReCheckTx for Socket Client ( #6124 )
Fixes the race condition between a callback being set and called during ReCheckTx. Note, I do not see equivalent logic in the gRPC client (anymore) as #5439 suggests, so only the socket client was updated.
closes : #5439
4 years ago
Erik Grinaker
b6be889b97
node: feature flag for legacy p2p support ( #6056 )
4 years ago
Aleksandr Bezobchuk
16bbe8c862
consensus: p2p refactor ( #5969 )
4 years ago
Marko
10b9fb9f21
adr: batch verification ( #6008 )
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
4 years ago
Marko
809a5e876c
docs/tutorials: fix proto file names ( #6112 )
## Description
Fix protobuf file names
4 years ago
dependabot[bot]
670b27fe3c
build(deps): Bump golangci/golangci-lint-action from v2.3.0 to v2.4.0 ( #6111 )
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from v2.3.0 to v2.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.3.0...544d2efb307b3f205f34886f2787046abe7fb26e )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Tess Rinearson
df0b868415
changelog: update 0.34.3 changelog with details on security vuln ( #6108 )
Closes #6095 .
4 years ago
Marko
195916fa32
backports: mergify ( #6107 )
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com>
4 years ago
Tess Rinearson
3e6f9329c1
changelog: update to reflect v0.34.4 release ( #6105 )
4 years ago
Marko
2d57043aa4
tooling: remove tools/Makefile ( #6102 )
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com>
4 years ago
Callum Waters
c8a661091d
CHANGELOG_PENDING: update changelog for changes to American spelling ( #6100 )
4 years ago
Callum Waters
d4b04776bd
e2e: disconnect maverick ( #6099 )
4 years ago
dependabot[bot]
a9bad33bac
build(deps): Bump github.com/spf13/cobra from 1.1.2 to 1.1.3 ( #6098 )
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.2...v1.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Callum Waters
f8bacae0c7
blockchain/v2: internalize behavior package ( #6094 )
4 years ago
dependabot[bot]
42650a6a65
build(deps): Bump github.com/spf13/cobra from 1.1.1 to 1.1.2 ( #6075 )
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
4 years ago
Callum Waters
162f67cf26
correct spelling to US english ( #6077 )
4 years ago
Callum Waters
059d42866c
.github: remove erik as reviewer from dependapot ( #6076 )
4 years ago
Tess Rinearson
79ff92f5bb
.golangci: set locale to US for misspell linter ( #6038 )
4 years ago
dependabot[bot]
26fd15800d
build(deps): Bump github.com/tendermint/tm-db from 0.6.3 to 0.6.4 ( #6073 )
Bumps [github.com/tendermint/tm-db](https://github.com/tendermint/tm-db ) from 0.6.3 to 0.6.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tendermint/tm-db/releases ">github.com/tendermint/tm-db's releases</a>.</em></p>
<blockquote>
<h2>v0.6.4</h2>
<p><a href="https://github.com/tendermint/tm-db/blob/v0.6.4/CHANGELOG.md#064 ">https://github.com/tendermint/tm-db/blob/v0.6.4/CHANGELOG.md#064 </a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tendermint/tm-db/blob/master/CHANGELOG.md ">github.com/tendermint/tm-db's changelog</a>.</em></p>
<blockquote>
<h2>0.6.4</h2>
<p><strong>2021-02-09</strong></p>
<p>Bump protobuf to 1.3.2 and grpc to 1.35.0.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6f9a08cd45
"><code>6f9a08c</code></a> update changelog for v0.6.4 (<a href="https://github-redirect.dependabot.com/tendermint/tm-db/issues/150 ">#150</a>)</li>
<li><a href="4de5f6b9a4
"><code>4de5f6b</code></a> CODEOWNERS: remove erikgrinaker (<a href="https://github-redirect.dependabot.com/tendermint/tm-db/issues/148 ">#148</a>)</li>
<li><a href="9f5cde003a
"><code>9f5cde0</code></a> build(deps): bump google.golang.org/grpc from 1.33.2 to 1.35.0 (<a href="https://github-redirect.dependabot.com/tendermint/tm-db/issues/143 ">#143</a>)</li>
<li><a href="c606a78361
"><code>c606a78</code></a> build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (<a href="https://github-redirect.dependabot.com/tendermint/tm-db/issues/142 ">#142</a>)</li>
<li><a href="0438145e16
"><code>0438145</code></a> build(deps): bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 (<a href="https://github-redirect.dependabot.com/tendermint/tm-db/issues/140 ">#140</a>)</li>
<li><a href="f2b292dfc2
"><code>f2b292d</code></a> testing: docker deployment (<a href="https://github-redirect.dependabot.com/tendermint/tm-db/issues/144 ">#144</a>)</li>
<li><a href="3157a92898
"><code>3157a92</code></a> changelog: update with 0.5.2 release (<a href="https://github-redirect.dependabot.com/tendermint/tm-db/issues/138 ">#138</a>)</li>
<li>See full diff in <a href="https://github.com/tendermint/tm-db/compare/v0.6.3...v0.6.4 ">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/tendermint/tm-db&package-manager=go_modules&previous-version=0.6.3&new-version=0.6.4 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
4 years ago
githubsands
e00ffc42d7
store: use a batch instead of individual writes in SaveBlock ( #6018 )
4 years ago
dependabot[bot]
38c5d28f87
build(deps): Bump JamesIves/github-pages-deploy-action ( #6062 )
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action ) from 3.7.1 to 4.0.0.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases )
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/3.7.1...049a95c516cd5723d8cfde79dc7a79fcdcbd6c97 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Callum Waters
ee3f34f4ab
light: create provider options struct ( #6064 )
4 years ago
dependabot[bot]
02b6712379
build(deps-dev): Bump watchpack from 2.1.0 to 2.1.1 in /docs ( #6063 )
Bumps [watchpack](https://github.com/webpack/watchpack ) from 2.1.0 to 2.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/webpack/watchpack/releases ">watchpack's releases</a>.</em></p>
<blockquote>
<h2>v2.1.1</h2>
<h1>Bugfix</h1>
<ul>
<li>fix warnings with ENOENT when symlinks are resolved by watchpack</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f1b5e2da2d
"><code>f1b5e2d</code></a> 2.1.1</li>
<li><a href="cbfc11a8d7
"><code>cbfc11a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/webpack/watchpack/issues/188 ">#188</a> from Aghassi/fix/enoent-throwing</li>
<li><a href="7684df0846
"><code>7684df0</code></a> fix: adds ENOENT for non windows errors</li>
<li>See full diff in <a href="https://github.com/webpack/watchpack/compare/v2.1.0...v2.1.1 ">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=watchpack&package-manager=npm_and_yarn&previous-version=2.1.0&new-version=2.1.1 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
4 years ago
Callum Waters
1608484de8
remove witnesses in order of decreasing index ( #6058 )
4 years ago
Anton Kaliaev
aaf8987257
.github: use job ID (not step ID) inside if condition ( #6060 )
https://stackoverflow.com/a/66073112/820520
4 years ago
Callum Waters
b9b55db4e5
light: remove max retry attempts from client and add to provider ( #6054 )
4 years ago
Erik Grinaker
c4c47f2e7a
CODEOWNERS: remove erikgrinaker ( #6057 )
4 years ago
dependabot[bot]
8dd715a028
build(deps): Bump actions/cache from v2.1.3 to v2.1.4 ( #6055 )
Bumps [actions/cache](https://github.com/actions/cache ) from v2.1.3 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.3...26968a09c0ea4f3e233fdddbafd1166051a095f6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Marko
5fd0a3e9e4
maverick: reduce some duplication ( #6052 )
## Description
- Reduce duplication in messages and metrics.
- merge WAL interfaces. Meant to push the developer to make changes in both places.
4 years ago
Callum Waters
78a05d3b9e
check block store base is non negative before sending block meta or commits ( #6042 )
4 years ago
Erik Grinaker
c87001ae0d
ADR-062: update with new P2P core implementation ( #6051 )
4 years ago
Tess Rinearson
740008e32b
.github: clean up PR template ( #6050 )
I got tired of seeing the literal phrase "Closes #XXX" left in PR bodies.
Also, this template isn't usually viewed as rendered markdown, so I've removed the markdown formatting and the "Description" heading (which usually gets deleted anyways).
4 years ago
Tess Rinearson
17c511db67
.github/workflows: cleanup yaml for e2e nightlies ( #6049 )
4 years ago
Erik Grinaker
9b6d6a3ad0
p2p: tighten up Router and add tests ( #6044 )
This cleans up the `Router` code and adds a bunch of tests. These sorts of systems are a real pain to test, since they have a bunch of asynchronous goroutines living their own lives, so the test coverage is decent but not fantastic. Luckily we've been able to move all of the complex peer management and transport logic outside of the router, as synchronous components that are much easier to test, so the core router logic is fairly small and simple.
This also provides some initial test tooling in `p2p/p2ptest` that automatically sets up in-memory networks and channels for use in integration tests. It also includes channel-oriented test asserters in `p2p/p2ptest/require.go`, but these have primarily been written for router testing and should probably be adapted or extended for reactor testing.
4 years ago
Tess Rinearson
8ea2ac0db7
.github/workflows: fix whitespace in e2e config file ( #6043 )
4 years ago
Tess Rinearson
91e1f3548a
.github/workflows: separate e2e workflows for 0.34.x and master ( #6041 )
Co-authored-by: Erik Grinaker <erik@interchain.berlin>
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
Erik Grinaker
2aad26e2f1
p2p: tighten up and test PeerManager ( #6034 )
This tightens up the `PeerManager` and related code, adds a ton of tests, and fixes a bunch of inconsistencies and bugs.
4 years ago
Marko
fd597dc726
docs: reword configuration ( #6039 )
## Description
changes requested in https://github.com/tendermint/tendermint/pull/6035 but the bot merged the PR prior to applying them
4 years ago
Marko
059364e840
docs: external address ( #6035 )
## Description
- add note to recommend setting external address
4 years ago
Erik Grinaker
5f88d6aa44
test/e2e: increase validator tolerances ( #6037 )
4 years ago
Tess Rinearson
b0dfbd1832
.github/workflows: try different e2e nightly test set ( #6036 )
4 years ago