Marko Baricevic
42343ddef2
fix e2e tests
2021-02-10 10:39:25 +01:00
Marko Baricevic
a9c44116de
tests
2021-02-10 10:36:52 +01:00
Marko Baricevic
c1696abb77
Merge branch 'master' into marko/int64-
2021-02-10 09:53:43 +01:00
Tess Rinearson
79ff92f5bb
.golangci: set locale to US for misspell linter ( #6038 )
2021-02-10 09:38:23 +04:00
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="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
e00ffc42d7
store: use a batch instead of individual writes in SaveBlock ( #6018 )
2021-02-09 11:09:02 +04:00
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>
2021-02-08 18:27:15 +01:00
Callum Waters
ee3f34f4ab
light: create provider options struct ( #6064 )
2021-02-08 18:23:31 +01:00
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="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
1608484de8
remove witnesses in order of decreasing index ( #6058 )
2021-02-08 12:34:02 +01:00
Anton Kaliaev
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
b9b55db4e5
light: remove max retry attempts from client and add to provider ( #6054 )
2021-02-05 18:01:34 +01:00
Erik Grinaker
c4c47f2e7a
CODEOWNERS: remove erikgrinaker ( #6057 )
2021-02-05 15:49:01 +01:00
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>
2021-02-05 14:39:55 +01:00
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.
2021-02-05 09:29:26 +00:00
Callum Waters
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
c87001ae0d
ADR-062: update with new P2P core implementation ( #6051 )
2021-02-04 19:54:34 +01:00
Marko Baricevic
798ac145f9
e2e & maverick
2021-02-04 15:16:31 +01:00
Marko Baricevic
fe6a8f72c6
Merge branch 'master' into marko/int64-
2021-02-04 14:29:06 +01:00
Marko Baricevic
e6d95c4ef8
blockchain and node pkgs
2021-02-04 12:17:19 +01:00
Marko Baricevic
f7c42922e1
complete consensus errors
2021-02-04 11:40:53 +01:00
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).
2021-02-04 09:51:03 +00:00
Tess Rinearson
17c511db67
.github/workflows: cleanup yaml for e2e nightlies ( #6049 )
2021-02-04 10:38:46 +01:00
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.
2021-02-03 23:03:02 +00:00
Tess Rinearson
8ea2ac0db7
.github/workflows: fix whitespace in e2e config file ( #6043 )
2021-02-03 17:08:32 +01:00
Marko Baricevic
a854e7f545
evidence migration with fixes to generated mocks
2021-02-03 17:05:42 +01:00
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 >
2021-02-03 16:26:46 +01:00
Marko Baricevic
e77796550a
continue on light client
2021-02-03 12:47:50 +01:00
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.
2021-02-03 06:15:23 +00:00
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
2021-02-02 17:03:06 +00:00
Marko
059364e840
docs: external address ( #6035 )
...
## Description
- add note to recommend setting external address
2021-02-02 16:51:13 +00:00
Erik Grinaker
5f88d6aa44
test/e2e: increase validator tolerances ( #6037 )
2021-02-02 16:41:27 +00:00
Tess Rinearson
b0dfbd1832
.github/workflows: try different e2e nightly test set ( #6036 )
2021-02-02 16:36:52 +01:00
Marko Baricevic
7e7e962d93
rpc, node, mempool and start of ight client
2021-02-02 14:42:20 +01:00
Callum Waters
c7b619188d
light: fix panic with RPC calls to commit and validator when height is nil ( #6026 )
2021-02-02 14:01:39 +01:00
Erik Grinaker
3d01d98f67
test/e2e: increase sign/propose tolerances ( #6033 )
...
E2E tests often fail because validators miss signing or proposing blocks. Often this is because e.g. there's a lot of disruption in the network or it takes a long time to start up all the nodes.
This changes the test criteria to only check for 3 signed/proposed blocks, rather than a fraction of the expected blocks. This should be enough to catch most issues, apart from performance problems causing nodes to miss signing/proposing, but we may want separate tests for those sorts of things.
2021-02-02 12:43:08 +00:00
Tess Rinearson
0b953eb190
Revert "e2e: releases nightly ( #5906 )" ( #6031 )
...
This reverts commit 64961e2267 , to see if it will make the workflow dispatch trigger reappear and fix our Slack notification link.
2021-02-02 11:54:27 +01:00
Callum Waters
90d3f56797
store: fix deadlock in pruning ( #6007 )
2021-02-02 11:36:52 +01:00
Anton Kaliaev
9d1f77369f
goreleaser: downcase archive and binary names ( #6029 )
...
before:
```
Tendermint_0.34.3_darwin_amd64.tar.gz
-rw-r--r-- 0 runner docker 192329 Jan 19 19:30 CHANGELOG.md
-rw-r--r-- 0 runner docker 321 Jan 19 19:30 CHANGELOG_PENDING.md
-rw-r--r-- 0 runner docker 11382 Jan 19 19:30 LICENSE
-rw-r--r-- 0 runner docker 8165 Jan 19 19:30 README.md
-rwxr-xr-x 0 runner docker 23224320 Jan 19 19:30 tendermint
```
after:
```
tendermint_0.34.3_darwin_amd64.tar.gz
-rw-r--r-- 0 runner docker 192329 Jan 19 19:30 CHANGELOG.md
-rw-r--r-- 0 runner docker 321 Jan 19 19:30 CHANGELOG_PENDING.md
-rw-r--r-- 0 runner docker 11382 Jan 19 19:30 LICENSE
-rw-r--r-- 0 runner docker 8165 Jan 19 19:30 README.md
-rwxr-xr-x 0 runner docker 23224320 Jan 19 19:30 tendermint
```
2021-02-02 08:22:56 +00:00
Marko
b2f3e767a7
Merge branch 'master' into marko/int64-
2021-02-01 16:54:32 +00:00
Marko Baricevic
0e477c014d
begin int64 to uint64 migration
2021-02-01 17:23:39 +01:00
Marko
2a2279e010
types: cleanup protobuf.go ( #6023 )
...
## Description
- remove unused functions
- remove a function used in tests.
Closes: #XXX
2021-02-01 12:02:45 +00:00
Anton Kaliaev
1cd9bdb80b
light/provider/http: fix Validators ( #6022 )
...
Closes #6010
2021-02-01 11:32:37 +00:00
Erik Grinaker
fc71882f74
p2p: add tests and fix bugs for NodeAddress and NodeID ( #6021 )
...
This renames `PeerAddress` to `NodeAddress`, moves it and `NodeID` into a separate file `address.go`, adds tests for them, and fixes a bunch of bugs and inconsistencies.
2021-02-01 09:03:41 +00:00
Erik Grinaker
1f39f808e1
p2p: tighten up and test Transport API ( #6020 )
...
This tightens up the new P2P `Transport` API and infrastructure, fixes a bunch of bugs and inconsistencies, and adds tests.
2021-02-01 08:24:31 +00:00
Erik Grinaker
50b8907581
p2p: clean up new Transport infrastructure ( #6017 )
...
This revises the new P2P `Transport` interface and does some preliminary code cleanups and simplifications.
The major change here is to add `Connection.Handshake()` for performing node handshakes (once the stream transport API is implemented, this can be done entirely independent of the transport). This moves most of the handshaking logic into the `Router`, such as prevention of head-of-line blocking, validation of peer's `NodeInfo`, controlling timeouts, and so on. This significantly simplifies transports, completely removes the need for internal goroutines, and shares common logic across all transports. This also allows varying the handshake `NodeInfo` across peers, e.g. to vary `ListenAddr`. Similarly, connection filtering is also moved into the switch/router so that it can be shared between transports.
2021-01-30 10:51:22 +00:00
Aleksandr Bezobchuk
17905cbaa2
sync: move closer to separate file ( #6015 )
...
Closes : #6013
2021-01-29 16:59:15 +00:00
Aleksandr Bezobchuk
60bc071ed5
blockchain v0: skip TestReactor_BadBlockStopsPeer ( #6014 )
...
ref: #6005
2021-01-29 15:47:49 +00:00
Anton Kaliaev
b1646e51e2
test/e2e: enable pprof server to help debugging failures ( #6003 )
2021-01-28 15:21:07 +00:00
Anton Kaliaev
a54f1544f8
.github: rename crashers output (fuzz-nightly-test) ( #5993 )
2021-01-28 19:12:48 +04:00