Jack Yeh
527550f372
Update metrics.md ( #5930 )
2021-01-20 08:43:37 +01:00
Marko
64961e2267
e2e: releases nightly ( #5906 )
2021-01-19 21:38:43 +01:00
Tess Rinearson
eff1b16a0c
changelog: update changelog for v0.34.3 ( #5927 )
...
(No changelog pending updates, since we all forgot to update the changelog pending with all these changes 🤡 )
2021-01-19 17:01:59 +00:00
Tess Rinearson
ea77360ecf
.github/workflows: enable manual dispatch for some workflows ( #5929 )
2021-01-19 17:14:00 +01:00
Tess Rinearson
5972105b06
docs: update package-lock.json ( #5928 )
2021-01-19 16:51:50 +01:00
Callum
af723eca8a
use correct source of evidence time
...
Conflicting votes are now sent to the evidence pool to form duplicate vote evidence only once
the height of the evidence is finished and the time of the block finalised.
2021-01-19 16:00:02 +01:00
Aleksandr Bezobchuk
62d7a5d028
blockchain v0: p2p refactor ( #5858 )
2021-01-18 16:35:11 -05:00
Erik Grinaker
96215a06ed
p2p: add prototype peer lifecycle manager ( #5882 )
...
This adds a prototype peer lifecycle manager, `peerManager`, which stores peer data in an internal `peerStore`. The overall idea here is to have methods for peer lifecycle events which exchange a very narrow subset of peer data, and to keep all of the peer metadata (i.e. the `peerInfo` struct) internal, to decouple this from the router and simplify concurrency control. See `peerManager` GoDoc for more information.
The router is still responsible for actually dialing and accepting peer connections, and routing messages across them, but the peer manager is responsible for determining which peers to dial next, preventing multiple connections being established for the same peer (e.g. both inbound and outbound), and making sure we don't dial the same peer several times in parallel. Later it will also track retries and exponential backoff, as well as peer and address quality. It also assumes responsibility for peer updates subscriptions.
It's a bit unclear to me whether we want the peer manager to take on the responsibility of actually dialing and accepting connections as well, or if it should only be tracking peer state for the router while the router is responsible for all transport concerns. Let's revisit this later.
2021-01-18 19:56:13 +01:00
Tess Rinearson
3ef0b90afd
readme: add security mailing list ( #5916 )
...
No one knows we have this mailing list 🙈
2021-01-18 12:05:00 +00:00
dependabot[bot]
d34e7c5b51
build(deps): Bump vuepress-theme-cosmos from 1.0.179 to 1.0.180 in /docs ( #5915 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.179 to 1.0.180.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/cosmos/vuepress-theme-cosmos/commits ">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-01-18 11:22:12 +00:00
Tess Rinearson
d8a2eb95bb
config: fix mispellings ( #5914 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-17 20:26:00 +00:00
Marko
eaa948ab7d
proto: bump gogoproto (1.3.2) ( #5886 )
...
## Description
- bump gogoproto (1.3.2)
- regenerate proto files
Closes: #XXX
2021-01-17 16:23:41 +00:00
Callum Waters
5cbb8263b4
patch concurrency issue with pruning in the light store ( #5910 )
2021-01-17 17:14:14 +01:00
Tess Rinearson
a2bd09253c
.github/codeowners: add alexanderbez ( #5913 )
...
* .github/codeowners: add alexanderbez
* Update .github/CODEOWNERS
Co-authored-by: Marko <marbar3778@yahoo.com >
Co-authored-by: Marko <marbar3778@yahoo.com >
2021-01-15 16:39:21 +00:00
Callum Waters
ca285844ea
light: fix light store deadlock ( #5901 )
2021-01-14 17:22:09 +01:00
dependabot[bot]
74bee8d834
build(deps): Bump google.golang.org/grpc from 1.34.0 to 1.35.0 ( #5902 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.34.0 to 1.35.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/grpc/grpc-go/releases ">google.golang.org/grpc's releases</a>.</em></p>
<blockquote>
<h2>Release 1.35.0</h2>
<h1>Behavior Changes</h1>
<ul>
<li>roundrobin: strip attributes from addresses (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4024 ">#4024</a>)</li>
<li>balancer: set RPC metadata in address attributes, instead of Metadata field (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4041 ">#4041</a>)</li>
</ul>
<h1>New Features</h1>
<ul>
<li>support unix-abstract schema (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4079 ">#4079</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/resec ">@resec</a></li>
</ul>
</li>
<li>xds: implement experimental RouteAction timeout support (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4116 ">#4116</a>)</li>
<li>xds: Implement experimental circuit breaking support. (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4050 ">#4050</a>)</li>
</ul>
<h1>Bug Fixes</h1>
<ul>
<li>xds: <code>server_features</code> should be a child of <code>xds_servers</code> and not a sibling (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4087 ">#4087</a>)</li>
<li>xds: NACK more invalid RDS responses (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4120 ">#4120</a>)</li>
</ul>
<h2>Release 1.34.1</h2>
<ul>
<li>xds client: Updated v3 type for http connection manager (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4137 ">#4137</a>)</li>
<li>lrs: use JSON for locality's String representation (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4135 ">#4135</a>)</li>
<li>eds/lrs: handle nil when LRS is disabled (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4086 ">#4086</a>)</li>
<li>client: fix "unix" scheme handling for some corner cases (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4021 ">#4021</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/grpc/grpc-go/commit/577eb696279ea85069a02c9a4c2defafdab858c5 "><code>577eb69</code></a> Change version to 1.35.0 (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4140 ">#4140</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/fb40d83340e8c3830cc4907c00a1d8a003c6902c "><code>fb40d83</code></a> xds interop: turn on circuit breaking test (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4144 ">#4144</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/083393f287fe61b048da16074ca39bd93cd5e6bc "><code>083393f</code></a> xds/resolver: fix resource deletion (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4143 ">#4143</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/85e55dc558e1ad7f7d4d165480b47bf6efd3c6ff "><code>85e55dc</code></a> interop: update client for xds testing support (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4108 ">#4108</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/6a318bb011c6613d6f1c98eb0b1b28edfe6b7c0d "><code>6a318bb</code></a> xds: add HTTP connection manager max_stream_duration support (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4122 ">#4122</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/0bd76be2bb6b62dba23cef0454c86e97304ac58a "><code>0bd76be</code></a> lrs: use JSON for locality's String representation (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4135 ">#4135</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/ecc9a99b668778a2702fce85b95f9a278f6ace61 "><code>ecc9a99</code></a> interop: remove test.proto clones/variants and use grpc-proto repo instead (#...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/4f80d77fe446b820dfe8dadd1eb8094f950a0128 "><code>4f80d77</code></a> github: enable CodeQL checker (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4134 ">#4134</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/829919d5722373b6ad9bc3fa539b73d5dbb91257 "><code>829919d</code></a> xds client: Updated v3 type for http connection manager (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4137 ">#4137</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/f4a20d2f414ffe9ca43416e6980831bde3140404 "><code>f4a20d2</code></a> xds: NACK more invalid RDS responses (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4120 ">#4120</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/grpc/grpc-go/compare/v1.34.0...v1.35.0 ">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-01-14 15:59:39 +00:00
dependabot[bot]
211bc08217
build(deps): Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 ( #5897 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/stretchr/testify/releases ">github.com/stretchr/testify's releases</a>.</em></p>
<blockquote>
<h2>Minor improvements and bug fixes</h2>
<p>Minor feature improvements and bug fixes</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/stretchr/testify/commit/acba37e5db06f0093b465a7d47822bf13644b66c "><code>acba37e</code></a> Only use repeatability if no repeatability left</li>
<li><a href="https://github.com/stretchr/testify/commit/eb8c41ec07f965071ac51cf2ac45ae1e50b6faed "><code>eb8c41e</code></a> Add more tests to mock package</li>
<li><a href="https://github.com/stretchr/testify/commit/a5830c56d3a29615f93698ad0b1f00206bb03b73 "><code>a5830c5</code></a> Extract method to evaluate closest match</li>
<li><a href="https://github.com/stretchr/testify/commit/1962448488982378ba761489a1d48b22a8283121 "><code>1962448</code></a> Use Repeatability as tie-breaker for closest match</li>
<li><a href="https://github.com/stretchr/testify/commit/92707c0b2d501c60de82176c4aa1cf880abac720 "><code>92707c0</code></a> Fixed the link to not point to assert only</li>
<li><a href="https://github.com/stretchr/testify/commit/05dd0b2b35daf0c6f6ecc1dff3c1c81cdf17a3b2 "><code>05dd0b2</code></a> Updated the readme to point to pkg.dev</li>
<li><a href="https://github.com/stretchr/testify/commit/c26b7f39f88ecc339b622fcbe6531ac5fdccd799 "><code>c26b7f3</code></a> Update assertions.go</li>
<li><a href="https://github.com/stretchr/testify/commit/8fb4b2442e11c5a798920eb5a9c19dbc2603481b "><code>8fb4b24</code></a> [Fix] The most recent changes to golang/protobuf breaks the spew Circular dat...</li>
<li><a href="https://github.com/stretchr/testify/commit/dc8af7208cb2e78de14b80dd5e5b412713b57508 "><code>dc8af72</code></a> add generated code for positive/negative assertion</li>
<li><a href="https://github.com/stretchr/testify/commit/1544508911aa5fdb73c633fab172cd0e161df0d8 "><code>1544508</code></a> add assert positive/negative</li>
<li>Additional commits viewable in <a href="https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 ">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-01-14 10:06:23 +00:00
Tess Rinearson
178d421c77
changelog: update changelogs to reflect changes released in 0.34.2
2021-01-14 10:57:01 +01:00
Callum Waters
bada08c50c
state sync: last consensus params height is not set ( #5889 )
2021-01-12 14:41:16 +01:00
Callum Waters
956b59af87
evidence: buffer evidence from consensus ( #5890 )
2021-01-12 12:50:49 +01:00
Marko
f05788e632
privval: Query validator key ( #5876 )
...
## Description
- Query validator key when a remote signer is used. This is supported gRPC remote signing and filePV only.
Closes : #3009
2021-01-12 10:06:33 +00:00
Callum Waters
5b698ed13b
tx indexer: use different field separator for keys ( #5865 )
2021-01-12 10:55:47 +01:00
dependabot[bot]
1d16e39c0e
build(deps): Bump gaurav-nelson/github-action-markdown-link-check ( #5884 )
...
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases )
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/1.0.11...0fe4911067fa322422f325b002d2038ba5602170 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 14:46:30 +01:00
Tess Rinearson
78e8169750
docs: fix broken redirect links ( #5881 )
2021-01-09 15:05:34 +01:00
Callum Waters
03a6fb2777
state: prune states using an iterator ( #5864 )
2021-01-08 17:05:27 +01:00
Erik Grinaker
c61cd3fd05
p2p: add Router prototype ( #5831 )
...
Early but functional prototype of the new `p2p.Router`, see its GoDoc comment for details on how it works. Expect much of this logic to change and improve as we evolve the new P2P stack.
There is a simple test that sets up an in-memory network of four routers with reactors and passes messages between them, but otherwise no exhaustive tests since this is very much a work-in-progress.
2021-01-08 15:32:11 +00:00
Callum Waters
385ea1db7d
store: use db iterators for pruning and range-based queries ( #5848 )
2021-01-08 13:12:54 +01:00
Erik Grinaker
66ba12d9bc
test/e2e: tolerate up to 2/3 missed signatures for a validator ( #5878 )
...
E2E tests often fail due to fast sync stalls causing the validator to miss signing blocks. This increases the tolerance for missed signatures to 2/3 to allow validators to spend more time starting up.
2021-01-08 11:06:51 +00:00
Marko
09cf0bcb01
privval: add grpc ( #5725 )
...
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2021-01-06 10:49:30 -08:00
Aleksandr Bezobchuk
e986602649
evidence: p2p refactor ( #5747 )
2021-01-06 11:53:18 -05:00
Tess Rinearson
2c95b0b5e0
changelog: update with changes released in 0.34.1 ( #5875 )
2021-01-06 16:56:13 +01:00
Erik Grinaker
a0d4d85375
os: simplify EnsureDir() ( #5871 )
...
#5852 fixed an issue with error propagation in `os.EnsureDir()`. However, this function is basically identical to `os.MkdirAll()`, and can be replaced entirely with a call to it. We keep the function for backwards compatibility.
2021-01-06 15:27:35 +00:00
Aleksandr Bezobchuk
8bf77d9b1a
statesync: do not recover panic on peer updates ( #5869 )
2021-01-06 10:07:10 -05:00
Erik Grinaker
1ccd23ca1d
p2p: fix MConnection inbound traffic statistics and rate limiting ( #5868 )
...
Fixes #5866 . Inbound traffic monitoring (and by extension inbound rate limiting) was inadvertently removed in 660e72a .
2021-01-06 15:38:23 +01:00
dependabot[bot]
47f5650615
build(deps): Bump codecov/codecov-action from v1.2.0 to v1.2.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.2.0 to v1.2.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.2.0...e156083f13aff6830c92fc5faa23505779fbf649 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-06 14:29:56 +01:00
dependabot[bot]
5b17c01e41
build(deps): Bump codecov/codecov-action from v1.1.1 to v1.2.0 ( #5863 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
Co-authored-by: Marko <marbar3778@yahoo.com >
2021-01-05 08:51:21 -08:00
Callum Waters
9b9222f461
store: order-preserving varint key encoding ( #5771 )
2021-01-05 16:53:26 +01:00
Erik Grinaker
0555772d3a
blockchain/v0: stop tickers on poolRoutine exit ( #5860 )
...
Fixes #5841 .
2021-01-05 14:45:24 +00:00
Erik Grinaker
1e1d087494
blockchain/v2: fix missing mutex unlock ( #5862 )
...
Fixes #5843 .
2021-01-05 14:35:20 +00:00
Erik Grinaker
85353d9af5
test/consensus: improve WaitGroup handling in Byzantine tests ( #5861 )
...
Fixes #5845 .
2021-01-05 10:44:03 +00:00
Erik Grinaker
1570d26f84
test/e2e: add conceptual overview ( #5857 )
...
This should be useful to understand the overall purpose and structure of the end-to-end tests.
2021-01-04 17:51:49 +00:00
Aleksandr Bezobchuk
c75dee5a02
state sync: Fix TestSyncer_SyncAny ( #5835 )
2021-01-04 10:31:20 -05:00
Erik Grinaker
17ca6c6c98
test/e2e: disable abci/grpc and blockchain/v2 due to flake ( #5854 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-04 15:19:07 +00:00
Erik Grinaker
46964f62db
p2p: fix IPv6 address handling in new transport API ( #5853 )
...
The old code naïvely concatenated IP and port, which doesn't work for IPv6 addresses where `:` can be part of the IP as well.
2021-01-04 15:05:43 +00:00
Erik Grinaker
9c47b572f7
libs/os: EnsureDir now returns IO errors and checks file type ( #5852 )
...
Fixes #5839 .
2021-01-04 14:30:38 +00:00
Erik Grinaker
1b18d26644
abci/grpc: fix invalid mutex handling in StopForError() ( #5849 )
...
Fixes #5840 .
2021-01-04 13:56:01 +00:00
Erik Grinaker
d39eb74daa
tools/tm-signer-harness: fix listener leak in newTestHarnessListener() ( #5850 )
...
Fixes #5837 .
2021-01-04 13:38:42 +00:00
Erik Grinaker
91bef75f62
p2p: rename PubKeyToID to NodeIDFromPubKey
2021-01-04 11:25:20 +01:00
Erik Grinaker
b4ce1de44a
p2p: rename NodeInfo.DefaultNodeID to NodeID
2021-01-04 11:25:20 +01:00
Erik Grinaker
1b6df6783d
p2p: replace PeerID with NodeID
2021-01-04 11:25:20 +01:00