William Banfield
7d58fb18b9
Merge remote-tracking branch 'origin/wb/rfc-deterministic-proto-bytes' into wb/rfc-deterministic-proto-bytes
2021-12-15 17:50:02 -05:00
William Banfield
76a922b6be
Merge branch 'master' into wb/rfc-deterministic-proto-bytes
2021-12-15 17:45:28 -05:00
William Banfield
1e6e9c9e59
clarify reasons for canonicalization rules
2021-12-15 17:45:00 -05:00
William Banfield
c932e7926b
explain why unknown fields can be ignored
2021-12-15 17:10:19 -05:00
dependabot[bot]
7705c9d086
build(deps): Bump google.golang.org/grpc from 1.42.0 to 1.43.0 ( #7455 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.42.0 to 1.43.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.43.0</h2>
<h1>API Changes</h1>
<ul>
<li>grpc: stabilize <code>WithConnectParams</code> <code>DialOption</code> (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4915 ">#4915</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/hypnoglow "><code>@hypnoglow</code></a></li>
</ul>
</li>
</ul>
<h1>Behavior Changes</h1>
<ul>
<li>status: support wrapped errors in <code>FromContextError</code> (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4977 ">#4977</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/bestbeforetoday "><code>@bestbeforetoday</code></a></li>
</ul>
</li>
<li>config: remove the environment variable to disable retry support (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4922 ">#4922</a>)</li>
</ul>
<h1>New Features</h1>
<ul>
<li>balancer: new field <code>Authority</code> in <code>BuildOptions</code> for server name to use in the authentication handshake with a remote load balancer (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4969 ">#4969</a>)</li>
</ul>
<h1>Bug Fixes</h1>
<ul>
<li>xds/resolver: fix possible <code>ClientConn</code> leak upon resolver initialization failure (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4900 ">#4900</a>)</li>
<li>client: fix <code>nil</code> panic in rare race conditions with the pick first LB policy (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4971 ">#4971</a>)</li>
<li>xds: improve RPC error messages when xDS connection errors occur (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5032 ">#5032</a>, <a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5054 ">#5054</a>)</li>
<li>transport: do not create stream object in the face of illegal stream IDs (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4873 ">#4873</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/uds5501 "><code>@uds5501</code></a></li>
</ul>
</li>
</ul>
<h1>Documentation</h1>
<ul>
<li>client: clarify errors to indicate whether compressed or uncompressed messages exceeded size limits (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4918 ">#4918</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/uds5501 "><code>@uds5501</code></a></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/grpc/grpc-go/commit/14c11384b76b67f7b1b32a5d18f865762634c0ae "><code>14c1138</code></a> Change version to 1.43.0 (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5039 ">#5039</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/ae29ac3e1e62a7b47fb672dec21de2dd83e4f027 "><code>ae29ac3</code></a> xds/client: send NewStream errors to the watchers (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5032 ">#5032</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/296afc2e579c14228edadb3debcb040204a0870f "><code>296afc2</code></a> transport: better error message when per-RPC creds fail (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5033 ">#5033</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/e15d978c827661f8e7cfe807cb9fd8fd8f15a262 "><code>e15d978</code></a> xds/client: send connection errors to all watchers (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5054 ">#5054</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/46e883a9ab006a3000afe0a510aea62b75495b8f "><code>46e883a</code></a> Backport "xds/c2p: replace C2P resolver env var with experimental scheme suff...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/3786ae1778f5bfcc49da81cbd925b7175ec81839 "><code>3786ae1</code></a> xds/resolver: Add support for cluster specifier plugins (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4987 ">#4987</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/512e89474bfbd567806e026e0afdec468b1ee1ea "><code>512e894</code></a> rls: support extra_keys and constant_keys (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/4995 ">#4995</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/f3bbd12084380987ae0c9fcccdd7c4d405294a68 "><code>f3bbd12</code></a> xds/bootstrap_config: add a string function to server config (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5031 ">#5031</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/46935b96506deef74e73192e70cc44e3795b1452 "><code>46935b9</code></a> fix possible nil before casting (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5017 ">#5017</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/c2bccd0b1594416da57a74d15f09f8eb0a3d727b "><code>c2bccd0</code></a> xds/kokoro: install go 1.17, and retry go build (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5015 ">#5015</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/grpc/grpc-go/compare/v1.42.0...v1.43.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-12-15 16:26:20 +00:00
M. J. Fromberger
82738eb016
Move the libs/pubsub package to internal scope ( #7451 )
...
No API changes, merely changes the import path.
2021-12-15 07:09:32 -08:00
dependabot[bot]
f3278e8b68
build(deps): Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 ( #7456 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.2.1 to 1.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/spf13/cobra/releases ">github.com/spf13/cobra's releases</a>.</em></p>
<blockquote>
<h1>v1.3.0 - The Fall 2021 release 🍁 </h1>
<h2>Completion fixes & enhancements 💇🏼 </h2>
<p>In <code>v1.2.0</code>, we introduced a new model for completions. Thanks to everyone for trying it, giving feedback, and providing numerous fixes! Continue to work with the new model as the old one (as noted in code comments) will be deprecated in a coming release.</p>
<ul>
<li><code>DisableFlagParsing</code> now triggers custom completions for flag names <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1161 ">#1161</a></li>
<li>Fixed unbound variables in bash completions causing edge case errors <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1321 ">#1321</a></li>
<li><code>help</code> completion formatting improvements & fixes <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1444 ">#1444</a></li>
<li>All completions now follow the <code>help</code> example: short desc are now capitalized and removes extra spacing from long description <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1455 ">#1455</a></li>
<li>Typo fixes in bash & zsh completions <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1459 ">#1459</a></li>
<li>Fixed mixed tab/spaces indentation in completion scripts. Now just 4 spaces <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1473 ">#1473</a></li>
<li>Support for different bash completion options. Bash completions v2 supports descriptions and requires descriptions to be removed for <code>menu-complete</code>, <code>menu-complete-backward</code> and <code>insert-completions</code>. These descriptions are now purposefully removed in support of this model. <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1509 ">#1509</a></li>
<li>Fix for invalid shell completions when using <code>~/.cobra.yaml</code>. Log message <code>Using config file: ~/.cobra.yaml</code> now printed to stderr <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1510 ">#1510</a></li>
<li>Removes unnecessary trailing spaces from completion command descriptions <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1520 ">#1520</a></li>
<li>Option to hid default <code>completion</code> command <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1541 ">#1541</a></li>
<li>Remove <code>__complete</code> command for programs without subcommands <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1563 ">#1563</a></li>
</ul>
<h2>Generator changes ⚙️ </h2>
<p>Thanks to <a href="https://github.com/spf13 "><code>@spf13</code></a> for providing a number of changes to the Cobra generator tool, streamlining it for new users!</p>
<ul>
<li>The Cobra generator now <em>won't</em> automatically include Viper and cleans up a number of unused imports when not using Viper.</li>
<li>The Cobra generator's default license is now <code>none</code></li>
<li>The Cobra generator now works with Go modules</li>
<li>Documentation to reflect these changes</li>
</ul>
<h2>New Features ⭐ </h2>
<ul>
<li>License can be specified by their SPDX identifiers <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1159 ">#1159</a></li>
<li><code>MatchAll</code> allows combining several PositionalArgs to work in concert. This now allows for enabling composing <code>PositionalArgs</code> <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/896 ">#896</a></li>
</ul>
<h2>Bug Fixes 🐛 </h2>
<ul>
<li>Fixed multiple error message from cobra <code>init</code> boilerplates <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1463 ">#1463</a> <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1552 ">#1552</a> <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1557 ">#1557</a></li>
</ul>
<h2>Testing 👀 </h2>
<ul>
<li>Now testing golang 1.16.x and 1.17.x in CI <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1425 ">#1425</a></li>
<li>Fix for running diff test to ignore CR for windows <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/949 ">#949</a></li>
<li>Added helper functions and reduced code reproduction in <code>args_test</code> <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1426 ">#1426</a></li>
<li>Now using official <code>golangci-lint</code> github action <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1477 ">#1477</a></li>
</ul>
<h2>Security 🔏 </h2>
<ul>
<li>Added GitHub dependabot <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1427 ">#1427</a></li>
<li>Now using Viper <code>v1.10.0</code>
<ul>
<li>There is a known CVE in an <em>indirect</em> dependency from <code>viper</code>: <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1538 ">spf13/cobra#1538</a>. This will be patched in a future release</li>
</ul>
</li>
</ul>
<h2>Documentation 📝 </h2>
<ul>
<li>Multiple projects added to the <code>projects_using_cobra.md</code> file: <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1377 ">#1377</a> <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1501 ">#1501</a> <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1454 ">#1454</a></li>
<li>Removed ToC from main readme file as it is now automagically displayed by GitHub <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1429 ">#1429</a></li>
<li>Documentation correct for when the <code>--author</code> flag is specified <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1009 ">#1009</a></li>
<li><code>shell_completions.md</code> has an easier to use snippet for copying and pasting shell completions <a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1372 ">#1372</a></li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/spf13/cobra/commit/178edbb247f35e466578211dcf5f4892dbbd369b "><code>178edbb</code></a> Bump github.com/spf13/viper from 1.9.0 to 1.10.0 (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1561 ">#1561</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/9054739e08187aab9294b7a773d54c92fabc23d3 "><code>9054739</code></a> Remove __complete cmd for program without subcmds (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1563 ">#1563</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/19c9c7438498bf4ba07506b4eaa76670cd37ae2d "><code>19c9c74</code></a> Always include the os package import when generating the root command (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1557 ">#1557</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/01e05b8ea13c594aecf11fcdf5da065dce51de5e "><code>01e05b8</code></a> Bump github.com/spf13/viper from 1.8.1 to 1.9.0 (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1554 ">#1554</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/36bff0a4d54129f4d26b47f6700829f8ac652f19 "><code>36bff0a</code></a> fix root.go.golden (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1552 ">#1552</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/1854bb5c96beeb559b85af56b09ea50a463280a0 "><code>1854bb5</code></a> Fix some typos (mostly found by codespell) (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1514 ">#1514</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/ff2c55e32312d66f6898ed3f2b48a654b94a207c "><code>ff2c55e</code></a> chore(ci): use golangci-lint-action (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1477 ">#1477</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/1beb476da9b46aef65cc176d683f4278cb944085 "><code>1beb476</code></a> fix: Duplicate error message from cobra init boilerplates (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1463 ">#1463</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/6f84ef48750fe6355a267117837ba6ee3da254e7 "><code>6f84ef4</code></a> Provide option to hide default 'completion' cmd (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1541 ">#1541</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/ee75a2b1edeb8001c4b7e36edcf2768479abffe6 "><code>ee75a2b</code></a> Remove trailing spaces from bash completion command description (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1520 ">#1520</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/spf13/cobra/compare/v1.2.1...v1.3.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-12-15 13:54:42 +00:00
William Banfield
9be07631af
wip
2021-12-14 18:17:16 -05:00
M. J. Fromberger
ab7da86b06
Internalize libs/sync. ( #7450 )
...
Inline the one usage of this library, and remove the lib.
2021-12-14 15:14:30 -08:00
M. J. Fromberger
da697089d0
Move libs/async to internal/libs/async. ( #7449 )
2021-12-14 14:05:42 -08:00
Sam Kleinman
f56df58fe8
testing,log: add testing.T logger connector ( #7447 )
2021-12-14 16:30:06 -05:00
Sam Kleinman
e3aaae570d
node: minor package cleanups ( #7444 )
2021-12-14 14:56:28 -05:00
Sam Kleinman
2ff962a63a
log: dissallow nil loggers ( #7445 )
2021-12-14 12:45:13 -05:00
M. J. Fromberger
a872dd75b7
Fix broken documentation link. ( #7439 )
...
A follow-up to #7416 and #7412 .
2021-12-14 08:27:11 +00:00
William Banfield
aef2191e2a
Apply suggestions from code review
...
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-12-13 19:19:33 -05:00
Sam Kleinman
d0e03f01fc
sync: remove special mutexes ( #7438 )
2021-12-13 13:35:32 -05:00
dependabot[bot]
2b35d8191c
build(deps-dev): Bump watchpack from 2.3.0 to 2.3.1 in /docs ( #7430 )
...
Bumps [watchpack](https://github.com/webpack/watchpack ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/webpack/watchpack/releases )
- [Commits](https://github.com/webpack/watchpack/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: watchpack
dependency-type: direct:development
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>
Co-authored-by: Sam Kleinman <garen@tychoish.com >
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2021-12-13 12:51:47 -05:00
Sam Kleinman
65c0aaee5e
p2p: use recieve for channel iteration ( #7425 )
2021-12-13 11:04:44 -05:00
Jacob Gadikian
4e2aa63bb3
Go 1.17 ( #7429 )
...
Update tendermint to Go 1.17 because imports are easier to audit.
* Update README.md
* go mod tidy
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2021-12-13 06:55:57 -08:00
dependabot[bot]
f80c235842
build(deps): Bump github.com/spf13/viper from 1.9.0 to 1.10.0 ( #7434 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.9.0 to 1.10.0.
<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.10.0</h2>
<p>This is a maintenance release primarily containing minor fixes and improvements.</p>
<h2>Changes</h2>
<h3>Added</h3>
<ul>
<li>Experimental finder based on io/fs</li>
<li>Tests are executed on Windows</li>
<li>Tests are executed on Go 1.17</li>
<li>Logger interface to decouple Viper from JWW</li>
</ul>
<hr />
<p>In addition to the above changes, this release comes with minor improvements, documentation changes an dependency updates.</p>
<p><strong>Many thanks to everyone who contributed to this release!</strong></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/spf13/viper/commit/a4bfcd9ea04475e70535476efda42c9757b86c18 "><code>a4bfcd9</code></a> chore(deps): update crypt</li>
<li><a href="https://github.com/spf13/viper/commit/1cb6606f6e71961b1e2dcb70742c8e93ca7719ff "><code>1cb6606</code></a> build(deps): bump gopkg.in/ini.v1 from 1.65.0 to 1.66.2</li>
<li><a href="https://github.com/spf13/viper/commit/a785a79f2240b55faa3c9fb488252ca9ea931339 "><code>a785a79</code></a> refactor: replace jww with the new logger interface</li>
<li><a href="https://github.com/spf13/viper/commit/f1f6b2122c97f9bb8a08cb4d759ae2342e27e187 "><code>f1f6b21</code></a> feat: add logger interface and default implementation</li>
<li><a href="https://github.com/spf13/viper/commit/c43197d858bd35c780348a48875e81af29999b1b "><code>c43197d</code></a> build(deps): bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3</li>
<li><a href="https://github.com/spf13/viper/commit/2abe0ddbd47fdd47cdf1b8e7fa1b57ea6eb0ba55 "><code>2abe0dd</code></a> build(deps): bump gopkg.in/ini.v1 from 1.64.0 to 1.65.0</li>
<li><a href="https://github.com/spf13/viper/commit/8ec82f8998089857cd190a6636366d3367809545 "><code>8ec82f8</code></a> chore(deps): update crypt</li>
<li><a href="https://github.com/spf13/viper/commit/35877c8f775d35d705065b588234757347caaeac "><code>35877c8</code></a> chore: fix lint</li>
<li><a href="https://github.com/spf13/viper/commit/655a0aa730d5c03066f3f8c4520e4b36d09ad618 "><code>655a0aa</code></a> chore(deps): update golangci-lint</li>
<li><a href="https://github.com/spf13/viper/commit/946ae7524717684dc50fe6d7d84833f58298a99c "><code>946ae75</code></a> ci: fix github script</li>
<li>Additional commits viewable in <a href="https://github.com/spf13/viper/compare/v1.9.0...v1.10.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-12-13 14:27:38 +00:00
dependabot[bot]
4da0a4b8ed
build(deps): Bump github.com/adlio/schema from 1.2.2 to 1.2.3 ( #7432 )
...
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.2.2 to 1.2.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/adlio/schema/releases ">github.com/adlio/schema's releases</a>.</em></p>
<blockquote>
<h2>1.2.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Restore ability to chain NewMigrartor().Apply() by <a href="https://github.com/adlio "><code>@adlio</code></a> in <a href="https://github-redirect.dependabot.com/adlio/schema/pull/14 ">adlio/schema#14</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/adlio/schema/compare/v1.2.2...v1.2.3 ">https://github.com/adlio/schema/compare/v1.2.2...v1.2.3 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/adlio/schema/commit/770089bd7517c63f5f10d9e8f1249981963635b3 "><code>770089b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/adlio/schema/issues/14 ">#14</a> from adlio/pointer-fix</li>
<li><a href="https://github.com/adlio/schema/commit/1fd2bbf008088abd306b733669ac4605e6c86b61 "><code>1fd2bbf</code></a> Restore the ability to run NewMigrator().Apply()</li>
<li>See full diff in <a href="https://github.com/adlio/schema/compare/v1.2.2...v1.2.3 ">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-12-13 12:36:35 +00:00
William Banfield
260e1a4ff8
move file to correct number
2021-12-10 14:32:46 -05:00
William Banfield
3bb825fda1
add prototype impl from @creachadair
2021-12-10 14:31:12 -05:00
dependabot[bot]
f8bf2cb912
build(deps): Bump github.com/adlio/schema from 1.1.15 to 1.2.2 ( #7423 )
...
* build(deps): Bump github.com/adlio/schema from 1.1.15 to 1.2.2
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.1.15 to 1.2.2.
- [Release notes](https://github.com/adlio/schema/releases )
- [Commits](https://github.com/adlio/schema/compare/v1.1.15...v1.2.2 )
---
updated-dependencies:
- dependency-name: github.com/adlio/schema
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Work around API changes in the migrator package.
A recent update inadvertently broke the API by changing the receiver types of
the methods without updating the constructor.
See: https://github.com/adlio/schema/issues/13
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2021-12-10 10:30:04 -08:00
M. J. Fromberger
a925f4fa84
Fix a panic in the indexer service test. ( #7424 )
...
The test service was starting up without a logger and crashing
while trying to log.
2021-12-10 10:03:42 -08:00
Emmanuel T Odeke
3e92899bd9
internal/libs/protoio: optimize MarshalDelimited by plain byteslice allocations+sync.Pool ( #7325 )
...
Noticed in profiles that invoking *VoteSignBytes always created a
bytes.Buffer, then discarded it inside protoio.MarshalDelimited.
I dug further and examined the call paths and noticed that we
unconditionally create the bytes.Buffer, even though we might
have proto messages (in the common case) that implement
MarshalTo([]byte), and invoked varintWriter. Instead by inlining
this case, we skip a bunch of allocations and CPU cycles,
which then reflects properly on all calling functions. Here
are the benchmark results:
```shell
$ benchstat before.txt after.txt
name old time/op new time/op delta
types.VoteSignBytes-8 705ns ± 3% 573ns ± 6% -18.74% (p=0.000 n=18+20)
types.CommitVoteSignBytes-8 8.15µs ± 9% 6.81µs ± 4% -16.51% (p=0.000 n=20+19)
protoio.MarshalDelimitedWithMarshalTo-8 788ns ± 8% 772ns ± 3% -2.01% (p=0.050 n=20+20)
protoio.MarshalDelimitedNoMarshalTo-8 989ns ± 4% 845ns ± 2% -14.51% (p=0.000 n=20+18)
name old alloc/op new alloc/op delta
types.VoteSignBytes-8 792B ± 0% 600B ± 0% -24.24% (p=0.000 n=20+20)
types.CommitVoteSignBytes-8 9.52kB ± 0% 7.60kB ± 0% -20.17% (p=0.000 n=20+20)
protoio.MarshalDelimitedNoMarshalTo-8 808B ± 0% 440B ± 0% -45.54% (p=0.000 n=20+20)
name old allocs/op new allocs/op delta
types.VoteSignBytes-8 13.0 ± 0% 10.0 ± 0% -23.08% (p=0.000 n=20+20)
types.CommitVoteSignBytes-8 140 ± 0% 110 ± 0% -21.43% (p=0.000 n=20+20)
protoio.MarshalDelimitedNoMarshalTo-8 10.0 ± 0% 7.0 ± 0% -30.00% (p=0.000 n=20+20)
```
Thanks to Tharsis who tasked me to help them increase TPS and who
are keen on improving Tendermint and efficiency.
2021-12-10 09:36:43 -08:00
William Banfield
7421b8380f
fix references to include links
2021-12-10 10:45:15 -05:00
William Banfield
8822cf86c7
missed end of sentence
2021-12-09 18:14:30 -05:00
William Banfield
d7fa1075e5
rfc: deterministic proto bytes serialization
2021-12-09 18:10:33 -05:00
Sam Kleinman
bd6dc3ca88
p2p: refactor channel Send/out ( #7414 )
2021-12-09 14:03:41 -05:00
M. J. Fromberger
f79b77036f
Fix link to Terraform/Ansible documentation. ( #7416 )
2021-12-09 08:15:57 -08:00
dependabot[bot]
358fc5f6c4
build(deps): Bump github.com/adlio/schema from 1.1.14 to 1.1.15 ( #7407 )
...
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.1.14 to 1.1.15.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/adlio/schema/commit/3b57e3534214b6f1b00d73f7a45ade8f6045faae "><code>3b57e35</code></a> Security patch: Update upstream runc dependency to 1.0.3.</li>
<li>See full diff in <a href="https://github.com/adlio/schema/compare/v1.1.14...v1.1.15 ">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-12-08 16:21:45 +00:00
Sam Kleinman
867d406c6c
state: pass connected context ( #7410 )
2021-12-08 11:09:08 -05:00
Sam Kleinman
9c21d4140b
mempool: avoid arbitrary background contexts ( #7409 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-08 14:29:13 +00:00
Sam Kleinman
cb88bd3941
p2p: migrate to use new interface for channel errors ( #7403 )
...
* p2p: migrate to use new interface for channel errors
* Update internal/p2p/p2ptest/require.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com >
* rename
* feedback
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com >
2021-12-08 14:05:01 +00:00
Sam Kleinman
892f5d9524
service: cleanup mempool and peer update shutdown ( #7401 )
2021-12-08 08:44:32 -05:00
Callum Waters
5ba3c6be42
cmd: cosmetic changes for errors and print statements ( #7377 )
...
* cmd: cosmetic changes for errors and print statements
* fix load block store test
* lint
2021-12-08 10:21:58 +00:00
Sam Kleinman
26d421b8f6
Revert "ci: tweak e2e configuration ( #7400 )" ( #7404 )
...
This reverts commit b057740bd3 .
2021-12-07 21:17:55 +00:00
Sam Kleinman
587c91132b
build: declare packages variable in correct makefile ( #7402 )
2021-12-07 14:53:22 -05:00
Sam Kleinman
b057740bd3
ci: tweak e2e configuration ( #7400 )
2021-12-07 11:47:22 -05:00
Sam Kleinman
0ff3d4b89d
service: cleanup close channel in reactors ( #7399 )
2021-12-07 11:40:59 -05:00
Sam Kleinman
0b3e00a6b5
ci: skip docker image builds during PRs ( #7397 )
2021-12-07 10:54:14 -05:00
Sam Kleinman
6b35cc1a47
p2p: remove unneeded close channels from p2p layer ( #7392 )
2021-12-07 10:40:07 -05:00
Sam Kleinman
4b8fd28148
ci: fix missing dependency ( #7396 )
2021-12-07 10:27:49 -05:00
Sam Kleinman
065918d1cd
ci: cleanup build/test targets ( #7393 )
2021-12-07 10:11:23 -05:00
M. J. Fromberger
02d456b8b8
Update Mergify configuration. ( #7388 )
...
Per https://docs.mergify.com/actions/merge/#commit-message , the
commit_message option is deprecated and will be removed in 2022.
Replace it with the template suggested here:
https://docs.mergify.com/actions/queue/
2021-12-06 13:27:39 -08:00
M. J. Fromberger
2d4844f97f
Update mergify configuration. ( #7385 )
...
Per https://blog.mergify.com/strict-mode-deprecation/ , the strict mode
has been deprecated and will be turned off on 10-Jan-2022. This updates
the config to use the new, approved thing instead of the old thing.
2021-12-06 12:20:28 -08:00
Sam Kleinman
a62ac27047
service: remove exported logger from base implemenation ( #7381 )
2021-12-06 10:16:42 -05:00
Sam Kleinman
4e355d80c4
p2p: implement interface for p2p.Channel without channels ( #7378 )
2021-12-03 15:19:04 -05:00
Sam Kleinman
5f9dd2e7f5
p2p/upnp: remove unused functionality ( #7379 )
2021-12-03 13:44:36 -05:00