dependabot[bot]
a56b10fbef
build(deps): Bump github.com/go-kit/kit from 0.10.0 to 0.11.0 ( #6651 )
Bumps [github.com/go-kit/kit](https://github.com/go-kit/kit ) from 0.10.0 to 0.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/go-kit/kit/releases ">github.com/go-kit/kit's releases</a>.</em></p>
<blockquote>
<h2>v0.11.0</h2>
<p>A new release with several improvements and enhancements. The first one in a long while! Huge thanks to <a href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a> for putting in most of the gruntwork to make it happen! You're a superstar.</p>
<p>The biggest thing: package log has been extracted to a separate repository and module, <a href="https://github.com/go-kit/log ">go-kit/log</a>. This means that if you or your project was importing go-kit/kit just to get package log, you can significantly reduce your go.mod and dep graph by switching to the new module. Note that we have no current plans to alias the existing go-kit/kit/log to the new go-kit/log module and package, nor to deprecate the current package in favor of the new one. They are two distinct packages with no defined relationship to each other. This may change in the future.</p>
<p>Major changes:</p>
<ul>
<li>The log package was extracted to a <a href="https://github.com/go-kit/log ">separate repository</a></li>
<li>Examples were moved to a separate <a href="https://github.com/go-kit/examples ">repository</a></li>
<li>Deprecated kitgen was removed</li>
</ul>
<p>Thanks to the 22 contributors who contributed to this release! 🏌️♂️ </p>
<h1>Bug fixes</h1>
<ul>
<li>metrics/cloudwatch: log CloudWatch response error (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/961 ">#961</a>) (thanks <a href="https://github.com/Trane9991 "><code>@Trane9991</code></a>)</li>
<li>log: defer mutex unlocks for panic safety in SyncLogger (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/974 ">#974</a>)</li>
<li>util/conn: close old connection before reconnect (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/982 ">#982</a>) (thanks <a href="https://github.com/chikaku "><code>@chikaku</code></a>)</li>
<li>log/term: fix build on GOOS=js GOARCH=wasm (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/993 ">#993</a>) (thanks <a href="https://github.com/mvdan "><code>@mvdan</code></a>)</li>
<li>transport/http/jsonrpc: move the ClientAfter calls to before the decode (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1008 ">#1008</a>) (thanks <a href="https://github.com/directionless "><code>@directionless</code></a>)</li>
<li>sd/etcdv3: fix etcdv3 client won't return error when no endpoint is available (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1009 ">#1009</a>) (thanks <a href="https://github.com/wayjam "><code>@wayjam</code></a>)</li>
<li>metrics/generic: fix uint64 alignment (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1007 ">#1007</a>) (thanks <a href="https://github.com/ldez "><code>@ldez</code></a>)</li>
<li>log: fix stdlibadapter when prefixed (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1036 ">#1036</a>) (thanks <a href="https://github.com/soven "><code>@soven</code></a>)</li>
<li>log: capture newlines in log stdlib (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1041 ">#1041</a>) (thanks <a href="https://github.com/SuperQ "><code>@SuperQ</code></a>)</li>
</ul>
<h1>Enhancements</h1>
<ul>
<li>metrics/cloudwatch: use batch values API for CloudWatch PutMetric data call (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/960 ">#960</a>) (thanks <a href="https://github.com/Trane9991 "><code>@Trane9991</code></a>)</li>
<li>log: allow to use specific logrus level in the adaptor (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/962 ">#962</a>) (thanks <a href="https://github.com/Trane9991 "><code>@Trane9991</code></a>)</li>
<li>transport/http: add NewExplicitClient (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/971 ">#971</a>)</li>
<li>transport/http/jsonrpc: add RequestID in error body when using the DefaultErrorEncoder (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/969 ">#969</a>) (thanks <a href="https://github.com/esenac "><code>@esenac</code></a>)</li>
<li>transport/http/jsonrpc: add Version to JSON-RPC client request (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/990 ">#990</a>) (thanks <a href="https://github.com/shirolimit "><code>@shirolimit</code></a>)</li>
<li>log: add WithSuffix to append key-value pairs to those passed to Log (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/992 ">#992</a>) (thanks <a href="https://github.com/vinayvinay "><code>@vinayvinay</code></a>)</li>
<li>sd/consul: improve inconsistent Consul SD index handling (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/999 ">#999</a>) (thanks <a href="https://github.com/vinayvinay "><code>@vinayvinay</code></a>)</li>
<li>all: dependency updates (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1029 ">#1029</a>, <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1095 ">#1095</a>, <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1097 ">#1097</a>, <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1098 ">#1098</a>, <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1106 ">#1106</a>, <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1118 ">#1118</a>, <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1115 ">#1115</a>, <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1119 ">#1119</a>, <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1124 ">#1124</a>) (thanks <a href="https://github.com/ChrisHines "><code>@ChrisHines</code></a>, <a href="https://github.com/Enrico204 "><code>@Enrico204</code></a>, <a href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a>)</li>
<li>tracing/opencensus: add support for JSONRPC (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1022 ">#1022</a>) (thanks <a href="https://github.com/ryan-lang "><code>@ryan-lang</code></a>)</li>
<li>tracing/opentracing: improve endpoint middleware options (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1072 ">#1072</a>) (thanks <a href="https://github.com/alebabai "><code>@alebabai</code></a>)</li>
<li>auth/jwt: fix repetition of the word "token" in JWT (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1070 ">#1070</a>) (thanks <a href="https://github.com/amidam "><code>@amidam</code></a>)</li>
<li>sd/zk: replace unmaintained zk library with drop-in replacement (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1120 ">#1120</a>) (thanks <a href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a>)</li>
<li>cmd/kitgen: remove deprecated kitgen (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1121 ">#1121</a>) (thanks <a href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a>)</li>
</ul>
<h1>Documentation, examples, tests</h1>
<ul>
<li>readme: change godoc to pkg.go.dev (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/963 ">#963</a>) (thanks <a href="https://github.com/relunctance "><code>@relunctance</code></a>)</li>
<li>readme: add links to generator tools (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/964 ">#964</a>)</li>
<li>metrics/cloudwatch: fix bad Gauge test (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/975 ">#975</a>) (thanks <a href="https://github.com/Trane9991 "><code>@Trane9991</code></a>)</li>
<li>readme: update the link and description for go-micro (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/989 ">#989</a>) (thanks <a href="https://github.com/asim "><code>@asim</code></a>)</li>
<li>examples: add missing "to" preposition (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1014 ">#1014</a>)</li>
<li>tracing/opencensus: fix failing tests (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1021 ">#1021</a>) (thanks <a href="https://github.com/ryan-lang "><code>@ryan-lang</code></a>)</li>
<li>log: fix doc comment (<a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1028 ">#1028</a>) (thanks <a href="https://github.com/vrazdalovschi "><code>@vrazdalovschi</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a6c5d5805b
"><code>a6c5d58</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1129 ">#1129</a> from sagikazarmark/improve-example-references</li>
<li><a href="4c47fd8c8a
"><code>4c47fd8</code></a> remove examples from gitignore</li>
<li><a href="908c5cf02c
"><code>908c5cf</code></a> docs: fix example links</li>
<li><a href="d19ee33dd5
"><code>d19ee33</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1128 ">#1128</a> from robbert229/patch-1</li>
<li><a href="ccf3d8d333
"><code>ccf3d8d</code></a> fix a broken link to the addsvc example</li>
<li><a href="f80eb06d27
"><code>f80eb06</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1121 ">#1121</a> from sagikazarmark/remove-kitgen</li>
<li><a href="32681cc0d6
"><code>32681cc</code></a> remove deprecated kitgen</li>
<li><a href="2ca6ab212f
"><code>2ca6ab2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1112 ">#1112</a> from sagikazarmark/opentelemetry</li>
<li><a href="a119c95f09
"><code>a119c95</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1122 ">#1122</a> from sagikazarmark/nats-test-panic</li>
<li><a href="2216160e8e
"><code>2216160</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/go-kit/kit/issues/1124 ">#1124</a> from sagikazarmark/update-dependencies</li>
<li>Additional commits viewable in <a href="https://github.com/go-kit/kit/compare/v0.10.0...v0.11.0 ">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-kit/kit&package-manager=go_modules&previous-version=0.10.0&new-version=0.11.0 )](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
dependabot[bot]
15aa35b8d7
build(deps): Bump docker/setup-buildx-action from 1.4.1 to 1.5.0 ( #6649 )
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.4.1...v1.5.0 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Callum Waters
c769e3e09b
p2p: track peer channels to avoid sending across a channel a peer doesn't have ( #6601 )
4 years ago
JayT106
4334135651
privval: missing privval type check in SetPrivValidator ( #6645 )
4 years ago
Callum Waters
ba41d29b50
revert returning empty block ( #6647 )
4 years ago
William Banfield
0cb0dd7ce9
p2p: do not redial peers with different chain id ( #6630 )
Updates the p2p logic to reject peers if the peer is not on the same chain.
Fixes #6245
4 years ago
William Banfield
b2502b5e53
tooling: use go version 1.16 as minimum version ( #6642 )
4 years ago
Marko
0e9bec1b53
pkg: expose p2p functions ( #6627 )
## Description
Expose p2p functions for use in the sdk.
These functions could also be copied over to the sdk. I dont have a preference of which is better.
4 years ago
dependabot[bot]
20720f691c
build(deps): Bump docker/build-push-action from 2.5.0 to 2.6.1 ( #6639 )
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2.5.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
dependabot[bot]
e9bafca335
build(deps): Bump github.com/spf13/cobra from 1.1.3 to 1.2.0 ( #6640 )
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.1.3 to 1.2.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.1.3...v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Aleksandr Bezobchuk
414130aee1
pubsub: Refactor Event Subscription ( #6634 )
4 years ago
dependabot[bot]
b0a413eb17
build(deps): Bump github.com/rs/cors from 1.7.0 to 1.8.0 ( #6635 )
Bumps [github.com/rs/cors](https://github.com/rs/cors ) from 1.7.0 to 1.8.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="64821dda5a
"><code>64821dd</code></a> public method to check cors domain (<a href="https://github-redirect.dependabot.com/rs/cors/issues/115 ">#115</a>)</li>
<li><a href="f9bce55a4e
"><code>f9bce55</code></a> Updating renamed pressly import to go-chi (<a href="https://github-redirect.dependabot.com/rs/cors/issues/112 ">#112</a>)</li>
<li><a href="8b4a00bd36
"><code>8b4a00b</code></a> Fix[RFC_7230] RFC-7230 compliance (<a href="https://github-redirect.dependabot.com/rs/cors/issues/103 ">#103</a>)</li>
<li><a href="be1c7e127a
"><code>be1c7e1</code></a> Update preflight response status to http.StatusNoContent (204) (<a href="https://github-redirect.dependabot.com/rs/cors/issues/101 ">#101</a>)</li>
<li><a href="d4dacab067
"><code>d4dacab</code></a> Add early break on allowedHeaders match found (<a href="https://github-redirect.dependabot.com/rs/cors/issues/95 ">#95</a>)</li>
<li><a href="6c08711d4f
"><code>6c08711</code></a> Update go.mod (<a href="https://github-redirect.dependabot.com/rs/cors/issues/94 ">#94</a>)</li>
<li><a href="fdcf4f9773
"><code>fdcf4f9</code></a> fix typo (<a href="https://github-redirect.dependabot.com/rs/cors/issues/87 ">#87</a>)</li>
<li><a href="927da63e68
"><code>927da63</code></a> Fix doc comment on attribute (<a href="https://github-redirect.dependabot.com/rs/cors/issues/90 ">#90</a>)</li>
<li><a href="09a654deb2
"><code>09a654d</code></a> Remove older version of Go from GH workflow</li>
<li><a href="a57a3ff56f
"><code>a57a3ff</code></a> Update go support list</li>
<li>Additional commits viewable in <a href="https://github.com/rs/cors/compare/v1.7.0...v1.8.0 ">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/rs/cors&package-manager=go_modules&previous-version=1.7.0&new-version=1.8.0 )](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
dependabot[bot]
b317df4ba5
build(deps): Bump google.golang.org/grpc from 1.38.0 to 1.39.0 ( #6633 )
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.38.0...v1.39.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sam Kleinman <garen@tychoish.com>
4 years ago
dependabot[bot]
a8bb01136a
build(deps): Bump docker/setup-buildx-action from 1.4.0 to 1.4.1 ( #6632 )
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
JayT106
d66d1ada5b
libs/CList: automatically detach the prev/next elements in Remove function ( #6626 )
closes #2207
Also added `Clear()` function if we want to clear whole elements in CList.
4 years ago
JayT106
9d0817b308
Revert "rpc: re-index missing events ( #6535 )" ( #6631 )
This reverts commit 167fa738a3
.
4 years ago
Callum Waters
5ae3c24d55
evidence: update ADR 59 and add comments to the use of common height ( #6628 )
4 years ago
dependabot[bot]
ffadc0ebca
build(deps): Bump docker/setup-buildx-action from 1.3.0 to 1.4.0 ( #6629 )
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Marko
f8dbbae55e
mempool: move errors to be public ( #6613 )
## Description
Move mempool errors to be public, this is used in handling abci error codes
4 years ago
Marko
ad0c115839
tools: remove k8s ( #6625 )
## Description
Remove mintnet as discussed on team call.
closes #1941
4 years ago
dependabot[bot]
98a249c0ea
build(deps): Bump github.com/spf13/viper from 1.8.0 to 1.8.1 ( #6622 )
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.8.0 to 1.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/spf13/viper/releases ">github.com/spf13/viper's releases</a>.</em></p>
<blockquote>
<h2>v1.8.1</h2>
<p>This patch releases fixes two minor issues:</p>
<ul>
<li>Replace <code>%s</code> with <code>%w</code> when wrapping errors</li>
<li>Fix <code>pflag.StringArray</code> processing</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="bd03865899
"><code>bd03865</code></a> Add a proper processing for pflag.StringArray</li>
<li><a href="3fcad43618
"><code>3fcad43</code></a> update %s to %w</li>
<li>See full diff in <a href="https://github.com/spf13/viper/compare/v1.8.0...v1.8.1 ">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/spf13/viper&package-manager=go_modules&previous-version=1.8.0&new-version=1.8.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
Tanya Bouman
09ec247646
cmd/tendermint/commands: replace $HOME/.some/test/dir with t.TempDir ( #6623 )
* cmd/tendermint/commands: replace $HOME/.some/test/dir with t.TempDir
* update changelog
Co-authored-by: Marko <marbar3778@yahoo.com>
4 years ago
Marko
7eef4d7ac2
config: add example on external_address ( #6621 )
## Description
It confused many people what they were supposed to add here. For chains with large genesis files you will only see the error after Initgenesis. Best to add a small sentence to provide better UX
4 years ago
JayT106
11a71c228c
state/privval: no GetPubKey retry beyond the proposal/voting window ( #6578 )
Closes #5142
4 years ago
Yawning Angel
c5cc3c8d3f
crypto: Use a different library for ed25519/sr25519 ( #6526 )
At Oasis we have spend some time writing a new Ed25519/X25519/sr25519 implementation called curve25519-voi. This PR switches the import from ed25519consensus/go-schnorrkel, which should lead to performance gains on most systems.
Summary of changes:
* curve25519-voi is now used for Ed25519 operations, following the existing ZIP-215 semantics.
* curve25519-voi's public key cache is enabled (hardcoded size of 4096 entries, should be tuned, see the code comment) to accelerate repeated Ed25519 verification with the same public key(s).
* (BREAKING) curve25519-voi is now used for sr25519 operations. This is a breaking change as the current sr25519 support does something decidedly non-standard when going from a MiniSecretKey to a SecretKey and or PublicKey (The expansion routine is called twice). While I believe the new behavior (that expands once and only once) to be more "correct", this changes the semantics as implemented.
* curve25519-voi is now used for merlin since the included STROBE implementation produces much less garbage on the heap.
Side issues fixed:
* The version of go-schnorrkel that is currently imported by tendermint has a badly broken batch verification implementation. Upstream has fixed the issue after I reported it, so the version should be bumped in the interim.
Open design questions/issues:
* As noted, the public key cache size should be tuned. It is currently backed by a trivial thread-safe LRU cache, which is not scan-resistant, but replacing it with something better is a matter of implementing an interface.
* As far as I can tell, the only reason why serial verification on batch failure is necessary is to provide more detailed error messages (that are only used in some unit tests). If you trust the batch verification to be consistent with serial verification then the fallback can be eliminated entirely (the BatchVerifier provided by the new library supports an option that omits the fallback if this is chosen as the way forward).
* curve25519-voi's sr25519 support could use more optimization and more eyes on the code. The algorithm unfortunately is woefully under-specified, and the implementation was done primarily because I got really sad when I actually looked at go-schnorrkel, and we do not use the algorithm at this time.
4 years ago
JayT106
167fa738a3
rpc: re-index missing events ( #6535 )
4 years ago
Sam Kleinman
917180dfd2
p2p: reduce buffering on channels ( #6609 )
Having smaller buffers in each reactor/channel will mean that there will be fewer stale messages.
4 years ago
crypto-facs
10d174adcc
rpc: Add `TotalGasUsed` to `block_results` response ( #6615 )
Closes #6551
Simple PR to add the total gas used in the block by adding the gas used in all the transactions.
This adds a `TotalGasUsed` field to `coretypes.ResultBlockResults`.
Its my first PR to the repo so let me know if there is anything I am missing!
@fedekunze In case you want to take a look
4 years ago
Sam Kleinman
9ffa7e8a2b
types: move NodeInfo from p2p ( #6618 )
4 years ago
JayT106
2cc872543b
rpc: add max peer block height into /status rpc call ( #6610 )
use `maxPeerBlockHeight` information to show the current network's best height.
Closes #3983
Relate to #3365
ref: the`highestBlock` in the response of `eth.isSyncing` call
https://web3js.readthedocs.io/en/v1.3.4/web3-eth.html#issyncing
4 years ago
Sam Kleinman
ae5f98881b
p2p: make NodeID and NetAddress public ( #6583 )
4 years ago
dependabot[bot]
4c30f084da
build(deps): Bump docker/login-action from 1.9.0 to 1.10.0 ( #6614 )
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
JayT106
2b0a3c151b
fastsync: update the metrics during fast-sync ( #6590 )
Closes #3507
4 years ago
Callum Waters
6e238b5b9d
statesync: make fetching chunks more robust ( #6587 )
4 years ago
Sam Kleinman
144af9a81a
rpc: use shorter path names for tests ( #6602 )
4 years ago
Sam Kleinman
bed58a749f
p2p: address audit issues with the peer manager ( #6603 )
4 years ago
Sam Kleinman
5f553bb3ee
changelog: update and regularize changelog entries ( #6594 )
4 years ago
Callum Waters
e8f38e3260
changelog: have a single friendly bug bounty reminder ( #6600 )
4 years ago
Callum Waters
6ade17997c
release: update changelog and version ( #6599 )
4 years ago
Sam Kleinman
a6b30faf35
libs/time: move types/time into libs ( #6595 )
4 years ago
Sam Kleinman
09a409df9c
libs/log: text logging format changes ( #6589 )
4 years ago
Sam Kleinman
d228afc548
p2p: avoid retry delay in error case ( #6591 )
4 years ago
Callum Waters
25bb556fee
p2p: increase queue size to 16MB ( #6588 )
4 years ago
Callum Waters
c0f7fb08c0
config: add root dir to priv validator ( #6585 )
4 years ago
dependabot[bot]
7bc7de5092
build(deps): Bump github.com/spf13/viper from 1.7.1 to 1.8.0 ( #6586 )
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Aleksandr Bezobchuk
7d961b55b2
state sync: tune request timeout and chunkers ( #6566 )
4 years ago
Sam Kleinman
886519e3ca
rpc: add subscription id to events ( #6386 )
Addresses #3931
4 years ago
Cuong Manh Le
8d0c38257e
test/fuzz: fix wrong path for some p2p fuzzing packages ( #6580 )
Updates #6557
4 years ago
Cuong Manh Le
10a41ae6c8
test/fuzz: fix wrong compile fuzzer command ( #6579 )
Updates #6557
4 years ago
Cuong Manh Le
e79262415c
test/fuzz: add current fuzzing to oss-fuzz-build script ( #6576 )
Updates #6557
4 years ago