Frojdi Dymylja
9ecfcc93a6
fix: jsonrpc url parsing and dial function ( #6264 )
...
This PR fixes how the jsonrpc parses the URL, and how the dial function connects to the RPC.
Closes: https://github.com/tendermint/tendermint/issues/6260
2021-03-29 09:24:52 +00:00
Callum Waters
63f6c26072
update tm command from node to start ( #6283 )
2021-03-29 11:13:24 +02:00
dependabot[bot]
d988cd6101
build(deps): Bump github.com/minio/highwayhash from 1.0.1 to 1.0.2 ( #6280 )
...
Bumps [github.com/minio/highwayhash](https://github.com/minio/highwayhash ) from 1.0.1 to 1.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/minio/highwayhash/releases ">github.com/minio/highwayhash's releases</a>.</em></p>
<blockquote>
<h2>Version v1.0.2</h2>
<h2>Changelog</h2>
<h3>Fixed</h3>
<p>Issue <a href="https://github-redirect.dependabot.com/minio/highwayhash/issues/17 ">#17</a> - on arm64 (on Go 1.16) wrong hash values got computed due to incorrectly naming asm constants like regular Go functions. This probably confused the linker and caused the arm64 implementation to compute incorrect hash values. Fixed by 08ce0b4</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/minio/highwayhash/commit/08ce0b4fa7932a018438133f1b632e1c674d4107 "><code>08ce0b4</code></a> Fix ARM64 assembly (<a href="https://github-redirect.dependabot.com/minio/highwayhash/issues/19 ">#19</a>)</li>
<li><a href="https://github.com/minio/highwayhash/commit/5311fe963f6b47d7b5206ec3fbdc21d7a398ada8 "><code>5311fe9</code></a> disable arm64 assembler and update CI to Go 1.16 (<a href="https://github-redirect.dependabot.com/minio/highwayhash/issues/18 ">#18</a>)</li>
<li>See full diff in <a href="https://github.com/minio/highwayhash/compare/v1.0.1...v1.0.2 ">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-03-26 19:53:56 +00:00
dependabot[bot]
ca080b5a7f
build(deps): Bump google.golang.org/grpc from 1.36.0 to 1.36.1 ( #6281 )
2021-03-26 15:43:30 -04:00
Sam Kleinman
0124593a61
fix: avoid race with a deeper copy ( #6285 )
2021-03-26 15:15:45 -04:00
dependabot[bot]
19a375aaab
build(deps): Bump vuepress-theme-cosmos from 1.0.180 to 1.0.181 in /docs ( #6266 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.180 to 1.0.181.
<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-03-26 13:39:58 +00:00
Aleksandr Bezobchuk
b5e4147e5a
p2p: metrics ( #6278 )
2021-03-26 09:01:41 -04:00
Aleksandr Bezobchuk
a554005136
p2p: revised router message scheduling ( #6126 )
2021-03-25 16:58:46 -04:00
Sam Kleinman
2ceb816721
test infra: make memory network test buffers configurable ( #6275 )
2021-03-25 16:19:11 -04:00
Sam Kleinman
3f9066b290
logging: shorten precommit log message ( #6270 )
...
This is an attempt to clean up the logging message as requested in #6269 .
2021-03-25 16:26:56 +00:00
Callum Waters
7d53cb232c
e2e: fix perturbation of seed nodes ( #6272 )
2021-03-25 15:50:27 +01:00
Aleksandr Bezobchuk
1d671a147f
github: add @tychoish to code owners ( #6273 )
2021-03-25 14:16:26 +00:00
Aleksandr Bezobchuk
d43a79ddf6
state: cleanup block indexing logs and null ( #6263 )
2021-03-22 13:25:42 -04:00
Aleksandr Bezobchuk
003f394512
rpc: index block events to support block event queries ( #6226 )
2021-03-22 11:47:35 -04:00
Sam Kleinman
99c73dd3c1
refactor blockchain/v0 tests to use p2ptest ( #6256 )
2021-03-19 16:40:43 -04:00
dependabot[bot]
206479f1ec
build(deps): Bump github.com/prometheus/client_golang ( #6258 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.9.0...v1.10.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-19 15:56:56 +00:00
dependabot[bot]
7d68a56f32
build(deps): Bump github.com/golang/protobuf from 1.4.3 to 1.5.1 ( #6254 )
...
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf ) from 1.4.3 to 1.5.1.
- [Release notes](https://github.com/golang/protobuf/releases )
- [Commits](https://github.com/golang/protobuf/compare/v1.4.3...v1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-19 14:52:22 +01:00
Callum Waters
6f6083dae3
linter: fix nolintlint warnings ( #6257 )
2021-03-19 10:59:14 +01:00
Callum Waters
dd84867e2b
bump linter version to 1.38 ( #6253 )
2021-03-18 11:31:20 +01:00
Callum Waters
9f7051d38a
node: implement tendermint modes ( #6241 )
...
Co-authored-by: dongsam <dongsamb@gmail.com >
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
2021-03-18 11:17:53 +01:00
Sam Kleinman
5c547137f6
fix: make p2p evidence_pending test not timing dependent ( #6252 )
2021-03-17 16:03:56 -04:00
Sam Kleinman
c52de487e7
test: refactor mempool reactor to use new p2ptest infrastructure ( #6250 )
2021-03-17 14:36:56 -04:00
Sam Kleinman
acbe3f6570
P2P: Evidence Reactor Test Refactor ( #6238 )
2021-03-17 11:01:04 -04:00
Sam Kleinman
c553c0cf20
cleanup consensus test ( #6246 )
2021-03-17 10:39:58 -04:00
Anton Kaliaev
fa51b652e8
.github: remove myself from CODEOWNERS ( #6248 )
2021-03-17 15:52:56 +04:00
dependabot[bot]
b00962ed57
build(deps): Bump codecov/codecov-action from v1.2.2 to v1.3.1 ( #6247 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.2.2 to v1.3.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.2...fcebab03f26c7530a22baa63f06b3e0515f0c7cd )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 11:39:37 +00:00
Marko
efd2fde474
privval: add ctx to privval interface ( #6240 )
...
## Description
- Add `context.Context` to Privval interface
This pr does not introduce context into our custom privval connection protocol because this will be removed in the next release. When this pr is released.
2021-03-16 14:41:03 +00:00
Callum Waters
fa781e6bb7
e2e: fix light client generator ( #6236 )
2021-03-15 13:04:33 +01:00
Marko
6ffdf181f2
crypto: ed25519 & sr25519 batch verification ( #6120 )
...
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
2021-03-15 10:58:49 +00:00
Callum Waters
bf8cce83db
use error.Is to check for nondeterminstic vote error type ( #6237 )
2021-03-15 11:02:54 +01:00
dependabot[bot]
799f87b55b
build(deps): Bump codecov/codecov-action from v1.2.1 to v1.2.2 ( #6231 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.2.1 to v1.2.2.
- [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.1...1f8f3abcccf7960749744fd13547965f0e7d1bdd )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 09:46:22 +00:00
dependabot[bot]
72c9364154
build(deps): Bump rtCamp/action-slack-notify from ae4223259071871559b6e9d08b24a63d71b3f0c0 to 2.1.3 ( #6234 )
...
Bumps [rtCamp/action-slack-notify](https://github.com/rtCamp/action-slack-notify ) from ae4223259071871559b6e9d08b24a63d71b3f0c0 to 2.1.3. This release includes the previously tagged commit.
- [Release notes](https://github.com/rtCamp/action-slack-notify/releases )
- [Commits](https://github.com/rtCamp/action-slack-notify/compare/ae4223259071871559b6e9d08b24a63d71b3f0c0...f565a63638bd3615e76249bffab00fcb9dab90f7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 09:29:02 +00:00
Callum Waters
6b4024ad75
fix e2e app test ( #6223 )
2021-03-10 10:32:51 +01:00
Anton Kaliaev
00b9524168
rpc/jsonrpc/server: return an error in WriteRPCResponseHTTP(Error) ( #6204 )
...
instead of panicking
Closes #5529
2021-03-10 09:29:35 +04:00
Marko
884d4d5252
note: add nondeterministic note to events ( #6220 )
...
## Description
Since events are not hashed into the header they can be non deterministic. Changing an event is not consensus breaking. Will update docs in the spec
2021-03-07 11:36:58 +00:00
Callum Waters
1c314c830e
blockstore: save only the last seen commit ( #6212 )
2021-03-05 19:37:18 +01:00
Alessio Treglia
d27cc6e5e9
build with go1.16 ( #6213 )
...
Co-authored-by: Marko <marbar3778@yahoo.com >
2021-03-05 15:59:25 +00:00
colin axnér
5a7ac0abdb
update outdated comment in state.go ( #6214 )
...
I couldn't find any references to `state.NextState(...)`. Looks like `updateState` replaced that function
2021-03-05 13:36:07 +00:00
Callum Waters
418e2c140f
e2e: integrate light clients ( #6196 )
2021-03-05 14:24:45 +01:00
Anton Kaliaev
4540bef665
localnet: fix localnet by excluding self from persistent peers list ( #6209 )
...
Closes #6205
2021-03-05 12:58:52 +00:00
dependabot[bot]
6625d125a9
build(deps): Bump JamesIves/github-pages-deploy-action from 4.0.0 to 4.1.0 ( #6215 )
...
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases )
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.0.0...3dbacc7e69578703f91f077118b3475862cb09b8 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-05 12:49:31 +00:00
Callum Waters
0566bea8b2
e2e: add benchmarking functionality ( #6210 )
2021-03-05 13:26:18 +01:00
Marko
8c539f7c2b
logs: cleanup ( #6198 )
2021-03-04 10:09:08 +00:00
Aleksandr Bezobchuk
be88fd3e63
mempool/rpc: log grooming ( #6201 )
2021-03-03 19:45:35 -05:00
Callum Waters
cab10db725
e2e: adjust timeouts to be dynamic to size of network ( #6202 )
2021-03-03 18:41:07 -05:00
Callum Waters
90fe178b52
mempool: don't return an error on checktx with the same tx ( #6199 )
2021-03-03 21:02:45 +01:00
Marko
0d0181856b
indexer: remove info log ( #6194 )
...
## Description
Replace info log with Debug.
2021-03-02 17:18:39 +00:00
Anton Kaliaev
36d92cd0b6
test/fuzz: fix rpc, secret_connection and pex tests ( #6190 )
...
* test/fuzz: fix rpc, secret_connection and pex tests
- ignore empty data in rpc
- provide correct IP in pex
- spawn a goroutine for Write and do multiple Read(s)
* test/fuzz: fix init in pex test
* test/fuzz: assign NewServeMux to global var
* test/fuzz: only try to Unmarshal if blob is not empty
* run fuzz tests for PRs which modify fuzz tests themselves
* test/fuzz: move MakeSwitch into init
2021-03-02 17:30:06 +04:00
Anton Kaliaev
fe4e97afe0
rpc/jsonrpc: Unmarshal RPCRequest correctly ( #6191 )
...
i.e. without double pointer. With double pointer, it was possible to
submit `null` value, which will crash the server.
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x189ddc0]
goroutine 1 [running]:
github.com/tendermint/tendermint/rpc/jsonrpc/types.(*RPCRequest).UnmarshalJSON(0xc0000147e0, 0xc00029f201, 0x4, 0x1ff, 0x883baa0, 0xc0000147e0)
/Users/anton/go/src/github.com/tendermint/tendermint/rpc/jsonrpc/types/types.go:70 +0x100
encoding/json.(*decodeState).literalStore(0xc000216bb0, 0xc00029f201, 0x4, 0x1ff, 0x1998800, 0xc0000147e0, 0x199, 0xc000231700, 0x10e0a5e, 0x197)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:860 +0x30ce
encoding/json.(*decodeState).value(0xc000216bb0, 0x1998800, 0xc0000147e0, 0x199, 0x1998800, 0xc0000147e0)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:384 +0x40c
encoding/json.(*decodeState).array(0xc000216bb0, 0x18df040, 0xc0001be540, 0x16, 0xc000216bd8, 0x10e405b)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:558 +0x365
encoding/json.(*decodeState).value(0xc000216bb0, 0x18df040, 0xc0001be540, 0x16, 0x16, 0x6e)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:360 +0x22f
encoding/json.(*decodeState).unmarshal(0xc000216bb0, 0x18df040, 0xc0001be540, 0xc000216bd8, 0x0)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:180 +0x2c9
encoding/json.Unmarshal(0xc00029f200, 0x6, 0x200, 0x18df040, 0xc0001be540, 0x0, 0x0)
/usr/local/Cellar/go/1.16/libexec/src/encoding/json/decode.go:107 +0x15d
```
2021-03-02 10:25:52 +00:00
Tess Rinearson
ddba7f931a
changelog: update for 0.34.8 ( #6183 )
2021-03-01 16:32:00 +00:00