Gustavo Chaín
c9966cd6be
p2p: Fix "Unknown Channel" bug on CustomReactors ( #6297 )
4 years ago
mergify[bot]
6c0c27320c
change index block log to info ( #6290 ) ( #6294 )
## Description
Change log from error to info for indexing blocks
(cherry picked from commit 32ee737d42
)
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
b7a4d5e7ba
fix: jsonrpc url parsing and dial function ( #6264 ) ( #6288 )
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
(cherry picked from commit 9ecfcc93a6
)
Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>
4 years ago
mergify[bot]
0682337de2
logging: shorten precommit log message ( #6270 ) ( #6274 )
This is an attempt to clean up the logging message as requested in #6269 .
(cherry picked from commit 3f9066b290
)
Co-authored-by: Sam Kleinman <garen@tychoish.com>
4 years ago
mergify[bot]
b00cac9368
rpc: index block events to support block event queries (bp #6226 ) ( #6261 )
4 years ago
mergify[bot]
b2f01448be
e2e: integrate light clients (bp #6196 )
integrate light clients (#6196 )
fix e2e app test (#6223 )
fix light client generator (#6236 )
4 years ago
mergify[bot]
4e25703d58
rpc/jsonrpc/server: return an error in WriteRPCResponseHTTP(Error) (bp #6204 ) ( #6230 )
* rpc/jsonrpc/server: return an error in WriteRPCResponseHTTP(Error) (#6204 )
instead of panicking
Closes #5529
(cherry picked from commit 00b9524168
)
# Conflicts:
# CHANGELOG_PENDING.md
# rpc/jsonrpc/server/http_json_handler.go
# rpc/jsonrpc/server/http_server.go
# rpc/jsonrpc/server/http_server_test.go
# rpc/jsonrpc/server/http_uri_handler.go
* resolve conflicts
* fix linting
* fix conflict
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
4 years ago
mergify[bot]
d004a584f8
use error.Is to check for nondeterminstic vote error type ( #6237 ) ( #6239 )
(cherry picked from commit bf8cce83db
)
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
4 years ago
mergify[bot]
11523b1302
note: add nondeterministic note to events ( #6220 ) ( #6225 )
## 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
(cherry picked from commit 884d4d5252
)
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
8bb85856d0
e2e: add benchmarking functionality (bp #6210 ) ( #6216 )
4 years ago
mergify[bot]
b9cdd0e28e
indexer: remove info log ( #6194 )
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
1b5697a41d
mempool/rpc: log grooming (bp #6201 ) ( #6203 )
4 years ago
mergify[bot]
a047a4a70f
logs: cleanup ( #6198 )
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
52b1d90f56
rpc/jsonrpc: Unmarshal RPCRequest correctly (bp #6191 ) ( #6193 )
* 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
```
(cherry picked from commit fe4e97afe0
)
# Conflicts:
# CHANGELOG_PENDING.md
* fix conflict
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
4 years ago
mergify[bot]
28bebe3ddb
docs/tutorials: fix sample code #6186
Co-authored-by: winor <12413150+winor30@users.noreply.github.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
4 years ago
Tess Rinearson
dea73e08b3
changelog: update for 0.34.8 ( #6181 )
4 years ago
mergify[bot]
28ce355656
libs/log: [JSON format] include timestamp (bp #6174 ) ( #6179 )
Closes #6146
4 years ago
mergify[bot]
55ae781efa
logging: print string instead of callback ( #6178 )
## Description
Fixes marshaling error in sdk
closes https://github.com/cosmos/cosmos-sdk/issues/8578
the output stays the same, we are avoiding the passing of the callback because sdk uses typed logging.
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
mergify[bot]
0191a22636
state executor: groom logs (bp #6152 ) ( #6172 )
4 years ago
Tess Rinearson
9d9b947b02
goreleaser: reintroduce arm64 build instructions
4 years ago
Tess Rinearson
c6e0d20d4b
Revert "Revert "tooling: remove tools/Makefile (bp #6102 ) ( #6106 )""
This reverts commit afd07096a7
.
I had believed that this tooling change could have been what broke our
GoReleaser flow; I now know that it was a result of changes in Go 1.16
and an update to GoReleaser! GoReleaser has now been updated again
and our flow should be un-broken.
4 years ago
Tess Rinearson
efd9d07257
changelog: fix changelog pending version numbering ( #6149 )
4 years ago
mergify[bot]
a0f376127d
consensus: more log grooming (bp #6140 ) ( #6143 )
4 years ago
mergify[bot]
8d3c36ccc3
abci: Fix ReCheckTx for Socket Client (bp #6124 ) ( #6125 )
4 years ago
Tess Rinearson
15eb2c2211
.goreleaser: remove arm64 build instructions and bump changelog again ( #6131 )
4 years ago
Tess Rinearson
e4d2893ff6
changelog: bump to v0.34.6
4 years ago
Tess Rinearson
afd07096a7
Revert "tooling: remove tools/Makefile (bp #6102 ) ( #6106 )"
This reverts commit 1b2174a0da
.
4 years ago
Tess Rinearson
340071d81b
changelog: update for 0.34.5 ( #6129 )
4 years ago
Tess Rinearson
53d40e1092
consensus: remove privValidator from log call ( #6128 )
4 years ago
Aleksandr Bezobchuk
bedb00d252
consensus: Groom Logs ( #5917 )
Executed a local network using simapp and looked for logs that seemed superfluous. This isn't by any means an exhaustive grooming, but should drastically help legibility of logs.
ref: #5912
4 years ago
mergify[bot]
1030072dd0
changelog: update 0.34.3 changelog with details on security vuln (bp #6108 ) ( #6110 )
* changelog: update 0.34.3 changelog with details on security vuln (#6108 )
Closes #6095 .
(cherry picked from commit df0b868415
)
# Conflicts:
# CHANGELOG.md
* solve conflicts
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com>
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
4 years ago
mergify[bot]
1b2174a0da
tooling: remove tools/Makefile (bp #6102 ) ( #6106 )
Description
We use docker for all protobuf related items. This makes it unnecessary to provide a way to download tooling.
ref #6103
Co-authored-by: Tess Rinearson <tess.rinearson@gmail.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
Tess Rinearson
6bac9d9f43
makefile: remove call to tools ( #6104 )
4 years ago
Tess Rinearson
5efbbab789
changelog: improve with suggestions from @melekes ( #6097 )
4 years ago
Tess Rinearson
4a0fab041b
changelog: update for v0.34.4 ( #6096 )
4 years ago
Callum Waters
5ee2ada942
.github: remove erik as reviewer from dependapot ( #6076 )
4 years ago
Callum Waters
fbf2c3815d
check block store base is non negative before sending block meta or commits ( #6042 )
4 years ago
dependabot[bot]
cc57a560e7
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="f1b5e2da2d
"><code>f1b5e2d</code></a> 2.1.1</li>
<li><a href="cbfc11a8d7
"><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="7684df0846
"><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 />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=watchpack&package-manager=npm_and_yarn&previous-version=2.1.0&new-version=2.1.1 )](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>
4 years ago
Erik Grinaker
950c9f71b5
CODEOWNERS: remove erikgrinaker ( #6057 )
4 years ago
dependabot[bot]
90a2c33285
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>
4 years ago
Anton Kaliaev
093dcfc8a0
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
```
4 years ago
Anton Kaliaev
72851a12d3
libs/log: format []byte as hexidecimal string (uppercased) ( #5960 )
Closes : #5806
Co-authored-by: Lanie Hei <heixx011@umn.edu>
4 years ago
dependabot[bot]
07979d88d0
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="6f9a08cd45
"><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="4de5f6b9a4
"><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="9f5cde003a
"><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="c606a78361
"><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="0438145e16
"><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="f2b292dfc2
"><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="3157a92898
"><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 />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/tendermint/tm-db&package-manager=go_modules&previous-version=0.6.3&new-version=0.6.4 )](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>
4 years ago
Marko Baricevic
12eac92738
docs: fix typo in state sync example ( #5989 )
4 years ago
Aleksandr Bezobchuk
73375b0912
backport v0.34.x: 6000 & 6001
4 years ago
Marko
e3a79d4e2e
tests: fix `make test` ( #5966 )
## Description
- bump deadlock dep to master
- fixes `make test` since we now use `deadlock.Once`
Closes: #XXX
4 years ago
Marko
fa3287c012
maverick: reduce some duplication ( #6052 )
- Reduce duplication in messages and metrics.
- merge WAL interfaces. Meant to push the developer to make changes in both places.
4 years ago
Marko
cb7c9564a4
docker: dont login when in PR ( #5961 )
4 years ago
odidev
9df5fcf1f1
docker: release Linux/ARM64 image ( #5925 )
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
Anton Kaliaev
d575f8a38f
fix build
4 years ago