dependabot[bot] and GitHub
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
M. J. Fromberger and GitHub
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 and GitHub
da697089d0
Move libs/async to internal/libs/async. ( #7449 )
2021-12-14 14:05:42 -08:00
Sam Kleinman and GitHub
f56df58fe8
testing,log: add testing.T logger connector ( #7447 )
2021-12-14 16:30:06 -05:00
Sam Kleinman and GitHub
e3aaae570d
node: minor package cleanups ( #7444 )
2021-12-14 14:56:28 -05:00
Sam Kleinman and GitHub
2ff962a63a
log: dissallow nil loggers ( #7445 )
2021-12-14 12:45:13 -05:00
M. J. Fromberger and GitHub
a872dd75b7
Fix broken documentation link. ( #7439 )
...
A follow-up to #7416 and #7412 .
2021-12-14 08:27:11 +00:00
Sam Kleinman and GitHub
d0e03f01fc
sync: remove special mutexes ( #7438 )
2021-12-13 13:35:32 -05:00
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 and GitHub
65c0aaee5e
p2p: use recieve for channel iteration ( #7425 )
2021-12-13 11:04:44 -05:00
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] and GitHub
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] and GitHub
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
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 and GitHub
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 and GitHub
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
Sam Kleinman and GitHub
bd6dc3ca88
p2p: refactor channel Send/out ( #7414 )
2021-12-09 14:03:41 -05:00
M. J. Fromberger and GitHub
f79b77036f
Fix link to Terraform/Ansible documentation. ( #7416 )
2021-12-09 08:15:57 -08:00
dependabot[bot] and GitHub
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 and GitHub
867d406c6c
state: pass connected context ( #7410 )
2021-12-08 11:09:08 -05:00
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
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 and GitHub
892f5d9524
service: cleanup mempool and peer update shutdown ( #7401 )
2021-12-08 08:44:32 -05:00
Callum Waters and GitHub
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 and GitHub
26d421b8f6
Revert "ci: tweak e2e configuration ( #7400 )" ( #7404 )
...
This reverts commit b057740bd3 .
2021-12-07 21:17:55 +00:00
Sam Kleinman and GitHub
587c91132b
build: declare packages variable in correct makefile ( #7402 )
2021-12-07 14:53:22 -05:00
Sam Kleinman and GitHub
b057740bd3
ci: tweak e2e configuration ( #7400 )
2021-12-07 11:47:22 -05:00
Sam Kleinman and GitHub
0ff3d4b89d
service: cleanup close channel in reactors ( #7399 )
2021-12-07 11:40:59 -05:00
Sam Kleinman and GitHub
0b3e00a6b5
ci: skip docker image builds during PRs ( #7397 )
2021-12-07 10:54:14 -05:00
Sam Kleinman and GitHub
6b35cc1a47
p2p: remove unneeded close channels from p2p layer ( #7392 )
2021-12-07 10:40:07 -05:00
Sam Kleinman and GitHub
4b8fd28148
ci: fix missing dependency ( #7396 )
2021-12-07 10:27:49 -05:00
Sam Kleinman and GitHub
065918d1cd
ci: cleanup build/test targets ( #7393 )
2021-12-07 10:11:23 -05:00
M. J. Fromberger and GitHub
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 and GitHub
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 and GitHub
a62ac27047
service: remove exported logger from base implemenation ( #7381 )
2021-12-06 10:16:42 -05:00
Sam Kleinman and GitHub
4e355d80c4
p2p: implement interface for p2p.Channel without channels ( #7378 )
2021-12-03 15:19:04 -05:00
Sam Kleinman and GitHub
5f9dd2e7f5
p2p/upnp: remove unused functionality ( #7379 )
2021-12-03 13:44:36 -05:00
M. J. Fromberger and GitHub
8c52956007
Revert CI test timeout. ( #7375 )
...
I increased this while messing around with another PR, and
forgot to remove it before merging.
2021-12-03 14:13:24 +00:00
Sam Kleinman and GitHub
8a991e288c
service: plumb contexts to all (most) threads ( #7363 )
...
This continues the push of plumbing contexts through tendermint. I
attempted to find all goroutines in the production code (non-test) and
made sure that these threads would exit when their contexts were
canceled, and I believe this PR does that.
2021-12-02 21:38:38 +00:00
Sam Kleinman and GitHub
b3be1d7d7a
ci: move test execution to makefile ( #7372 )
2021-12-02 16:22:27 -05:00
Sam Kleinman and GitHub
1e208d66e5
tools: remove tm-signer-harness ( #7370 )
2021-12-02 13:22:40 -05:00
Callum Waters and GitHub
bca2080c01
cmd: add integration test and fix bug in rollback command ( #7315 )
2021-12-02 12:17:16 +01:00
Federico Kunze Küllmer and GitHub
5f57d84dd3
rpc: implement header and header_by_hash queries ( #7270 )
2021-12-02 11:16:31 +01:00
William Banfield and GitHub
f6c39126ed
tools/tm-signer-harness: switch to not use hardcoded bytes for configs in test ( #7362 )
...
The current testing for this tool relies on hardcoding a set of configs into the tests. This means that when the config structure changes, the tests break. I'm not sure that this makes sense since we are separately testing our ability to read and validate the configuration file format. Hardcoding bytes into a different file duplicates this. Using the structs themselves should therefore be preferred.
2021-12-01 23:26:36 +00:00
Sam Kleinman and GitHub
a823d167bc
service: cleanup base implementation and some caller implementations ( #7301 )
2021-12-01 09:28:06 -05:00
Sam Kleinman and GitHub
3749c37847
p2p: remove unused trust package ( #7359 )
2021-11-30 17:55:08 -05:00
M. J. Fromberger and GitHub
76dea94a01
Remove now-unused nolint:lll directives. ( #7356 )
2021-11-30 21:32:21 +00:00
M. J. Fromberger and GitHub
ab1788b922
Fix incorrect tests using the PSQL sink. ( #7349 )
...
Some of our tests were creating a psql event sink and expecting
it to report (or not report) certain kinds of errors. These tests
were ill-founded in a couple of ways:
1. Tests that required the Postgres driver were not loading it.
This led to spurious successes on tests that wanted "some error"
from the sink constructor, but didn't exercise the right path.
2. Tests that wanted a Postgres sink to succeed without a database.
These tests "passed" because they weren't actually establishing a
connection to the database, but if they had would have failed for
the lack of one.
To fix this:
- Load the postgres driver in tests that need it.
- Verify connectivity before reporting successful creation of a PSQL event sink.
- Remove tests that wanted a psql sink without a database, since that case
is already tested elsewhere.
2021-11-30 12:57:44 -08:00
Sam Kleinman and GitHub
babd3acb70
e2e: generate keys for more stable load ( #7344 )
2021-11-30 20:21:48 +00:00
Sam Kleinman and GitHub
24dcba9230
e2e: clarify apphash reporting ( #7348 )
2021-11-30 20:05:55 +00:00