Bipul Prasad and GitHub
90c290ac52
rpc: standardize error codes ( #6019 )
2021-02-18 17:54:02 +01:00
Anton Kaliaev and GitHub
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}
```
2021-02-18 16:32:00 +04:00
Anton Kaliaev and GitHub
a48c6bdf5e
.github: [jepsen] fix directory name ( #6138 )
...
```
bash: line 0: cd: tendermint: No such file or directory
```
2021-02-18 16:10:52 +04:00
Anton Kaliaev and GitHub
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.
```
2021-02-18 13:18:55 +04:00
Anton Kaliaev and GitHub
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
```
2021-02-18 13:01:57 +04:00
Anton Kaliaev and GitHub
07cf71146c
.github: [jepsen] use working-directory instead of 'cd' ( #6135 )
2021-02-18 12:17:45 +04:00
Anton Kaliaev and GitHub
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
```
2021-02-18 11:29:54 +04:00
Anton Kaliaev and GitHub
9f697db54f
.github: Jepsen workflow - initial version ( #6123 )
2021-02-18 10:45:40 +04:00
Aleksandr Bezobchuk and GitHub
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
2021-02-18 05:21:15 +00:00
Aleksandr Bezobchuk and GitHub
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
2021-02-17 17:03:11 +00:00
Erik Grinaker and GitHub
b6be889b97
node: feature flag for legacy p2p support ( #6056 )
2021-02-16 11:57:16 -05:00
Aleksandr Bezobchuk and GitHub
16bbe8c862
consensus: p2p refactor ( #5969 )
2021-02-16 11:02:52 -05:00
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 >
2021-02-15 16:15:36 +00:00
Marko and GitHub
809a5e876c
docs/tutorials: fix proto file names ( #6112 )
...
## Description
Fix protobuf file names
2021-02-15 13:51:58 +00:00
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>
2021-02-15 11:08:07 +00:00
Tess Rinearson and GitHub
df0b868415
changelog: update 0.34.3 changelog with details on security vuln ( #6108 )
...
Closes #6095 .
2021-02-15 11:03:06 +04:00
195916fa32
backports: mergify ( #6107 )
...
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com >
2021-02-12 14:06:28 +00:00
Tess Rinearson and GitHub
3e6f9329c1
changelog: update to reflect v0.34.4 release ( #6105 )
2021-02-12 11:05:47 +01:00
2d57043aa4
tooling: remove tools/Makefile ( #6102 )
...
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com >
2021-02-12 09:34:33 +00:00
Callum Waters and GitHub
c8a661091d
CHANGELOG_PENDING: update changelog for changes to American spelling ( #6100 )
2021-02-11 22:54:05 +01:00
Callum Waters and GitHub
d4b04776bd
e2e: disconnect maverick ( #6099 )
2021-02-11 15:09:57 -05:00
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>
2021-02-11 20:07:23 +01:00
Callum Waters and GitHub
f8bacae0c7
blockchain/v2: internalize behavior package ( #6094 )
2021-02-11 19:32:11 +01:00
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 >
2021-02-11 19:20:24 +01:00
Callum Waters and GitHub
162f67cf26
correct spelling to US english ( #6077 )
2021-02-11 18:59:18 +01:00
Callum Waters and GitHub
059d42866c
.github: remove erik as reviewer from dependapot ( #6076 )
2021-02-10 17:01:45 +01:00
Tess Rinearson and GitHub
79ff92f5bb
.golangci: set locale to US for misspell linter ( #6038 )
2021-02-10 09:38:23 +04:00
dependabot[bot] and GitHub
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="https://github.com/tendermint/tm-db/commit/6f9a08cd4522fb13d8df69b1694587d5015114fc "><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="https://github.com/tendermint/tm-db/commit/4de5f6b9a4e77d67c485d4ba06fb2678eeaaa438 "><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="https://github.com/tendermint/tm-db/commit/9f5cde003a14934f6ddfced47a5a9f2c799d171e "><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="https://github.com/tendermint/tm-db/commit/c606a78361a2f20323cb49c009871f720fb0faea "><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="https://github.com/tendermint/tm-db/commit/0438145e16ac82a4ebfc7459c109723849708acc "><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="https://github.com/tendermint/tm-db/commit/f2b292dfc2fe4750a6e9cdbd05e7b03069d63424 "><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="https://github.com/tendermint/tm-db/commit/3157a928986298875ca48e6d5f77132a32dfb1f0 "><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 />
[](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>
2021-02-09 13:04:44 +00:00
githubsands and GitHub
e00ffc42d7
store: use a batch instead of individual writes in SaveBlock ( #6018 )
2021-02-09 11:09:02 +04:00
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>
2021-02-08 18:27:15 +01:00
Callum Waters and GitHub
ee3f34f4ab
light: create provider options struct ( #6064 )
2021-02-08 18:23:31 +01:00
dependabot[bot] and GitHub
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="https://github.com/webpack/watchpack/commit/f1b5e2da2d5dfd46f99b9b405c97b9d6441687d5 "><code>f1b5e2d</code></a> 2.1.1</li>
<li><a href="https://github.com/webpack/watchpack/commit/cbfc11a8d7681ae5f5abd7150753395190b622ed "><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="https://github.com/webpack/watchpack/commit/7684df0846f8a69babae7961857ce55210ca2a25 "><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 />
[](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>
2021-02-08 17:02:53 +00:00
Callum Waters and GitHub
1608484de8
remove witnesses in order of decreasing index ( #6058 )
2021-02-08 12:34:02 +01:00
Anton Kaliaev and GitHub
aaf8987257
.github: use job ID (not step ID) inside if condition ( #6060 )
...
https://stackoverflow.com/a/66073112/820520
2021-02-07 10:13:11 +04:00
Callum Waters and GitHub
b9b55db4e5
light: remove max retry attempts from client and add to provider ( #6054 )
2021-02-05 18:01:34 +01:00
Erik Grinaker and GitHub
c4c47f2e7a
CODEOWNERS: remove erikgrinaker ( #6057 )
2021-02-05 15:49:01 +01:00
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>
2021-02-05 14:39:55 +01:00
Marko and GitHub
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.
2021-02-05 09:29:26 +00:00
Callum Waters and GitHub
78a05d3b9e
check block store base is non negative before sending block meta or commits ( #6042 )
2021-02-04 21:33:29 +01:00
Erik Grinaker and GitHub
c87001ae0d
ADR-062: update with new P2P core implementation ( #6051 )
2021-02-04 19:54:34 +01:00
Tess Rinearson and GitHub
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).
2021-02-04 09:51:03 +00:00
Tess Rinearson and GitHub
17c511db67
.github/workflows: cleanup yaml for e2e nightlies ( #6049 )
2021-02-04 10:38:46 +01:00
Erik Grinaker and GitHub
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.
2021-02-03 23:03:02 +00:00
Tess Rinearson and GitHub
8ea2ac0db7
.github/workflows: fix whitespace in e2e config file ( #6043 )
2021-02-03 17:08:32 +01:00
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 >
2021-02-03 16:26:46 +01:00
Erik Grinaker and GitHub
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.
2021-02-03 06:15:23 +00:00
Marko and GitHub
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
2021-02-02 17:03:06 +00:00
Marko and GitHub
059364e840
docs: external address ( #6035 )
...
## Description
- add note to recommend setting external address
2021-02-02 16:51:13 +00:00
Erik Grinaker and GitHub
5f88d6aa44
test/e2e: increase validator tolerances ( #6037 )
2021-02-02 16:41:27 +00:00
Tess Rinearson and GitHub
b0dfbd1832
.github/workflows: try different e2e nightly test set ( #6036 )
2021-02-02 16:36:52 +01:00