William Banfield
22e80187f6
wip
2022-06-23 15:44:48 -04:00
William Banfield
eb97fbbd72
use configuration file params
2022-06-23 14:31:10 -04:00
William Banfield
edec79448a
p2p: set empty timeouts
2022-06-22 19:49:38 -04:00
Ian Jungyong Um and GitHub
2e11760fbe
p2p: fix typo ( #8836 )
2022-06-22 09:30:11 +02:00
William Banfield and GitHub
8860e027a8
p2p: more dial routines ( #8827 )
...
The dial routines perform network i/o, which is a blocking call into the kernel. These routines are completely unable to do anything else while the dial occurs, so for most of their lifecycle they are sitting idle waiting for the tcp stack to hand them data. We should increase this value by _a lot_ to enable more concurrent dials. This is unlikely to cause CPU starvation because these routines sit idle most of the time. The current value causes dials to occur _way_ too slowly.
Below is a graph demonstrating the before and after of this change in a testnetwork with many dead peers. You can observe that the rate that we connect to new, valid peers, is _much_ higher than previously. Change was deployed around the 31 minute mark on the graph.

2022-06-22 00:51:09 +00:00
Sam Kleinman and GitHub
cfd13825e2
p2p: add eviction metrics and cleanup dialing error handling ( #8819 )
2022-06-21 20:44:14 +00:00
dependabot[bot] and GitHub
6f168df7e4
build(deps): Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 ( #8812 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.4.0 to 1.5.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>
<h2>v1.5.0</h2>
<h2>Spring 2022 Release 🌥️ </h2>
<p>Hello everyone! Welcome to another release of cobra. Completions continue to get better and better. This release adds a few really cool new features. We also continue to patch versions of our dependencies as they become available via dependabot. Happy coding!</p>
<h2>Active help 👐🏼 </h2>
<p>Shout out to <a href="https://github.com/marckhouzam "><code>@marckhouzam</code></a> for a big value add: Active Help <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1482 ">spf13/cobra#1482</a>. With active help, a program can provide some inline warnings or hints for users as they hit tab. Now, your CLIs can be even more intuitive to use!</p>
<p>Currently active help is only supported for bash V2 and zsh. Marc wrote a whole guide on how to do this, so make sure to give it a good read to learn how you can add this to your cobra code! <a href="https://github.com/spf13/cobra/blob/master/active_help.md ">https://github.com/spf13/cobra/blob/master/active_help.md </a></p>
<h2>Group flags 🧑🏼🤝🧑 🏼</h2>
<p>Cobra now has the ability to mark flags as required or exclusive as a <strong><em>group</em></strong>. Shout out to our newest maintainer <a href="https://github.com/johnSchnake "><code>@johnSchnake</code></a> for this! <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1654 ">spf13/cobra#1654</a> Let's say you have a <code>username</code> flag that <em><strong>MUST</strong></em> be partnered with a <code>password</code> flag. Well, now, you can enforce those as being required together:</p>
<pre lang="go"><code>rootCmd.Flags().StringVarP(&u, "username", "u", "", "Username (required if password is set)")
rootCmd.Flags().StringVarP(&pw, "password", "p", "", "Password (required if username is set)")
rootCmd.MarkFlagsRequiredTogether("username", "password")
</code></pre>
<p>Flags may also be marked as "mutally exclusive" with the <code>MarkFlagsMutuallyExclusive(string, string ... )</code> command API. Refer to our <a href="https://github.com/spf13/cobra/blob/master/user_guide.md ">user guide documentation</a> for further info!</p>
<h2>Completions 👀 </h2>
<ul>
<li>Add backwards-compatibility tests for legacyArgs() by <a href="https://github.com/marckhouzam "><code>@marckhouzam</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1547 ">spf13/cobra#1547</a></li>
<li>feat: Add how to load completions in your current zsh session by <a href="https://github.com/ondrejsika "><code>@ondrejsika</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1608 ">spf13/cobra#1608</a></li>
<li>Introduce FixedCompletions by <a href="https://github.com/emersion "><code>@emersion</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1574 ">spf13/cobra#1574</a></li>
<li>Add shell completion to flag groups by <a href="https://github.com/marckhouzam "><code>@marckhouzam</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1659 ">spf13/cobra#1659</a></li>
<li>Modify brew prefix path in macOS system by <a href="https://github.com/imxw "><code>@imxw</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1719 ">spf13/cobra#1719</a></li>
<li>perf(bash-v2): use backslash escape string expansion for tab by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1682 ">spf13/cobra#1682</a></li>
<li>style(bash-v2): out is not an array variable, do not refer to it as such by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1681 ">spf13/cobra#1681</a></li>
<li>perf(bash-v2): standard completion optimizations by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1683 ">spf13/cobra#1683</a></li>
<li>style(bash): out is not an array variable, do not refer to it as such by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1684 ">spf13/cobra#1684</a></li>
<li>perf(bash-v2): short-circuit descriptionless candidate lists by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1686 ">spf13/cobra#1686</a></li>
<li>perf(bash-v2): speed up filtering entries with descriptions by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1689 ">spf13/cobra#1689</a></li>
<li>perf(bash-v2): speed up filtering menu-complete descriptions by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1692 ">spf13/cobra#1692</a></li>
<li>fix(bash-v2): skip empty completions when filtering descriptions by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1691 ">spf13/cobra#1691</a></li>
<li>perf(bash-v2): read directly to COMPREPLY on descriptionless short circuit by <a href="https://github.com/scop "><code>@scop</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1700 ">spf13/cobra#1700</a></li>
<li>fix: Don't complete _command on zsh by <a href="https://github.com/twpayne "><code>@twpayne</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1690 ">spf13/cobra#1690</a></li>
<li>Improve fish_completions code quality by <a href="https://github.com/t29kida "><code>@t29kida</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1515 ">spf13/cobra#1515</a></li>
<li>Fix handling of descriptions for bash v3 by <a href="https://github.com/marckhouzam "><code>@marckhouzam</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1735 ">spf13/cobra#1735</a></li>
<li>undefined or nil Args default to ArbitraryArgs by <a href="https://github.com/umarcor "><code>@umarcor</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1612 ">spf13/cobra#1612</a></li>
<li>Add Command.SetContext by <a href="https://github.com/joshcarp "><code>@joshcarp</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1551 ">spf13/cobra#1551</a></li>
<li>Wrap printf tab with quotes by <a href="https://github.com/PapaCharlie "><code>@PapaCharlie</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1665 ">spf13/cobra#1665</a></li>
</ul>
<h2>Documentation 📝 </h2>
<ul>
<li>Fixed typos in completions docs - <a href="https://github.com/cuishuang "><code>@cuishuang</code></a> <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1625 ">spf13/cobra#1625</a></li>
<li>Removed <code>CHANGELOG.md</code> as it isn't updated - <a href="https://github.com/johnSchnake "><code>@johnSchnake</code></a> <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1634 ">spf13/cobra#1634</a></li>
<li>Minor typo fix in <code>shell_completion.md</code> - <a href="https://github.com/danieldn "><code>@danieldn</code></a> <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1678 ">spf13/cobra#1678</a></li>
<li>Changed branch name in the cobra generator link to 'main' - <a href="https://github.com/skywalker2909 "><code>@skywalker2909</code></a> <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1645 ">spf13/cobra#1645</a></li>
<li>Fix Command.Context comment by <a href="https://github.com/katexochen "><code>@katexochen</code></a> in <a href="https://github-redirect.dependabot.com/spf13/cobra/pull/1639 ">spf13/cobra#1639</a></li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/spf13/cobra/commit/06b06a9dc9f9f5eba93c552b2532a3da64ef9877 "><code>06b06a9</code></a> Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1697 ">#1697</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/5f2ec3c897155c3346e77430932e3966e5cfa648 "><code>5f2ec3c</code></a> Update shell completion to respect flag groups (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1659 ">#1659</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/b9ca5949e2f58373e8e4c3823c213401f7d9d0e3 "><code>b9ca594</code></a> use errors.Is() to check for errors (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1730 ">#1730</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/ea94a3db55f84f026891709d82ebf25e17f89e0d "><code>ea94a3d</code></a> undefined or nil Args default to ArbitraryArgs (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1612 ">#1612</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/7c9831d376a6c048ae9f95b435cdde9dc14358a0 "><code>7c9831d</code></a> Fix handling of descriptions for bash v3 (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1735 ">#1735</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/ed7bb9dda481082672ed9ea60c29b3b70ae0fc04 "><code>ed7bb9d</code></a> Add unit test for fish completion (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1515 ">#1515</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/f464d6c82e9af74b7a46301a775163984af32cd1 "><code>f464d6c</code></a> Add Active Help support (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1482 ">#1482</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/7dc8b004e653f2f69511378d52c2989c8f64d42b "><code>7dc8b00</code></a> Bump actions/setup-go from 2 to 3 (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1660 ">#1660</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/87ea1807f71dfa4d0bd7058c099b3978b128aea6 "><code>87ea180</code></a> Modify brew prefix path in macOS system (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1719 ">#1719</a>)</li>
<li><a href="https://github.com/spf13/cobra/commit/ca8e3c2779b8cc6168ab6ffdf9c1f2ac65652404 "><code>ca8e3c2</code></a> Add Pulumi as a project using cobra (<a href="https://github-redirect.dependabot.com/spf13/cobra/issues/1720 ">#1720</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/spf13/cobra/compare/v1.4.0...v1.5.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>
2022-06-21 17:46:01 +00:00
Sam Kleinman and GitHub
28d3239958
p2p: wake dialing thread after sleep ( #8803 )
2022-06-20 15:47:56 +00:00
dependabot[bot] and GitHub
acf97128f3
build(deps): Bump github.com/prometheus/common from 0.34.0 to 0.35.0 ( #8800 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.34.0 to 0.35.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/prometheus/common/commit/26d49741eb3c6b0e69af1f9278688bf0eb6bef0b "><code>26d4974</code></a> Add more mimetypes (<a href="https://github-redirect.dependabot.com/prometheus/common/issues/385 ">#385</a>)</li>
<li><a href="https://github.com/prometheus/common/commit/627089d3a7af73be778847aa577192b937b8d89a "><code>627089d</code></a> Set minimum version for go to 1.16 (<a href="https://github-redirect.dependabot.com/prometheus/common/issues/372 ">#372</a>)</li>
<li>See full diff in <a href="https://github.com/prometheus/common/compare/v0.34.0...v0.35.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>
2022-06-20 12:04:19 +00:00
dependabot[bot] and GitHub
2382b5c364
build(deps): Bump github.com/adlio/schema from 1.3.0 to 1.3.3 ( #8798 )
...
Bumps [github.com/adlio/schema](https://github.com/adlio/schema ) from 1.3.0 to 1.3.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>v1.3.3</h2>
<p><strong>Full Changelog</strong>: <a href="https://github.com/adlio/schema/compare/v1.3.1...v1.3.3 ">https://github.com/adlio/schema/compare/v1.3.1...v1.3.3 </a></p>
<h2>v1.3.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Update ory/dockertest Dependency to 3.9.1 by <a href="https://github.com/adlio "><code>@adlio</code></a> in <a href="https://github-redirect.dependabot.com/adlio/schema/pull/17 ">adlio/schema#17</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/adlio/schema/compare/v1.3.0...v1.3.1 ">https://github.com/adlio/schema/compare/v1.3.0...v1.3.1 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/adlio/schema/commit/4775fe46157a7a11a6114c9e05fc9df38c87b859 "><code>4775fe4</code></a> Fix badge link</li>
<li><a href="https://github.com/adlio/schema/commit/95a1695cf7f60c99227fe01dc83d6e94c0a25bd6 "><code>95a1695</code></a> Update build badge.</li>
<li><a href="https://github.com/adlio/schema/commit/41e0d313219de0d9f06f0e87195ff0080ff718d0 "><code>41e0d31</code></a> CircleCI Ubuntu version.</li>
<li><a href="https://github.com/adlio/schema/commit/f5210da8aefae93adc5245aaf50f8c75dbf6417a "><code>f5210da</code></a> CircleCI image update</li>
<li><a href="https://github.com/adlio/schema/commit/0a9113e3a2f4633482542ff612e7b217098f40ef "><code>0a9113e</code></a> Module updates</li>
<li><a href="https://github.com/adlio/schema/commit/33628d531f88cc474947d812bb72402243231162 "><code>33628d5</code></a> Add circleci</li>
<li><a href="https://github.com/adlio/schema/commit/a81a7a3b728794835697b3d4c98a3f28bbbc152f "><code>a81a7a3</code></a> Merge branch 'runc-112'</li>
<li><a href="https://github.com/adlio/schema/commit/128f3b3b5acb2635cbbfbd7605de626267eb8e6f "><code>128f3b3</code></a> Fix go.mod and go.sum</li>
<li><a href="https://github.com/adlio/schema/commit/471923f5f94c99b670b68ee1303a8b64388c3176 "><code>471923f</code></a> Merge branch 'runc-112'</li>
<li><a href="https://github.com/adlio/schema/commit/40c69567e1f16be340e9884f1abfb3b93a7e5b3e "><code>40c6956</code></a> Fix ory/dockertest</li>
<li>Additional commits viewable in <a href="https://github.com/adlio/schema/compare/v1.3.0...v1.3.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>
2022-06-20 08:54:09 +00:00
Ian Jungyong Um and GitHub
e3e162ff10
p2p: fix typo ( #8793 )
...
Fix the typo in router
2022-06-19 15:26:25 +00:00
Sam Kleinman and GitHub
4d820ff4f5
p2p: peer score should not wrap around ( #8790 )
2022-06-17 22:27:38 +00:00
Sam Kleinman and GitHub
82c1372f9e
abci+test/e2e/app: add mutex for new methods ( #8577 )
...
These methods should be protected by a mutex.
2022-06-17 21:22:40 +00:00
Sam Kleinman and GitHub
0ac03468d8
p2p: track peers stored on startup ( #8787 )
2022-06-17 18:10:10 +00:00
Sam Kleinman and GitHub
9e5b13725d
p2p: peer store and dialing changes ( #8737 )
2022-06-17 08:02:10 -04:00
Sergio Mena and GitHub
a4f29bfd44
Don't check PBTS-timeliness when in replay mode ( #8774 )
...
Closes #8781
Temporary fix to this issue, so that e2e tests don't fail and potentially leave other problems uncovered.
2022-06-16 19:31:17 +00:00
Adolfo Olivera and GitHub
7cf09399bb
Fix typo in Using Tendermint section ( #8780 )
...
Modify using-tendermint.md to replace unsafe_reset_all to unsafe-reset-all . Closes #8779 .
2022-06-16 18:36:58 +00:00
Callum Waters and GitHub
8854ce4e68
e2e: reactivate network test ( #8635 )
2022-06-16 18:04:10 +02:00
Emmanuel T Odeke and GitHub
56e329aa9e
cmd/tendermint/commands/debug: guard against PID int overflows ( #8764 )
2022-06-15 20:46:50 -07:00
Sam Kleinman and GitHub
1062ae73d6
e2e/ci: add extra split to 0.36 ( #8770 )
2022-06-15 09:04:13 -04:00
dependabot[bot] and GitHub
134bfefbe5
build(deps): Bump github.com/vektra/mockery/v2 from 2.13.0 to 2.13.1 ( #8766 )
...
Bumps [github.com/vektra/mockery/v2](https://github.com/vektra/mockery ) from 2.13.0 to 2.13.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vektra/mockery/releases ">github.com/vektra/mockery/v2's releases</a>.</em></p>
<blockquote>
<h2>v2.13.1</h2>
<h2>Changelog</h2>
<ul>
<li>f04b040 Fix infinity mocking caused interface in mock</li>
<li>9d7c819 Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/472 ">#472</a> from grongor/fix-infinite-mocking</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vektra/mockery/commit/9d7c8190e18612f99ebfbf0dbe40f960f9e6fd00 "><code>9d7c819</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/472 ">#472</a> from grongor/fix-infinite-mocking</li>
<li><a href="https://github.com/vektra/mockery/commit/f04b04051001f2d16fc6314fbe176afc4e3863db "><code>f04b040</code></a> Fix infinity mocking caused interface in mock</li>
<li>See full diff in <a href="https://github.com/vektra/mockery/compare/v2.13.0...v2.13.1 ">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>
2022-06-15 10:46:37 +00:00
Roman and GitHub
f0b0f34f3f
refactor: improve string representation for a vote against the proposal ( #8745 )
2022-06-15 12:32:22 +02:00
Sam Kleinman and GitHub
51b3f111dc
p2p: fix mconn transport accept test ( #8762 )
...
Fix minor test incongruency missed earlier.
2022-06-14 23:48:48 +00:00
Sam Kleinman and GitHub
979a6a1b13
p2p: accept should not abort on first error ( #8759 )
2022-06-14 19:12:53 -04:00
Sam Kleinman and GitHub
bf1cb89bb7
Revert "p2p: self-add node should not error (tendermint#8753)" ( #8757 )
2022-06-14 20:55:10 +00:00
Sam Kleinman and GitHub
7971f4a2fc
p2p: self-add node should not error ( #8753 )
2022-06-14 16:45:05 +00:00
dependabot[bot] and GitHub
a2908c29d5
build(deps): Bump github.com/vektra/mockery/v2 from 2.12.3 to 2.13.0 ( #8748 )
...
Bumps [github.com/vektra/mockery/v2](https://github.com/vektra/mockery ) from 2.12.3 to 2.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vektra/mockery/releases ">github.com/vektra/mockery/v2's releases</a>.</em></p>
<blockquote>
<h2>v2.13.0</h2>
<h2>Changelog</h2>
<ul>
<li>f9f6d38 Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/477 ">#477</a> from LandonTClipp/generics_release</li>
<li>6498bd6 Updating dependencies</li>
</ul>
<h2>v2.13.0-beta.1</h2>
<h2>Changelog</h2>
<ul>
<li>9dba1fd Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/454 ">#454</a> from Gevrai/gejo-move-expecter-test</li>
<li>cde38d9 Move generated ExpecterTest to mocks directory</li>
</ul>
<h2>v2.13.0-beta.0</h2>
<h2>Changelog</h2>
<ul>
<li>dc5539e Add support for generating mocks for generic interfaces</li>
<li>33c4bf3 Generics mocking fixes</li>
<li>a727d70 Genrics support: rename and comment methods</li>
<li>4c0f6c8 Merge conflict resolution</li>
<li>46c61f0 Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/456 ">#456</a> from cruickshankpg/mock-generic-interfaces</li>
<li>ed55a47 Update x/tools to pick up fix for <a href="https://github-redirect.dependabot.com/golang/go/issues/51629 ">golang/go#51629</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vektra/mockery/commit/f9f6d38ea816785be213e9206f1f6704c6c453f1 "><code>f9f6d38</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/477 ">#477</a> from LandonTClipp/generics_release</li>
<li><a href="https://github.com/vektra/mockery/commit/6498bd6d4073e8681dcbb674d2d558aedbfca57a "><code>6498bd6</code></a> Updating dependencies</li>
<li><a href="https://github.com/vektra/mockery/commit/9dba1fd9c3b2022444ee4caf227f7005c4b9cfc7 "><code>9dba1fd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/454 ">#454</a> from Gevrai/gejo-move-expecter-test</li>
<li><a href="https://github.com/vektra/mockery/commit/cde38d9a5c43f1859ae75afdefd300ccf3113bdb "><code>cde38d9</code></a> Move generated ExpecterTest to mocks directory</li>
<li><a href="https://github.com/vektra/mockery/commit/46c61f037d185642c9f73aae5a930d25eca0bae2 "><code>46c61f0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/456 ">#456</a> from cruickshankpg/mock-generic-interfaces</li>
<li><a href="https://github.com/vektra/mockery/commit/4c0f6c85e0e283559c6f9ed1b0620236635c3426 "><code>4c0f6c8</code></a> Merge conflict resolution</li>
<li><a href="https://github.com/vektra/mockery/commit/ed55a470b65db96e335846d7c22bea8235c93a89 "><code>ed55a47</code></a> Update x/tools to pick up fix for <a href="https://github-redirect.dependabot.com/golang/go/issues/51629 ">golang/go#51629</a></li>
<li><a href="https://github.com/vektra/mockery/commit/a727d704867b17dc9e47e2351a675a81c5b584be "><code>a727d70</code></a> Genrics support: rename and comment methods</li>
<li><a href="https://github.com/vektra/mockery/commit/33c4bf34b943bf4bdf3af90af233be91d9afd9df "><code>33c4bf3</code></a> Generics mocking fixes</li>
<li><a href="https://github.com/vektra/mockery/commit/dc5539e60b321b00dd757e43ad04d97a2c55b7b3 "><code>dc5539e</code></a> Add support for generating mocks for generic interfaces</li>
<li>See full diff in <a href="https://github.com/vektra/mockery/compare/v2.12.3...v2.13.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>
2022-06-14 11:06:36 +00:00
Jeeyong Um and GitHub
a4cf8939b8
mempool: fix error message check in test ( #8750 )
2022-06-14 06:54:35 -04:00
Jeeyong Um and GitHub
21bbbe3e2a
mempool: fix typos in test ( #8746 )
2022-06-14 10:50:55 +02:00
Marko and GitHub
82907c84fa
sink/psql: json marshal instead of proto ( #8637 )
...
Storing transaction records as JSON makes it simpler for clients of the index.
2022-06-13 10:20:54 -07:00
Jasmina Malicevic and GitHub
06175129ed
abci-cli: added PrepareProposal command to cli ( #8656 )
...
* Prepare prosal cli
2022-06-13 14:09:57 +02:00
Sam Kleinman and GitHub
7172862786
e2e: split test cases to avoid hitting timeouts ( #8741 )
2022-06-11 08:21:55 -04:00
Callum Waters and GitHub
b0e48ca5f3
remove unused config variables ( #8738 )
2022-06-10 17:17:33 +02:00
Sam Kleinman and GitHub
8d9d19a113
e2e/generator: enlarge nightly test suite ( #8731 )
2022-06-09 18:22:47 -04:00
M. J. Fromberger and GitHub
6983885835
Update config migration test data for v0.36.x ( #8727 )
...
This is a trivial update, but also a convenient way to make sure the mergify settings are working.
2022-06-08 20:34:14 +00:00
dependabot[bot] and GitHub
bb0737ee3c
build(deps): Bump github.com/rs/zerolog from 1.26.1 to 1.27.0 ( #8724 )
...
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog ) from 1.26.1 to 1.27.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rs/zerolog/commit/e9344a8c507b5f25a4962ff022526be0ddab8e72 "><code>e9344a8</code></a> docs: add an example for Lshortfile-like implementation of CallerMarshalFunc ...</li>
<li><a href="https://github.com/rs/zerolog/commit/263b0bde367254a31e6e47ecca71a4d6b6ef393a "><code>263b0bd</code></a> <a href="https://github-redirect.dependabot.com/rs/zerolog/issues/411 ">#411</a> Add FieldsExclude parameter to console writer (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/418 ">#418</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/588a61c2df4bf7b92e12b826b226059b9f262190 "><code>588a61c</code></a> ctx: Modify WithContext to use a non-pointer receiver (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/409 ">#409</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/361cdf616a3c910e2f18382840a23c41464b1e67 "><code>361cdf6</code></a> Remove extra space in console when there is no message (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/413 ">#413</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/fc26014bd4e123b44e490619c6aa61238175e8fa "><code>fc26014</code></a> MsgFunc function added to Event (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/406 ">#406</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/025f9f18192466986662ddf062a3f6dcedcb2f6b "><code>025f9f1</code></a> journald: don't call Enabled before each write (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/407 ">#407</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/3efdd82416f68f3b359032b717160e317c9c2bd5 "><code>3efdd82</code></a> call done function when logger is disabled (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/393 ">#393</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/c0c2e11fc3cd04ae28d856789cf58ffd1666bc3f "><code>c0c2e11</code></a> Consistent casing, redundancy, and spelling/grammar (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/391 ">#391</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/665519c4da50d7d92b09495d384f748921b99562 "><code>665519c</code></a> Fix ConsoleWriter color on Windows (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/390 ">#390</a>)</li>
<li><a href="https://github.com/rs/zerolog/commit/0c8d3c0b10c36c11af00b9e75ca83e1be89b4d60 "><code>0c8d3c0</code></a> move the lint command to its own package (<a href="https://github-redirect.dependabot.com/rs/zerolog/issues/389 ">#389</a>)</li>
<li>See full diff in <a href="https://github.com/rs/zerolog/compare/v1.26.1...v1.27.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>
2022-06-08 13:09:16 +00:00
M. J. Fromberger and GitHub
e84ca617cf
Set up automation settings for the v0.36.x backport branch. ( #8714 )
...
- Add Mergify settings for backport labels.
- Add e2e nightly workflow for v0.36.x.
- Update documentation on e2e workflows.
- Add v0.36.x to the Dependabot configs.
2022-06-07 12:25:16 -07:00
Sam Kleinman and GitHub
931c98f7ad
rpc: always close http bodies ( #8712 )
...
Closes #8686
2022-06-07 16:40:22 +00:00
Elias Naur and GitHub
3bb68b49f5
ci(fuzz): remove Go 1.18 workaround for OSS-Fuzz ( #8711 )
2022-06-07 06:11:06 -07:00
618b841a4b
build(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 ( #8708 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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>
2022-06-07 04:59:00 -04:00
M. J. Fromberger and GitHub
3e97479ab8
Fix a "broken" markdown link. ( #8706 )
...
The link actually works in context because of the auto-redirect from GitHub,
but the link checker doesn't follow them. Splice out the redirect.
2022-06-07 08:13:05 +00:00
dependabot[bot] and GitHub
85d1946602
build(deps): Bump bufbuild/buf-setup-action from 1.4.0 to 1.5.0 ( #8701 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.4.0 to 1.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/bufbuild/buf-setup-action/releases ">bufbuild/buf-setup-action's releases</a>.</em></p>
<blockquote>
<h2>v1.5.0</h2>
<ul>
<li>Set the default buf version to v1.4.0</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/bufbuild/buf-setup-action/commit/8cc6b77780e6c67b36d921f57c95c75eea4801ba "><code>8cc6b77</code></a> Update to v1.5.0</li>
<li>See full diff in <a href="https://github.com/bufbuild/buf-setup-action/compare/v1.4.0...v1.5.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>
2022-06-06 17:17:28 +00:00
6b2a6ed402
build(deps-dev): Bump watchpack from 2.3.1 to 2.4.0 in /docs ( #8700 )
...
Bumps [watchpack](https://github.com/webpack/watchpack ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/webpack/watchpack/releases )
- [Commits](https://github.com/webpack/watchpack/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: watchpack
dependency-type: direct:development
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>
2022-06-06 07:35:37 -07:00
M. J. Fromberger and GitHub
48ec78e672
Update how Mockery mocks are checked for currency. ( #8697 )
...
The use of "go install" is deprecated as a way of installing and running the
Mockery binary. Update the runner script to depend on an ambient version of the
tool and ensure that in CI it's installed.
2022-06-03 15:02:04 -07:00
William Banfield and GitHub
75a12ea0c6
consensus: switch timeout message to be debug and clarify meaning ( #8694 )
2022-06-03 13:46:10 -04:00
Evan Forbes and GitHub
30929cf190
p2p: pass maxConns for MaxPeers during node setup ( #8684 )
...
* pass maxConns for MaxPeers
* add upgrade connections to max connections for max peers
* change the formula to calculate max peers
2022-06-03 07:22:38 -07:00
elias-orijtech and GitHub
db168ca558
test/fuzz: fix OSS-Fuzz build ( #8669 )
...
Broken by https://github.com/AdamKorcz/go-118-fuzz-build/commit/7bed8f92ea820f668efab099ec774d548f1873a8 .
- note the purpose of test/fuzz/oss-fuzz-build.sh
2022-06-03 06:02:59 -07:00
Callum Waters and GitHub
a0f3107d28
e2e: fix initialization of light client ( #8682 )
2022-06-03 10:50:06 +02:00
Sergio Mena and GitHub
ce6485fa70
Remove the abci responses type - prune legacy responses ( #8673 )
...
Closes #8069
* Type `ABCIResponses` was just wrapping type `ResponseFinalizeBlock`. This patch removes the former.
* Did some renaming to avoid confusion on the data structure we are working with.
* We also remove any stale ABCIResponses we may have in the state store at the time of pruning
**IMPORTANT**: There is an undesirable side-effect of the unwrapping. An empty `ResponseFinalizeBlock` yields a 0-length proto-buf serialized buffer. This was not the case with `ABCIResponses`. I have added an interim solution, but open for suggestions on more elegant ones.
2022-06-02 19:13:08 +00:00
M. J. Fromberger and GitHub
08099ff669
privval: restrict listeners to TCP and Unix domain sockets ( #8670 )
...
Front load the protocol type check so we do not wind up creating listeners of
types that are not usable for this interface (for example, UDP).
Fixes #8647 .
2022-06-02 10:20:00 -07:00