Thane Thomson
d53d11d8be
Improve legibility
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-09 19:15:23 -04:00
Thane Thomson
20fadb6e5e
types: Minor legibility improvements
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-09 19:15:22 -04:00
Thane Thomson
7b1f36d4a2
make format
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-09 19:15:22 -04:00
Thane Thomson
ecb523cb17
state: Ensure no of commit sigs equals validator set length
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-09 19:15:22 -04:00
Thane Thomson
d688cf0e47
state: Remove unnecessary comment
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-09 19:15:21 -04:00
Thane Thomson
8922ae417a
Increase hard-coded vote extension max size to 1MB
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-09 19:15:21 -04:00
Thane Thomson
2cbaa35c89
Remove Sergio from TODO
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-09 19:15:21 -04:00
Thane Thomson
db91461030
Merge branch 'master' into thane/8272-propagate-vote-extensions
2022-05-09 19:15:09 -04:00
William Banfield
4b36feaa2b
scripts/metricsgen: add the initial version of metricsgen ( #8479 )
...
This pull requests adds a new tool, metricsgen, for generating Tendermint metrics constructors from `Metrics` struct definitions. This tool aims to reduce the amount of boilerplate required to add additional metrics to Tendermint.
Its working is fairly simple, it parses the go ast, extracts field information, and uses this field information to execute a go template.
This pull request also adds a proof-of-concept of the tool's output and working by using it to generate the [indexer metrics](https://github.com/tendermint/tendermint/pull/8479/files#diff-4b0c597b6fa05332a2f9a8e0ce079e360602942fae99dc5485f1edfe71c0a29e ) using `//go:generate` directives and a simple `make` target.
The next steps for this tool are documented in https://github.com/tendermint/tendermint/issues/8485 and https://github.com/tendermint/tendermint/issues/8486 , which detail using the tool to generate the `metrics.md` documentation file and using the tool to migrate away from `go-kit`.
2022-05-09 22:52:10 +00:00
dependabot[bot]
b52b8f2740
build(deps): Bump docker/login-action from 1.14.1 to 2.0.0 ( #8481 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.14.1 to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/docker/login-action/releases ">docker/login-action's releases</a>.</em></p>
<blockquote>
<h2>v2.0.0</h2>
<ul>
<li>Node 16 as default runtime by <a href="https://github.com/crazy-max "><code>@crazy-max</code></a> (<a href="https://github-redirect.dependabot.com/docker/login-action/issues/161 ">#161</a>)
<ul>
<li>This requires a minimum <a href="https://github.com/actions/runner/releases/tag/v2.285.0 ">Actions Runner</a> version of v2.285.0, which is by default available in GHES 3.4 or later.</li>
</ul>
</li>
<li>chore: update dev dependencies and workflow by <a href="https://github.com/crazy-max "><code>@crazy-max</code></a> (<a href="https://github-redirect.dependabot.com/docker/login-action/issues/170 ">#170</a>)</li>
<li>Bump <code>@actions/exec</code> from 1.1.0 to 1.1.1 (<a href="https://github-redirect.dependabot.com/docker/login-action/issues/167 ">#167</a>)</li>
<li>Bump <code>@actions/io</code> from 1.1.1 to 1.1.2 (<a href="https://github-redirect.dependabot.com/docker/login-action/issues/168 ">#168</a>)</li>
<li>Bump minimist from 1.2.5 to 1.2.6 (<a href="https://github-redirect.dependabot.com/docker/login-action/issues/176 ">#176</a>)</li>
<li>Bump https-proxy-agent from 5.0.0 to 5.0.1 (<a href="https://github-redirect.dependabot.com/docker/login-action/issues/182 ">#182</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/login-action/compare/v1.14.1...v2.0.0 ">https://github.com/docker/login-action/compare/v1.14.1...v2.0.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="49ed152c8e "><code>49ed152</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/login-action/issues/161 ">#161</a> from crazy-max/node16-runtime</li>
<li><a href="b61a9ce7bd "><code>b61a9ce</code></a> Node 16 as default runtime</li>
<li><a href="3a136a8631 "><code>3a136a8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/login-action/issues/182 ">#182</a> from docker/dependabot/npm_and_yarn/https-proxy-agent...</li>
<li><a href="b312880b69 "><code>b312880</code></a> Update generated content</li>
<li><a href="795794e081 "><code>795794e</code></a> Bump https-proxy-agent from 5.0.0 to 5.0.1</li>
<li><a href="1edf6180e0 "><code>1edf618</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/login-action/issues/179 ">#179</a> from docker/dependabot/github_actions/codecov/codecov...</li>
<li><a href="8e66ad4089 "><code>8e66ad4</code></a> Bump codecov/codecov-action from 2 to 3</li>
<li><a href="7c79b598ea "><code>7c79b59</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/login-action/issues/176 ">#176</a> from docker/dependabot/npm_and_yarn/minimist-1.2.6</li>
<li><a href="24a38e0d6d "><code>24a38e0</code></a> Bump minimist from 1.2.5 to 1.2.6</li>
<li><a href="70e1ff84cb "><code>70e1ff8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/login-action/issues/170 ">#170</a> from crazy-max/eslint</li>
<li>Additional commits viewable in <a href="https://github.com/docker/login-action/compare/v1.14.1...v2.0.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-05-09 14:35:43 +00:00
dependabot[bot]
083716b22a
build(deps): Bump docker/build-push-action from 2.10.0 to 3.0.0 ( #8482 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.10.0 to 3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/docker/build-push-action/releases ">docker/build-push-action's releases</a>.</em></p>
<blockquote>
<h2>v3.0.0</h2>
<ul>
<li>Node 16 as default runtime by <a href="https://github.com/crazy-max "><code>@crazy-max</code></a> (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/564 ">#564</a>)
<ul>
<li>This requires a minimum <a href="https://github.com/actions/runner/releases/tag/v2.285.0 ">Actions Runner</a> version of v2.285.0, which is by default available in GHES 3.4 or later.</li>
</ul>
</li>
<li>Standalone mode support by <a href="https://github.com/crazy-max "><code>@crazy-max</code></a> (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/601 ">#601</a> <a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/609 ">#609</a>)</li>
<li>chore: update dev dependencies and workflow by <a href="https://github.com/crazy-max "><code>@crazy-max</code></a> (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/571 ">#571</a>)</li>
<li>Bump <code>@actions/exec</code> from 1.1.0 to 1.1.1 (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/573 ">#573</a>)</li>
<li>Bump <code>@actions/github</code> from 5.0.0 to 5.0.1 (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/582 ">#582</a>)</li>
<li>Bump minimist from 1.2.5 to 1.2.6 (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/584 ">#584</a>)</li>
<li>Bump semver from 7.3.5 to 7.3.7 (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/595 ">#595</a>)</li>
<li>Bump csv-parse from 4.16.3 to 5.0.4 (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/533 ">#533</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.0 ">https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e551b19e49 "><code>e551b19</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/564 ">#564</a> from crazy-max/node-16</li>
<li><a href="3554377aa3 "><code>3554377</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/609 ">#609</a> from crazy-max/ci-fix-test</li>
<li><a href="a62bc1b22b "><code>a62bc1b</code></a> ci: fix standalone test</li>
<li><a href="c2085839e1 "><code>c208583</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/601 ">#601</a> from crazy-max/standalone-mode</li>
<li><a href="fcd91249e5 "><code>fcd9124</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/607 ">#607</a> from docker/dependabot/github_actions/docker/metadata...</li>
<li><a href="0ebe720aed "><code>0ebe720</code></a> Bump docker/metadata-action from 3 to 4</li>
<li><a href="38b45804b5 "><code>38b4580</code></a> Standalone mode support</li>
<li><a href="ba317382dc "><code>ba31738</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/533 ">#533</a> from docker/dependabot/npm_and_yarn/csv-parse-5.0.4</li>
<li><a href="43721d2346 "><code>43721d2</code></a> Update generated content</li>
<li><a href="5ea21bf2ba "><code>5ea21bf</code></a> Fix csv-parse implementation since major update</li>
<li>Additional commits viewable in <a href="https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.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-05-09 14:33:45 +00:00
dependabot[bot]
494c5cddbe
build(deps): Bump docker/setup-buildx-action from 1.7.0 to 2.0.0 ( #8483 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1.7.0 to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/docker/setup-buildx-action/releases ">docker/setup-buildx-action's releases</a>.</em></p>
<blockquote>
<h2>v2.0.0</h2>
<ul>
<li>Node 16 as default runtime by <a href="https://github.com/crazy-max "><code>@crazy-max</code></a> (<a href="https://github-redirect.dependabot.com/docker/setup-buildx-action/issues/131 ">#131</a>)
<ul>
<li>This requires a minimum <a href="https://github.com/actions/runner/releases/tag/v2.285.0 ">Actions Runner</a> version of v2.285.0, which is by default available in GHES 3.4 or later.</li>
</ul>
</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/setup-buildx-action/compare/v1.7.0...v2.0.0 ">https://github.com/docker/setup-buildx-action/compare/v1.7.0...v2.0.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="dc7b9719a9 "><code>dc7b971</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/setup-buildx-action/issues/131 ">#131</a> from crazy-max/node16</li>
<li><a href="f55bc08278 "><code>f55bc08</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/docker/setup-buildx-action/issues/141 ">#141</a> from crazy-max/fix-test</li>
<li><a href="aa877a9d36 "><code>aa877a9</code></a> ci: fix standalone test</li>
<li><a href="130c56f342 "><code>130c56f</code></a> Node 16 as default runtime</li>
<li>See full diff in <a href="https://github.com/docker/setup-buildx-action/compare/v1.7.0...v2.0.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-05-09 14:31:59 +00:00
Thane Thomson
b1896ebca6
Apply suggestions from code review
...
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2022-05-09 06:32:53 -04:00
Sergio Mena
cec0a97987
RFC017: ABCI++ Vote Extension Propagation ( #8317 )
...
* 1st version
* Addressed (some of) @williambanfield's comments
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Daniel <daniel.cason@usi.ch >
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Sam Kleinman <garen@tychoish.com >
* Update docs/rfc/README.md
Co-authored-by: Sam Kleinman <garen@tychoish.com >
* Addressed some comments
* Addressed more comments. Improved description of Solution 3
* Work on 'definitions' section
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* bottom
* Addressed Josef's valset-change comment. Other minor edits
* Improved wording of 'disjoint valsets' case
* Addressed TODOs: major revamp of various sections. First complete version.
* Fixed minor wording problem
* removed blank line
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* Addressed some of Thane's comments
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* Addressed outstanding comments
* Addressed @williambanfield's 'catch-up message' comment
* Removed TODO after confirming statesync is only run on nodes starting from scratch
* Removed TODO (after checking with Jasmina)
* Removed addressed TODO
* Addressed Josef's feedback on case (h)
* Typo
* Update docs/rfc/rfc-017-abci++-vote-extension-propag.md
Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com >
* Added log line
Co-authored-by: Daniel <daniel.cason@usi.ch >
Co-authored-by: Sam Kleinman <garen@tychoish.com >
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
Co-authored-by: Thane Thomson <connect@thanethomson.com >
Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com >
2022-05-09 02:15:08 +02:00
Thane Thomson
9483b42f0b
blocksync: Panic if we peek a block without an extended commit
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 13:08:40 -04:00
Thane Thomson
595377fac7
Rename ExtendedCommit vote_extension field to extension for consistency with domain types
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 12:47:38 -04:00
Thane Thomson
6389f2ff0c
Embed CommitSig into ExtendedCommitSig instead of duplicating fields
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 12:30:42 -04:00
Thane Thomson
fe5220bca6
Remove JSON encoding from ExtendedCommit
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 11:19:16 -04:00
Thane Thomson
739e60e309
Fix comment grammar
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 10:40:07 -04:00
Thane Thomson
521734934d
There are no extended commits below the initial height
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 10:35:14 -04:00
Thane Thomson
e7e7da35a5
Remove ExtendedCommitSig.Absent helper
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 10:19:55 -04:00
Thane Thomson
a27365b09a
Remove ExtendedCommitSig.ForBlock helper
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 10:15:59 -04:00
Thane Thomson
08bf156462
Remove CommigSig.Absent helper
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 10:13:57 -04:00
Thane Thomson
accba4774d
Remove CommigSig.ForBlock helper
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 10:11:01 -04:00
Thane Thomson
630ec2591d
Remove debug log
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 09:59:45 -04:00
Thane Thomson
0dd7ce3aa4
Rename local var for clarity
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 09:44:06 -04:00
Thane Thomson
e43e72c70a
Fix TestMaxProposalBlockSize
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 09:44:06 -04:00
Thane Thomson
408cc4c5b5
Rename local var for clarity
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 09:44:05 -04:00
Thane Thomson
a20a485dbe
Propagate validator info to PrepareProposal
...
In order to propagate validator voting power through to PrepareProposal,
we need to load the validator set info from the height corresponding to
the extended commit that we're passing through to PrepareProposal as the
"LocalLastCommit".
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-07 09:44:05 -04:00
Thane Thomson
bce2c7c220
Merge branch 'master' into thane/8272-propagate-vote-extensions
2022-05-07 09:43:53 -04:00
elias-orijtech
694ab2c6d1
test/fuzz: replace outdated reference to go-fuzz in README ( #8477 )
2022-05-06 11:02:19 -07:00
M. J. Fromberger
97f2944db0
Reintegrate docs deployment into the main TM repo ( #8468 )
...
Per https://github.com/tendermint/docs/issues/20 , it is no longer necessary to
build the static documentation out of a separate repository.
This change:
- Adds an actions workflow to build and deploy the docs to GitHub Pages.
- Updates some build settings in a compatible manner.
This change does not affect the existing site deployment. To complete this
change, we will need to update the custom domain pointer and disable the
corresponding workflow in the tendermint/docs repository. Those changes can and
must be done after this is merged.
In the future should probably also move the build rule out of the Makefile and
into the workflow directly. That will also make it easier to manage caching of
build artifacts. For now, however, I've left it as-is, so that we do not break
the active workflow on tendermint/docs, which depends on it.
2022-05-06 07:35:35 -07:00
M. J. Fromberger
ef44460c41
Convert explicit zero comparison to a method. ( #8475 )
...
Fixes #8472 .
I didn't see any other obvious cases of us doing this (although we do return zeroes in other places alongside errors, which is fine).
2022-05-06 13:44:09 +00:00
dependabot[bot]
ce40697ea6
build(deps): Bump github.com/vektra/mockery/v2 from 2.12.1 to 2.12.2 ( #8474 )
...
Bumps [github.com/vektra/mockery/v2](https://github.com/vektra/mockery ) from 2.12.1 to 2.12.2.
<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.12.2</h2>
<h2>Changelog</h2>
<ul>
<li>ea4c438 Add deprecation notice to logs</li>
<li>735bc0c Add go-get deprecation note</li>
<li>bea853e Add missing mock</li>
<li>989253d Fix *unsafe.Pointer</li>
<li>9228ad4 Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/457 ">#457</a> from LandonTClipp/readme_deprecation</li>
<li>1d92e73 Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/460 ">#460</a> from grongor/fix-unsafe-pointer</li>
<li>2fcd83d Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/462 ">#462</a> from LandonTClipp/deprecation</li>
<li>9f67b8a More explicit deprecation for go-get</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="1d92e7320b "><code>1d92e73</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/460 ">#460</a> from grongor/fix-unsafe-pointer</li>
<li><a href="2fcd83d746 "><code>2fcd83d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/462 ">#462</a> from LandonTClipp/deprecation</li>
<li><a href="ea4c438a53 "><code>ea4c438</code></a> Add deprecation notice to logs</li>
<li><a href="989253d1a4 "><code>989253d</code></a> Fix *unsafe.Pointer</li>
<li><a href="bea853e93d "><code>bea853e</code></a> Add missing mock</li>
<li><a href="9f67b8afdc "><code>9f67b8a</code></a> More explicit deprecation for go-get</li>
<li><a href="9228ad4b4a "><code>9228ad4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/vektra/mockery/issues/457 ">#457</a> from LandonTClipp/readme_deprecation</li>
<li><a href="735bc0c9f8 "><code>735bc0c</code></a> Add go-get deprecation note</li>
<li>See full diff in <a href="https://github.com/vektra/mockery/compare/v2.12.1...v2.12.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-05-06 10:25:34 +00:00
William Banfield
e980e1468d
RFC-018: initial research of BLS signature aggregation ( #8358 )
...
This provides an initial document for understanding the landscape of implementing a BLS signature aggregation scheme into Tendermint.
2022-05-05 12:08:22 -04:00
Thane Thomson
6a69e88b48
store/state: Add TODO to move prefixes to common package
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-05 08:34:01 -04:00
Thane Thomson
c9deedf0eb
types: Improve legibility
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 18:14:54 -04:00
Thane Thomson
3377d6160b
Merge branch 'master' into thane/8272-propagate-vote-extensions
2022-05-04 17:59:20 -04:00
Thane Thomson
2ef2733723
types: Fix legibility nits
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 17:58:22 -04:00
Thane Thomson
d0102e6b7e
types: Assign TODO to Sergio
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 17:46:28 -04:00
Thane Thomson
0a31afe4c6
types: Convert ExtendedCommit.Copy to a deep clone
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 17:38:34 -04:00
Thane Thomson
386cdeff98
types: Shorten receiver names for ExtendedCommit
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 17:36:37 -04:00
Thane Thomson
59434d8513
types: Remove NewCommit constructor
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 17:33:31 -04:00
Thane Thomson
b5a94bba16
types: Remove NewExtendedCommit constructor
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 17:18:41 -04:00
Thane Thomson
a3b3415a3a
types: Reformat ExtendedCommitSig.BlockID
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 14:12:15 -04:00
M. J. Fromberger
dd4fee88ef
keymigrate: improve filtering for legacy transaction hashes ( #8466 )
...
This is a follow-up to #8352 . The check for legacy evidence keys is only based
on the prefix of the key. Hashes, which are unprefixed, could easily have this
form and be misdiagnosed.
Because the conversion for evidence checks the key structure, this should not
cause corruption. The probability that a hash is a syntactically valid evidence
key is negligible. The tool will report an error rather than storing bad data.
But this does mean that such transaction hashes could cause the migration to
stop and report an error before it is complete.
To ensure we convert all the data, refine the legacy key check to filter these
keys more precisely. Update the test cases to exercise this condition.
* Update upgrading instructions.
2022-05-04 11:08:26 -07:00
Thane Thomson
24d1e6da01
types: Minor format
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 14:07:39 -04:00
Thane Thomson
b9fe2d73d6
proto: Remove TODO on TxResult
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 14:05:50 -04:00
Thane Thomson
9fcab6000a
state: Rename LoadBlockExtCommit to LoadBlockExtendedCommit
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 14:05:01 -04:00
Thane Thomson
0e8fc8e0b0
evidence/pool_test: Inline slice construction
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-05-04 13:59:25 -04:00