Aleksandr Bezobchuk and GitHub
4b94ca8308
Merge branch 'master' into bez/p2p-refactor-blockchain-v0-reactor
2021-01-14 09:04:08 -05:00
dea48ca7e0
Update blockchain/v0/reactor.go
...
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2021-01-14 09:03:19 -05:00
dependabot[bot] and GitHub
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
Aleksandr Bezobchuk
630307096b
blockchain v0: test updates
2021-01-13 12:22:21 -05:00
Aleksandr Bezobchuk
dd15fbd502
blockchain v0: test updates
2021-01-13 12:21:34 -05:00
Aleksandr Bezobchuk
de2ee57b16
blockchain v0: test updates
2021-01-13 12:20:16 -05:00
Aleksandr Bezobchuk
0ffbafac0a
blockchain v0: test updates
2021-01-13 10:46:30 -05:00
Aleksandr Bezobchuk
5dd1da9ebf
blockchain v0: move to constant
2021-01-13 10:37:18 -05:00
c5a126fe9b
Update blockchain/v0/reactor_test.go
...
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2021-01-13 10:30:12 -05:00
Aleksandr Bezobchuk and GitHub
dffc29a5b2
Merge branch 'master' into bez/p2p-refactor-blockchain-v0-reactor
2021-01-12 09:10:01 -05:00
Aleksandr Bezobchuk
143fa93d76
blockchain v0: lint++
2021-01-12 08:57:49 -05:00
Aleksandr Bezobchuk
2201204418
blockchain v0: no-op on empty peer IDs
2021-01-12 08:56:08 -05:00
Callum Waters and GitHub
bada08c50c
state sync: last consensus params height is not set ( #5889 )
2021-01-12 14:41:16 +01:00
Callum Waters and GitHub
956b59af87
evidence: buffer evidence from consensus ( #5890 )
2021-01-12 12:50:49 +01:00
Marko and GitHub
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 and GitHub
5b698ed13b
tx indexer: use different field separator for keys ( #5865 )
2021-01-12 10:55:47 +01:00
Aleksandr Bezobchuk
7aff59cd86
blockchain v0: fix test assertion
2021-01-11 16:23:19 -05:00
Aleksandr Bezobchuk
a7c624eb2d
blockchain v0: lint++
2021-01-11 14:59:03 -05:00
Aleksandr Bezobchuk
22536ba3cf
blockchain v0: decrease max block height
2021-01-11 14:37:04 -05:00
Aleksandr Bezobchuk
0b36cc01e1
node: lint++
2021-01-11 14:21:46 -05:00
Aleksandr Bezobchuk
1f88c2a31c
blockchain v0: attempt test fix
2021-01-11 13:42:03 -05:00
Aleksandr Bezobchuk
4a596bfd72
blockchain v0: lint++
2021-01-11 12:21:15 -05:00
Aleksandr Bezobchuk
96bc96aa40
blockchain v0: start/stop real reactor (when v0)
2021-01-11 11:54:04 -05:00
Aleksandr Bezobchuk and GitHub
2e49deba49
Merge branch 'master' into bez/p2p-refactor-blockchain-v0-reactor
2021-01-11 11:22:54 -05:00
Aleksandr Bezobchuk
67c5516810
blockchain v0: bump test timeout
2021-01-11 10:59:30 -05:00
Aleksandr Bezobchuk
4b09bf9695
blockchain v0: bump test timeout
2021-01-11 10:19:25 -05:00
Aleksandr Bezobchuk
728c1366cc
blockchain v0: remove select clause
2021-01-11 09:36:22 -05:00
Aleksandr Bezobchuk
42049faed6
node: update bootstrapping for blockchain reactors
2021-01-11 09:36:06 -05:00
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 and GitHub
78e8169750
docs: fix broken redirect links ( #5881 )
2021-01-09 15:05:34 +01:00
Aleksandr Bezobchuk
95b08bb775
blockchain v0: add poolWG and refactor pool routines
2021-01-08 14:20:34 -05:00
Callum Waters and GitHub
03a6fb2777
state: prune states using an iterator ( #5864 )
2021-01-08 17:05:27 +01:00
Erik Grinaker and GitHub
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
Aleksandr Bezobchuk
3ac6a6921e
blockchain v0: add TestReactor_AbruptDisconnect
2021-01-08 10:26:23 -05:00
Aleksandr Bezobchuk
1fcc3973a0
blockchain v0: update tests
2021-01-08 09:32:17 -05:00
Aleksandr Bezobchuk
31fac447a4
blockchain v0: rename tests
2021-01-08 08:38:37 -05:00
Aleksandr Bezobchuk
88fa8fe348
blockchain v0: update TestBadBlockStopsPeer
2021-01-08 08:38:12 -05:00
Callum Waters and GitHub
385ea1db7d
store: use db iterators for pruning and range-based queries ( #5848 )
2021-01-08 13:12:54 +01:00
Erik Grinaker and GitHub
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
Aleksandr Bezobchuk
9039b6cd05
blockchain v0: fix faux router
2021-01-06 19:14:03 -05:00
09cf0bcb01
privval: add grpc ( #5725 )
...
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2021-01-06 10:49:30 -08:00
Aleksandr Bezobchuk
bd42353ee5
blockchain v0: refactor TestNoBlockResponse
2021-01-06 13:33:13 -05:00
Aleksandr Bezobchuk
1463bc0be6
blockchain v0: reactor updates
2021-01-06 13:28:05 -05:00
Aleksandr Bezobchuk
f021c7df4d
Merge branch 'master' into bez/p2p-refactor-blockchain-v0-reactor
2021-01-06 11:55:34 -05:00
Aleksandr Bezobchuk and GitHub
e986602649
evidence: p2p refactor ( #5747 )
2021-01-06 11:53:18 -05:00
Tess Rinearson and GitHub
2c95b0b5e0
changelog: update with changes released in 0.34.1 ( #5875 )
2021-01-06 16:56:13 +01:00
Erik Grinaker and GitHub
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
85569ebb60
blockchain v0: remove BroadcastStatusRequest
2021-01-06 10:25:35 -05:00
Aleksandr Bezobchuk
952cfaa174
blockchain v0: cleanup
2021-01-06 10:15:35 -05:00