JayT106
080dfab992
p2p/pex: reuse hash.Hasher per addrbook for speed ( #6509 ) ( #9445 )
...
Cherry-picking PR #6509
By pre-creating the hasher, instead of creating new one everytime addrbook.hash is called.
```
name old time/op new time/op delta
AddrBook_hash-8 181ns ±13% 80ns ± 1% -56.08% (p=0.000 n=10+10)
name old alloc/op new alloc/op delta
AddrBook_hash-8 216B ± 0% 8B ± 0% -96.30% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
AddrBook_hash-8 2.00 ± 0% 1.00 ± 0% -50.00% (p=0.000 n=10+10)
```
Fixed #6508
---
#### PR checklist
- [x] Tests written/updated, or no tests needed
- [x] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [x] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
2022-09-21 08:34:14 +00:00
JayT106
ab4238a0e2
crypto/merkle: optimize merkle tree hashing ( #6513 ) ( #9446 )
...
* crypto/merkle: optimize merkle tree hashing (#6513 )
Upstream https://github.com/lazyledger/lazyledger-core/pull/351 to optimize merkle tree hashing
```
benchmark old ns/op new ns/op delta
BenchmarkHashAlternatives/recursive-8 22914 21949 -4.21%
BenchmarkHashAlternatives/iterative-8 21634 21939 +1.41%
benchmark old allocs new allocs delta
BenchmarkHashAlternatives/recursive-8 398 200 -49.75%
BenchmarkHashAlternatives/iterative-8 399 301 -24.56%
benchmark old bytes new bytes delta
BenchmarkHashAlternatives/recursive-8 19088 6496 -65.97%
BenchmarkHashAlternatives/iterative-8 21776 13984 -35.78%
```
cc @odeke-em @cuonglm
* update pending log
Co-authored-by: Marko <marbar3778@yahoo.com >
2022-09-21 10:18:05 +02:00
JayT106
bfdeccd649
crypto/merkle: pre-allocate data slice in innherHash ( #6443 ) ( #9447 )
...
Cherry-picking PR #6443
#### PR checklist
- [x] Tests written/updated, or no tests needed
- [x] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [x] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
2022-09-21 08:00:53 +00:00
Callum Waters
e84d43ec93
cli: add --hard flag to rollback command to remove block as well ( #9261 )
...
Co-authored-by: Levi Aul <levi@leviaul.com >
2022-09-21 09:51:22 +02:00
Yawning Angel
2d1ada4d52
crypto: Upstream v0.35.x improvements ( #9255 )
...
* crypto: Use curve25519-voi
This switches the ed25519, sr25519 and merlin provider to curve25519-voi
and additionally adopts ZIP-215 semantics for ed25519 verification.
* crypto: Implement batch verification interface for ed25519 and sr25519
This commit adds the batch verification interface, but does not enable
it for anything.
* types: Use batch verification for verifying commits signatures
2022-09-21 09:34:04 +02:00
dependabot[bot]
c69ab68848
build(deps): Bump github.com/cosmos/gogoproto from 1.4.1 to 1.4.2 ( #9451 )
...
Bumps [github.com/cosmos/gogoproto](https://github.com/cosmos/gogoproto ) from 1.4.1 to 1.4.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/cosmos/gogoproto/releases ">github.com/cosmos/gogoproto's releases</a>.</em></p>
<blockquote>
<h2>v1.4.2</h2>
<h3>Features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/13 ">#13</a> Add <code>AllFileDescriptors</code> function.</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Fix typo in <code>doc.go</code>.</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Support for merging messages implementing Merger which are embedded by value.</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Use reflect.Value.String() for String kinds in proto equal.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/cosmos/gogoproto/blob/main/CHANGELOG.md ">github.com/cosmos/gogoproto's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/cosmos/gogoproto/releases/tag/v1.4.2 ">v1.4.2</a> - 2022-09-14</h2>
<h3>Features</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/13 ">#13</a> Add <code>AllFileDescriptors</code> function.</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Fix typo in <code>doc.go</code>.</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Support for merging messages implementing Merger which are embedded by value.</li>
<li><a href="https://github-redirect.dependabot.com/cosmos/gogoproto/pull/8 ">#8</a> Use reflect.Value.String() for String kinds in proto equal.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cosmos/gogoproto/commit/739310d858571659171cdd7b2ca8bea7076c7ff2 "><code>739310d</code></a> docs: add changelog (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/15 ">#15</a>)</li>
<li><a href="https://github.com/cosmos/gogoproto/commit/4f8afe8bcdc6a15f9890f6bb14b76d5b5b295cb5 "><code>4f8afe8</code></a> feat: add AllFileDescriptors function (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/13 ">#13</a>)</li>
<li><a href="https://github.com/cosmos/gogoproto/commit/27e576980886b16935ef005e856772fd51b3e7e3 "><code>27e5769</code></a> ci: fix proto registry workflow (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/12 ">#12</a>)</li>
<li><a href="https://github.com/cosmos/gogoproto/commit/c3a0399b5ef29be2bed06aa30827a024566fd652 "><code>c3a0399</code></a> feat: cherry-pick improvements from <code>gogo/protobuf</code> (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/8 ">#8</a>)</li>
<li><a href="https://github.com/cosmos/gogoproto/commit/ed9594ccc9df20896422046173e63cd25fb3ccd3 "><code>ed9594c</code></a> chore: bump protobuf (<a href="https://github-redirect.dependabot.com/cosmos/gogoproto/issues/9 ">#9</a>)</li>
<li>See full diff in <a href="https://github.com/cosmos/gogoproto/compare/v1.4.1...v1.4.2 ">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-09-20 14:30:18 +00:00
dependabot[bot]
10d1156add
build(deps): Bump github.com/bufbuild/buf from 1.7.0 to 1.8.0 ( #9452 )
...
Bumps [github.com/bufbuild/buf](https://github.com/bufbuild/buf ) from 1.7.0 to 1.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/bufbuild/buf/releases ">github.com/bufbuild/buf's releases</a>.</em></p>
<blockquote>
<h2>v1.8.0</h2>
<ul>
<li>Change default for <code>--origin</code> flag of <code>buf beta studio-agent</code> to <code>https://studio.buf.build </code></li>
<li>Change default for <code>--timeout</code> flag of <code>buf beta studio-agent</code> to <code>0</code> (no timeout). Before it was
<code>2m</code> (the default for all the other <code>buf</code> commands).</li>
<li>Add support for experimental code generation with the <code>plugin:</code> key in <code>buf.gen.yaml</code>.</li>
<li>Preserve single quotes with <code>buf format</code>.</li>
<li>Support <code>junit</code> format errors with <code>--error-format</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/bufbuild/buf/blob/main/CHANGELOG.md ">github.com/bufbuild/buf's changelog</a>.</em></p>
<blockquote>
<h2>[v1.8.0] - 2022-09-14</h2>
<ul>
<li>Change default for <code>--origin</code> flag of <code>buf beta studio-agent</code> to <code>https://studio.buf.build </code></li>
<li>Change default for <code>--timeout</code> flag of <code>buf beta studio-agent</code> to <code>0</code> (no timeout). Before it was
<code>2m</code> (the default for all the other <code>buf</code> commands).</li>
<li>Add support for experimental code generation with the <code>plugin:</code> key in <code>buf.gen.yaml</code>.</li>
<li>Preserve single quotes with <code>buf format</code>.</li>
<li>Support <code>junit</code> format errors with <code>--error-format</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/bufbuild/buf/commit/dbd4a13a086870e6953ce06d843fc73eae0988e9 "><code>dbd4a13</code></a> Update to v1.8.0</li>
<li><a href="https://github.com/bufbuild/buf/commit/4ab9fb1d8264f78b2918bd68b6c19dab2ef84248 "><code>4ab9fb1</code></a> Add <code>LimitWriteBucket</code> (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1390 ">#1390</a>)</li>
<li><a href="https://github.com/bufbuild/buf/commit/95670a74cb1ae584eb975ad77ee070920c5c32a8 "><code>95670a7</code></a> Rename repo member to contributor (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1402 ">#1402</a>)</li>
<li><a href="https://github.com/bufbuild/buf/commit/57e6293ddae968650e88319645372194e5418d35 "><code>57e6293</code></a> fix comment to reference new command name (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1401 ">#1401</a>)</li>
<li><a href="https://github.com/bufbuild/buf/commit/382276c38eb92e425f4ce2f4cc5f5ab637f05488 "><code>382276c</code></a> add httpserver.Run function (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1397 ">#1397</a>)</li>
<li><a href="https://github.com/bufbuild/buf/commit/f3fe91a9c06cc84c1b07c715ffe40d123e58dde7 "><code>f3fe91a</code></a> fix local generation using plugin key (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1399 ">#1399</a>)</li>
<li><a href="https://github.com/bufbuild/buf/commit/59abf7924be5cde914e3931ca4a6d52b99b5cb3d "><code>59abf79</code></a> BSR-527 - Adds old visibility to repository visiblity changed event. (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1398 ">#1398</a>)</li>
<li><a href="https://github.com/bufbuild/buf/commit/0f5d198dac13085a6f72f3fca4994f5f7f33ba5c "><code>0f5d198</code></a> BSR-527 - Adds <code>PayloadRepositoryVisibilityChanged</code> (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1395 ">#1395</a>)</li>
<li><a href="https://github.com/bufbuild/buf/commit/5da7dc20c28904e13d51020c7de14f2ce170bf12 "><code>5da7dc2</code></a> Add curated plugin search term (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1394 ">#1394</a>)</li>
<li><a href="https://github.com/bufbuild/buf/commit/495c5912fba633cfeb16f1a8a2bf1648b4cb9631 "><code>495c591</code></a> implement protocol for negotiating supported features with plugin (<a href="https://github-redirect.dependabot.com/bufbuild/buf/issues/1360 ">#1360</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/bufbuild/buf/compare/v1.7.0...v1.8.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-09-20 13:20:05 +00:00
dependabot[bot]
0f857047c5
build(deps): Bump bufbuild/buf-setup-action from 1.7.0 to 1.8.0 ( #9450 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.7.0 to 1.8.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.8.0</h2>
<ul>
<li>Set the default buf version to v1.8.0</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/bufbuild/buf-setup-action/commit/ebfad693a1cf43c5a8fc187a3f6ffc9d4b5dea8f "><code>ebfad69</code></a> Update to v1.8.0</li>
<li><a href="https://github.com/bufbuild/buf-setup-action/commit/9da1a4b6830c677d785fcdb5dd0c65e651860ca4 "><code>9da1a4b</code></a> upgrade dependencies (<a href="https://github-redirect.dependabot.com/bufbuild/buf-setup-action/issues/58 ">#58</a>)</li>
<li>See full diff in <a href="https://github.com/bufbuild/buf-setup-action/compare/v1.7.0...v1.8.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-09-20 13:05:28 +00:00
JayT106
db26cff58f
state: move pruneBlocks from consensus/state to state/execution ( #9443 )
2022-09-20 11:30:22 +02:00
William Banfield
a8efef1854
rfc: simplify mempool to support more broad tendermint uses ( #9294 )
...
For: #9240
📖 [Rendered](https://github.com/tendermint/tendermint/blob/wb/app-side-mempool/docs/rfc/rfc-025-support-app-side-mempool.md )
#### PR checklist
- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
2022-09-19 21:23:46 +00:00
Callum Waters
21a3bbda3f
state: restore previous error message ( #9435 )
2022-09-16 14:49:51 +02:00
Thane Thomson
0c96f0b434
docs: Remove dev base tagging from release branch creation ( #9434 )
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-09-15 09:15:12 -04:00
Thane Thomson
3293ce6f94
docs: Enable build for v0.37.x branch ( #9433 )
2022-09-13 19:12:48 -04:00
dependabot[bot]
d67be51ef4
build(deps): Bump slackapi/slack-github-action from 1.21.0 to 1.22.0 ( #9431 )
...
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action ) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases )
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.21.0...v1.22.0 )
---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 16:53:17 -04:00
Thane Thomson
10f3626e6f
ci: Only allow automated security-related updates until v0.37.0 release ( #9430 )
...
As per discussion with @sergio-mena, this should disable all automated
dependency updates that are not security-related. We should make this
part of our standard practice when cutting new major releases, given
that our QA process for major releases is expensive at present and we
cannot re-run it for every dependency update.
Once we have cut a final major release, we can consider re-enabling
automated dependency updates here that can be rolled out in minor
releases.
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-09-13 16:46:34 -04:00
dependabot[bot]
7bd84cd8cc
build(deps): Bump github.com/gofrs/uuid ( #9406 )
...
Bumps [github.com/gofrs/uuid](https://github.com/gofrs/uuid ) from 4.2.0+incompatible to 4.3.0+incompatible.
- [Release notes](https://github.com/gofrs/uuid/releases )
- [Commits](https://github.com/gofrs/uuid/compare/v4.2.0...v4.3.0 )
---
updated-dependencies:
- dependency-name: github.com/gofrs/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 16:31:30 -04:00
dependabot[bot]
7feb484765
build(deps): Bump gonum.org/v1/gonum from 0.8.2 to 0.12.0 ( #9407 )
...
Bumps gonum.org/v1/gonum from 0.8.2 to 0.12.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-09-13 14:25:37 +00:00
dependabot[bot]
2d77374d4f
build(deps): Bump github.com/lib/pq from 1.10.6 to 1.10.7 ( #9405 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.6 to 1.10.7.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/lib/pq/commit/d5affd5073b06f745459768de35356df2e5fd91d "><code>d5affd5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/lib/pq/issues/1088 ">#1088</a> from kelvich/sni_support</li>
<li><a href="https://github.com/lib/pq/commit/d65e6ae4bdd1c86b16cd6d2bcff4fe970dc697b4 "><code>d65e6ae</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/lib/pq/issues/1083 ">#1083</a> from nhooyr/fix-receiver-51e2</li>
<li><a href="https://github.com/lib/pq/commit/957fc0b40156534f8dd356bc81679d7e1365242b "><code>957fc0b</code></a> Set SNI for TSL connections</li>
<li><a href="https://github.com/lib/pq/commit/89fee896440712bc328c9087ea185c3990053f31 "><code>89fee89</code></a> Use pointer receiver on pq.Error.Error()</li>
<li>See full diff in <a href="https://github.com/lib/pq/compare/v1.10.6...v1.10.7 ">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-09-13 13:07:15 +00:00
dependabot[bot]
c1f163f39b
build(deps): Bump github.com/spf13/viper from 1.12.0 to 1.13.0 ( #9408 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.12.0 to 1.13.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.13.0</h2>
<p><strong>Important:</strong> This is the last release supporting Go 1.15.</p>
<h2>What's Changed</h2>
<h3>Exciting New Features 🎉 </h3>
<ul>
<li>Add etcd3 to supported remote providers by <a href="https://github.com/franklinkim "><code>@franklinkim</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1371 ">spf13/viper#1371</a></li>
</ul>
<h3>Enhancements 🚀 </h3>
<ul>
<li>Fix go-staticcheck failures (ST1005) by <a href="https://github.com/mjmaisey "><code>@mjmaisey</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1373 ">spf13/viper#1373</a></li>
<li>Use jsonc in markdown codeblocks for better readability by <a href="https://github.com/HurSungYun "><code>@HurSungYun</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1393 ">spf13/viper#1393</a></li>
<li>Add Go 1.19 support by <a href="https://github.com/sagikazarmark "><code>@sagikazarmark</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1424 ">spf13/viper#1424</a></li>
<li>Adds support for uint16 with <code>GetUint16</code> by <a href="https://github.com/oxisto "><code>@oxisto</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1405 ">spf13/viper#1405</a></li>
<li>Add a DebugTo convenience funtion by <a href="https://github.com/bcrochet "><code>@bcrochet</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1414 ">spf13/viper#1414</a></li>
</ul>
<h3>Bug Fixes 🐛 </h3>
<ul>
<li>Recurse into arrays when converting keys to lowercase by <a href="https://github.com/awrichar "><code>@awrichar</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1387 ">spf13/viper#1387</a></li>
</ul>
<h3>Dependency Updates ⬆️ </h3>
<ul>
<li>build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1374 ">spf13/viper#1374</a></li>
<li>build(deps): bump github.com/subosito/gotenv from 1.3.0 to 1.4.0 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1375 ">spf13/viper#1375</a></li>
<li>build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.1 to 2.0.2 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1378 ">spf13/viper#1378</a></li>
<li>build(deps): bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1360 ">spf13/viper#1360</a></li>
<li>build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1381 ">spf13/viper#1381</a></li>
<li>build(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.4 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1384 ">spf13/viper#1384</a></li>
<li>build(deps): bump mheap/github-action-required-labels from 1 to 2 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1383 ">spf13/viper#1383</a></li>
<li>build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1395 ">spf13/viper#1395</a></li>
<li>build(deps): bump github.com/subosito/gotenv from 1.4.0 to 1.4.1 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1420 ">spf13/viper#1420</a></li>
<li>build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.2 to 2.0.5 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1422 ">spf13/viper#1422</a></li>
<li>build(deps): bump gopkg.in/ini.v1 from 1.66.4 to 1.67.0 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1412 ">spf13/viper#1412</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/mjmaisey "><code>@mjmaisey</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1373 ">spf13/viper#1373</a></li>
<li><a href="https://github.com/HurSungYun "><code>@HurSungYun</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1393 ">spf13/viper#1393</a></li>
<li><a href="https://github.com/franklinkim "><code>@franklinkim</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1371 ">spf13/viper#1371</a></li>
<li><a href="https://github.com/awrichar "><code>@awrichar</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1387 ">spf13/viper#1387</a></li>
<li><a href="https://github.com/oxisto "><code>@oxisto</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1405 ">spf13/viper#1405</a></li>
<li><a href="https://github.com/bcrochet "><code>@bcrochet</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/spf13/viper/pull/1414 ">spf13/viper#1414</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/spf13/viper/compare/v1.12.0...v1.13.0 ">https://github.com/spf13/viper/compare/v1.12.0...v1.13.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/spf13/viper/commit/57cc9a000f5fe0ec654d189958b66f20f31fd21a "><code>57cc9a0</code></a> test: fix ini tests</li>
<li><a href="https://github.com/spf13/viper/commit/8030d5b97630cd111e2cdfa29206a0d12e5bdcf9 "><code>8030d5b</code></a> build(deps): bump gopkg.in/ini.v1 from 1.66.4 to 1.67.0</li>
<li><a href="https://github.com/spf13/viper/commit/312417a0c5abe15ac04f6ac66c88caa203b44012 "><code>312417a</code></a> Add a DebugTo convenience funtion</li>
<li><a href="https://github.com/spf13/viper/commit/202060b3a253bbac94795be51ca0b8e7432bf0fb "><code>202060b</code></a> Adds support for uint16 with <code>GetUint16</code></li>
<li><a href="https://github.com/spf13/viper/commit/97591f0083a5382d4187bb20fe5a8fad22d1f619 "><code>97591f0</code></a> build: fix lint violations</li>
<li><a href="https://github.com/spf13/viper/commit/9af8daeeab8febd26877f0bbc10aa0c535b32a73 "><code>9af8dae</code></a> ci: upgrade golangci-lint</li>
<li><a href="https://github.com/spf13/viper/commit/7b4f2b27cdea43d257a5eb1cbbcd0cfc49a1a956 "><code>7b4f2b2</code></a> ci: add Go 1.19 to CI</li>
<li><a href="https://github.com/spf13/viper/commit/601ec815baa479aec40c4b7eb20fe38acf999d02 "><code>601ec81</code></a> test: fix toml tests</li>
<li><a href="https://github.com/spf13/viper/commit/d7f4832bd3c13d295bbef0177c86c413486e8ac9 "><code>d7f4832</code></a> build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.2 to 2.0.5</li>
<li><a href="https://github.com/spf13/viper/commit/c2f42f306019ce4a1680693d4cf284d499d61041 "><code>c2f42f3</code></a> build(deps): bump github.com/subosito/gotenv from 1.4.0 to 1.4.1</li>
<li>Additional commits viewable in <a href="https://github.com/spf13/viper/compare/v1.12.0...v1.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-09-13 09:29:58 +00:00
mmsqe
e80dd00894
backport: performance improvements for the event query API ( #7319 ) ( #9334 )
...
* Performance improvements for the event query API (#7319 )
Rework the implementation of event query parsing and execution to
improve performance and reduce memory usage.
Previous memory and CPU profiles of the pubsub service showed query
processing as a significant hotspot. While we don't have evidence that
this is visibly hurting users, fixing it is fairly easy and self-contained.
Updates #6439 .
Typical benchmark results comparing the original implementation (PEG) with the reworked implementation (Custom):
```
TEST TIME/OP BYTES/OP ALLOCS/OP SPEEDUP MEM SAVING
BenchmarkParsePEG-12 51716 ns 526832 27
BenchmarkParseCustom-12 2167 ns 4616 17 23.8x 99.1%
BenchmarkMatchPEG-12 3086 ns 1097 22
BenchmarkMatchCustom-12 294.2 ns 64 3 10.5x 94.1%
```
2022-09-13 10:42:14 +02:00
Callum Waters
93ead3d0e5
remove fast sync deprecation warning ( #9414 )
2022-09-13 10:18:52 +02:00
Riccardo Montagnin
8e90d294ca
feat: support HTTPS inside websocket ( #9416 )
2022-09-13 10:02:19 +02:00
Thane Thomson
dfefd837e7
docs: Update ADRs for v0.37 ( #9399 )
...
* ADR-060 accepted -> proposed
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-061 accepted -> proposed
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-062 implemented -> proposed
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-063 implemented -> accepted
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-077: Update title and status to reflect current reality
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-078: Update status to reflect current reality
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-079: accepted
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-068 and ADR-080: proposed
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-065: implemented
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ADR-076: implemented
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-09-12 07:23:11 -04:00
Elias Naur
ac866e38d4
test/fuzz: bring changes from v0.34.x into main ( #9299 )
2022-09-11 16:27:42 +02:00
Wachiu Siu
0f45086c5f
update btcec to v2 and use the latest btcutil ( #9250 )
...
* secp256k1: upgrade to latest btcec v2 and btcutil
* Update CHANGELOG_PENDING.md
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* fix rebase
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-09-09 07:32:23 -04:00
samricotta
5013bc3f4a
Update to markdown links ( #9384 )
...
* first correction of markdown links
* Review updates
2022-09-08 10:31:35 +02:00
William Banfield
59a711eabe
test: generate uuid on startup for load tool ( #9383 )
...
the `NewClient` method is called by the load test framework for each connection. This means that if multiple connections are instantiated, each connection will erroneously have its own UUID. This PR changes the UUID generation to happen at the _beginning_ of the script instead of on client creation so that each experimental run shares a UUID.
Caught while preparing the script for production readiness.
#### PR checklist
- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
2022-09-08 01:00:07 +00:00
samricotta
43ebbed9c2
add redirect links ( #9385 )
2022-09-07 09:27:48 -04:00
Marko
ffce253273
print all versions of tendermint and its sub protocols ( #9329 )
2022-09-07 14:32:56 +02:00
Callum Waters
2ae117ef62
config: fix broken test ( #9309 )
2022-09-07 11:42:20 +02:00
dependabot[bot]
1944dfd873
build(deps): Bump gonum.org/v1/gonum from 0.11.0 to 0.12.0 ( #9378 )
2022-09-07 10:34:03 +02:00
Sergio Mena
d54ed6423f
Add missing changes changelog files ( #9376 )
...
* Copy over v0.34.21 section of `CHANGELOG.md`
* Missing breaking changes in `CHANGELOG_PENDING.md`
* bump
* Fix doc link
* Fix doc link 2
2022-09-06 20:48:49 +02:00
William Banfield
1067ba1571
add separated runs by UUID ( #9367 )
...
This _should_ be the last piece needed for this tool.
This allows the tool to generate reports on multiple experimental runs that may have been performed against the same chain.
The `load` tool has been updated to generate a `UUID` on startup to uniquely identify each experimental run. The `report` tool separates all of the results it reads by `UUID` and performs separate calculations for each discovered experiment.
Sample output is as follows
```
Experiment ID: 6bd7d1e8-d82c-4dbe-a1b3-40ab99e4fa30
Connections: 1
Rate: 1000
Size: 1024
Total Valid Tx: 9000
Total Negative Latencies: 0
Minimum Latency: 86.632837ms
Maximum Latency: 1.151089602s
Average Latency: 813.759361ms
Standard Deviation: 225.189977ms
Experiment ID: 453960af-6295-4282-aed6-367fc17c0de0
Connections: 1
Rate: 1000
Size: 1024
Total Valid Tx: 9000
Total Negative Latencies: 0
Minimum Latency: 79.312992ms
Maximum Latency: 1.162446243s
Average Latency: 422.755139ms
Standard Deviation: 241.832475ms
Total Invalid Tx: 0
```
closes : #9352
#### PR checklist
- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
2022-09-06 14:38:08 +00:00
Julien Robert
101bf50e71
refactor: migrate to cosmos/gogoproto ( #9356 )
...
* refactor: migrate to `cosmos/gogoproto`
* add changelog
* Update Makefile
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* update link
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-09-06 07:28:37 -04:00
Thane Thomson
d7645628f1
ci: Remove "(WARNING: BETA SOFTWARE)" tagline from all upcoming releases ( #9371 )
...
This is by no means a signal that we offer any additional guarantees with our software. This warning seems somewhat pointless given that:
1. Our open source license clearly states that we offer no warranties with this software.
2. We are clearly still pre-1.0.
It also doesn't make sense to append "(WARNING: BETA SOFTWARE)" to pre-releases such as alpha releases, which are to be considered _more_ unstable than beta releases.
---
#### PR checklist
- [x] Tests written/updated, or no tests needed
- [x] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [x] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
2022-09-03 14:59:29 +00:00
HaoTian
e667b855c7
fix(doc): wrong link address ( #9370 )
...
Signed-off-by: 117503445 <t117503445@gmail.com >
Signed-off-by: 117503445 <t117503445@gmail.com >
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-09-03 08:39:13 -04:00
dependabot[bot]
c71efd1283
build(deps): Bump github.com/golangci/golangci-lint ( #9323 )
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.48.0 to 1.49.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.48.0...v1.49.0 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 08:29:35 -04:00
Thane Thomson
6bdc970377
ci: Pre-release workflows ( #9366 )
...
In preparation for the v0.37 release, this PR updates:
1. The [release guidelines](https://github.com/tendermint/tendermint/blob/thane/pre-release-workflows/RELEASES.md#pre-releases ) regarding alpha and beta versions, as well as release candidates.
2. The GitHub workflows to build all 3 kinds of pre-releases for:
1. Docker images
2. Binaries (I'm still not 100% sure whether this is necessary, but it does act as a clear signal to users that a pre-release is available, and pre-built binaries could be useful for people running testnets who don't use Docker)
3. The Goreleaser config to auto-detect whether a tag is a pre-release and mark it as such as the release is created on GitHub.
---
#### PR checklist
- [x] Tests written/updated, or no tests needed
- [x] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [x] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
2022-09-02 23:16:28 +00:00
William Banfield
8655080a0f
test: add the loadtime report tool ( #9351 )
...
This pull request adds the report tool and modifies the loadtime libraries to better support its use.
2022-09-02 13:32:56 -04:00
Sergio Mena
bf73c7985e
Update Tendermint version in main ( #9360 )
2022-09-02 13:01:14 -04:00
Jasmina Malicevic
6371f02810
spec: abci++ cleanup for v0.37 ( #9288 )
...
* v0.36 abci++ spec
* Basic concepts cleanup
* Resurrected beginBlock to EndBlock sequence
* Global Lock in Concurrency
* ResponseProcessProposal returns list of bytes
* Fixed broken links; added ExtendedCommitInfo and ExtendedVoteInfo
* Replace spec/abci with abci++ content
* Removed spec/abci
Co-authored-by: Sergio Mena <sergio@informal.systems >
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-09-02 09:58:10 +02:00
Thane Thomson
b055535397
abci: Set version to 1.0.0 ( #9341 )
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-09-01 21:44:45 -04:00
samricotta
2ff11e5bc2
Update rpc client header ( #9276 )
...
* Update rpc client header
2022-09-01 14:35:07 +02:00
William Banfield
70fd943bdf
test: add the loadtime tool ( #9342 )
...
This pull request adds the loadtime tool. This tool leverages the tm-load-test framework. Using the framework means that the only real logic that needs to be written is the logic for Tx generation. The framework does the rest.
The tool writes a set of metadata into the transaction, including the current transaction rate, number of connections, specified size of the transaction, and the current time.
2022-08-31 16:41:15 -04:00
Thane Thomson
f1835338d9
docs: Update RELEASES.md to reflect current process ( #9339 )
...
* docs: Update RELEASES.md to reflect current process
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove unnecessary asterisk
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-08-31 07:25:42 -04:00
Thane Thomson
bdf0217bd8
ci: Prepare for v0.37 release branch ( #9338 )
...
* Add nightly E2E tests on v0.37.x branch
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add mergify config to backport to v0.37.x
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update dependabot config for v0.37.x
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-08-30 22:53:12 -04:00
Thane Thomson
cceea4de22
chore: Format and fix lints ( #9336 )
...
* make format
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix linting directives
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* make mockery
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Appease CI linter
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Appease CI linter
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
dev-v0.38.0
2022-08-30 12:28:46 -04:00
Thane Thomson
7b40167f58
abci: Port EventAttribute field type change to main ( #9335 )
...
* types: Refactor EventAttribute (#6408 )
Cherry-pick of 09a6ad7b1e
* Ensure context is honored
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Replace with tagged switch
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Ensure contexts are honored
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add UPGRADING note about type change
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove unnecessary conversion
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com >
2022-08-30 10:13:55 -04:00
dependabot[bot]
2313f35800
build(deps): Bump google.golang.org/grpc from 1.48.0 to 1.49.0 ( #9322 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.48.0 to 1.49.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.49.0</h2>
<h1>New Features</h1>
<ul>
<li>gcp/observability: add support for Environment Variable <code>GRPC_CONFIG_OBSERVABILITY_JSON</code> (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5525 ">#5525</a>)</li>
<li>gcp/observability: add support for custom tags (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5565 ">#5565</a>)</li>
</ul>
<h1>Behavior Changes</h1>
<ul>
<li>server: reduce log level from Warning to Info for early connection establishment errors (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5524 ">#5524</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/jpkrohling "><code>@jpkrohling</code></a></li>
</ul>
</li>
</ul>
<h1>Bug Fixes</h1>
<ul>
<li>client: fix race in flow control that could lead to unexpected EOF errors (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5494 ">#5494</a>)</li>
<li>client: fix a race that could cause RPCs to time out instead of failing more quickly with UNAVAILABLE (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5503 ">#5503</a>)</li>
<li>client & server: fix a panic caused by passing a <code>nil</code> stats handler to <code>grpc.WithStatsHandler</code> or <code>grpc.StatsHandler</code> (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5543 ">#5543</a>)</li>
<li>transport/server: fix a race that could cause a stray header to be sent (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5513 ">#5513</a>)</li>
<li>balancer: give precedence to <code>IDLE</code> over <code>TRANSIENT_FAILURE</code> when aggregating connectivity state (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5473 ">#5473</a>)</li>
<li>xds/xdsclient: request correct resource name when user specifies a new style resource name with empty authority (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5488 ">#5488</a>)</li>
<li>xds/xdsclient: NACK endpoint resources with zero weight (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5560 ">#5560</a>)</li>
<li>xds/xdsclient: fix bug that would reset resource version information after ADS stream restart (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5422 ">#5422</a>)</li>
<li>xds/xdsclient: fix goroutine leaks when load reporting is enabled (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5505 ">#5505</a>)</li>
<li>xds/ringhash: fix config update processing to recreate ring and picker when min/max ring size changes (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5557 ">#5557</a>)</li>
<li>xds/ringhash: avoid recreating subChannels when update doesn't change address weight information (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5431 ">#5431</a>)</li>
<li>xds/priority: fix bug which could cause priority LB to block all traffic after a config update (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5549 ">#5549</a>)</li>
<li>xds: fix bug when environment variable <code>GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION</code> is set to true (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5537 ">#5537</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/grpc/grpc-go/commit/1c29e075ab1c83a455cf942dd148c467a879800a "><code>1c29e07</code></a> Change version to 1.49.0 (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5583 ">#5583</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/8e5a84e6b2dec2a96d0b780eeb93cbfd4928086e "><code>8e5a84e</code></a> xds/resolver: generate channel ID randomly (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5603 ">#5603</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/92cee3440fed794a84394c42046b6b61c07af705 "><code>92cee34</code></a> gcp/observability: Add logging filters for logging, tracing, and metrics API ...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/c7fe135d124ebd51e6a9728d1e55c7bebc85407e "><code>c7fe135</code></a> O11Y: Added support for custom tags (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5565 ">#5565</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/7981af402b2327512c001f8c8eb92b5034ec8ad4 "><code>7981af4</code></a> test/kokoro: add missing image tagging to the xDS interop url map buildscript...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/6f34b7ad1546ea084ed79f4b1db6ba5e61c2d8c4 "><code>6f34b7a</code></a> xdsclient: NACK endpoint resource if load_balancing_weight is specified and i...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/f9409d385fbaa24c04d2c634aafe974f4f13a042 "><code>f9409d3</code></a> ringhash: handle config updates properly (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5557 ">#5557</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/946dde008f3d66634ab1ae4624a44efb10aa5be6 "><code>946dde0</code></a> xdsclient: NACK endpoint resources with zero weight (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5560 ">#5560</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/b89f49b0ffe3a1ebdf037e7e42dc99ca6a90c8a5 "><code>b89f49b</code></a> xdsclient: deflake Test/LDSWatch_PartialValid (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5552 ">#5552</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/9bc72deba4d2107740084b05f415a766a62c6e06 "><code>9bc72de</code></a> grpc: remove mentions of WithBalancerName from comments (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5555 ">#5555</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/grpc/grpc-go/compare/v1.48.0...v1.49.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-08-29 13:01:00 +00:00
Sergio Mena
3233568cee
Added PrepareProposal and ProcessProposal data CHANGELOG_PENDING.md. Reworked UPGRADING.md ( #9315 )
...
* master-->main in `CONTRIBUTING.md`
* Added feature branches in `CONTRIBUTING.md`
* Fixes to `UPGRADING.md`
* [cherrypicked] docs: minor tweaks (#5404 )
* docs: fix /validators description
Refs https://github.com/tendermint/spec/pull/169
* consensus: remove nil err from logging statement
* update UPGRADING.md
* note about LightBlocks
* Reworked "Unreleased" section of `UPGRADING.md`
* Added PrepareProposal and ProcessProposal to `CHANGELOG_PENDING.md`
* Apply suggestions from @thanethomson's code review
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* Addressed @tychoish's comment
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com >
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-08-26 23:53:13 +02:00