Commit Graph

10302 Commits

Author SHA1 Message Date
tycho garen 40fb981f98 comments 2022-06-15 11:36:46 -04:00
Sam Kleinman 796688e7d7 Apply suggestions from code review
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
2022-06-15 11:36:11 -04:00
tycho garen 053ecd9b8c comments mostly 2022-06-15 10:36:04 -04:00
tycho garen 95bc03927c connection tracking 2022-06-15 10:06:22 -04:00
tycho garen 0b7cfa77a3 add max dialing attempts 2022-06-15 09:31:21 -04:00
tycho garen 68840b3d15 Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change 2022-06-15 09:08:42 -04:00
tycho garen a8b93d27ba chagelog 2022-06-15 09:08:25 -04:00
Sam Kleinman 1062ae73d6 e2e/ci: add extra split to 0.36 (#8770) 2022-06-15 09:04:13 -04:00
tycho garen 487579fac4 Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change 2022-06-15 07:57:21 -04:00
dependabot[bot] 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 />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/vektra/mockery/v2&package-manager=go_modules&previous-version=2.13.0&new-version=2.13.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
2022-06-15 10:46:37 +00:00
Roman f0b0f34f3f refactor: improve string representation for a vote against the proposal (#8745) 2022-06-15 12:32:22 +02:00
Sam Kleinman 51b3f111dc p2p: fix mconn transport accept test (#8762)
Fix minor test incongruency missed earlier.
2022-06-14 23:48:48 +00:00
tycho garen 246e6d9154 Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change 2022-06-14 19:16:31 -04:00
Sam Kleinman 979a6a1b13 p2p: accept should not abort on first error (#8759) 2022-06-14 19:12:53 -04:00
Sam Kleinman bf1cb89bb7 Revert "p2p: self-add node should not error (tendermint#8753)" (#8757) 2022-06-14 20:55:10 +00:00
tycho garen 8195c97590 fix up advertise 2022-06-14 16:33:10 -04:00
tycho garen afae39c5af actually shuffle peers more 2022-06-14 16:15:20 -04:00
tycho garen d83dc8931e rename metrics 2022-06-14 16:04:06 -04:00
tycho garen c11c88d405 fix merge 2022-06-14 13:00:14 -04:00
Sam Kleinman 7971f4a2fc p2p: self-add node should not error (#8753) 2022-06-14 16:45:05 +00:00
tycho garen 720600ef62 update metrics 2022-06-14 09:23:26 -04:00
tycho garen b01fec9bbf default metrics to noop 2022-06-14 08:58:40 -04:00
tycho garen 5a71966981 fix test 2022-06-14 08:48:52 -04:00
tycho garen 2e9ca4ec23 fix compile 2022-06-14 08:29:03 -04:00
tycho garen 35dc9ea669 Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change 2022-06-14 07:49:20 -04:00
dependabot[bot] 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 />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/vektra/mockery/v2&package-manager=go_modules&previous-version=2.12.3&new-version=2.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
2022-06-14 11:06:36 +00:00
tycho garen c5b181686f Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change 2022-06-14 06:59:31 -04:00
tycho garen 9a0d4407d7 add metrics 2022-06-14 06:59:20 -04:00
Jeeyong Um a4cf8939b8 mempool: fix error message check in test (#8750) 2022-06-14 06:54:35 -04:00
Jeeyong Um 21bbbe3e2a mempool: fix typos in test (#8746) 2022-06-14 10:50:55 +02:00
Marko 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
tycho garen 420ae3790e fix panic
(cherry picked from commit 0a0425ae6f)
2022-06-13 12:26:18 -04:00
tycho garen 7d93b2e6d4 Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change 2022-06-13 10:54:03 -04:00
tycho garen 904390af2c cleanup peer manager 2022-06-13 10:47:25 -04:00
tycho garen 9abc55f3a0 fix scoring test 2022-06-13 08:56:27 -04:00
Jasmina Malicevic 06175129ed abci-cli: added PrepareProposal command to cli (#8656)
* Prepare prosal cli
2022-06-13 14:09:57 +02:00
Sam Kleinman 5150c3f904 Merge branch 'master' into p2p-dialer-store-change 2022-06-13 06:52:31 -04:00
Sam Kleinman 7172862786 e2e: split test cases to avoid hitting timeouts (#8741) 2022-06-11 08:21:55 -04:00
tycho garen 930fd7f2be test: new scoring 2022-06-10 16:57:51 -04:00
tycho garen 9f604fd2ef comment 2022-06-10 15:39:59 -04:00
Sam Kleinman 1c02758eaf Update internal/p2p/peermanager.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
2022-06-10 15:17:56 -04:00
Sam Kleinman f23f6e1089 Update internal/p2p/peermanager.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
2022-06-10 15:17:46 -04:00
tycho garen 4c8651026a overflows 2022-06-10 12:56:04 -04:00
tycho garen d6e3cab983 fix tests 2022-06-10 12:47:53 -04:00
tycho garen a12fa36e2f Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change 2022-06-10 12:21:39 -04:00
tycho garen eddb23b5af cleanup 2022-06-10 12:21:23 -04:00
tycho garen 31bd396c88 update comment 2022-06-10 11:53:37 -04:00
tycho garen e3068b50b2 make const 2022-06-10 11:51:36 -04:00
tycho garen 4e2bc8f51e reduce logging level 2022-06-10 11:23:14 -04:00
Callum Waters b0e48ca5f3 remove unused config variables (#8738) 2022-06-10 17:17:33 +02:00