William Banfield
62665fe2c5
Merge branch 'master' into wb/abci-prepare-proposal-synchronize
2022-03-10 10:47:29 -05:00
JayT106
d9c9675e2a
p2p+flowrate: rate control refactor ( #7828 )
...
Adding `CurrentTransferRate ` in the flowrate package because only the status of the transfer rate has been used.
2022-03-10 13:48:23 +00:00
dependabot[bot]
a54bae25b7
build(deps): Bump google.golang.org/grpc from 1.44.0 to 1.45.0 ( #8104 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.44.0 to 1.45.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.45.0</h2>
<h1>Bug Fixes</h1>
<ul>
<li>xds/clusterresolver: pass cluster name to DNS child policy to be used in creds handshake (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5119 ">#5119</a>)</li>
<li>reflection: support dynamic messages (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5180 ">#5180</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/codebutler "><code>@codebutler</code></a></li>
</ul>
</li>
</ul>
<h1>Performance Improvements</h1>
<ul>
<li>wrr: improve randomWRR performance (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5067 ">#5067</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/huangchong94 "><code>@huangchong94</code></a></li>
</ul>
</li>
</ul>
<h1>Behavior Changes</h1>
<ul>
<li>server: convert context errors returned by service handlers to status with the correct status code (<code>Canceled</code> or <code>DeadlineExceeded</code>), instead of <code>Unknown</code> (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5156 ">#5156</a>)</li>
</ul>
<h1>New Features</h1>
<ul>
<li>reflection: add <code>NewServer(ServerOptions)</code> for creating a reflection server with advanced customizations (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5197 ">#5197</a>)</li>
<li>xds: support federation (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5128 ">#5128</a>)</li>
<li>xds/resource: accept Self as LDS's RDS config source and CDS's EDS config source (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5152 ">#5152</a>)</li>
<li>xds/bootstrap: add plugin system for credentials specified in bootstrap file (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5136 ">#5136</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a82cc96f07 "><code>a82cc96</code></a> Change version to 1.45.0 (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5202 ">#5202</a>)</li>
<li><a href="011544f729 "><code>011544f</code></a> authz: add additional logs to sdk authz (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5094 ">#5094</a>)</li>
<li><a href="18564ff61d "><code>18564ff</code></a> reflection: improve server implementation (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5197 ">#5197</a>)</li>
<li><a href="ec717cad73 "><code>ec717ca</code></a> xds: minor cleanup in xdsclient bootstrap code (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5195 ">#5195</a>)</li>
<li><a href="ebc30b8fc3 "><code>ebc30b8</code></a> reflection: use protobuf/reflect instead of go reflection, fix dynamic messag...</li>
<li><a href="46009ac902 "><code>46009ac</code></a> transport: Add an Unwrap method to ConnectionError (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5148 ">#5148</a>)</li>
<li><a href="75fd0240ac "><code>75fd024</code></a> remove sdk term from grpc authz (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5191 ">#5191</a>)</li>
<li><a href="a354b1eec3 "><code>a354b1e</code></a> channelz: rename NewChannelzStorage to NewChannelzStorageForTesting (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5190 ">#5190</a>)</li>
<li><a href="0e055491d5 "><code>0e05549</code></a> Format directory/file references (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5184 ">#5184</a>)</li>
<li><a href="c44f627fd1 "><code>c44f627</code></a> cleanup: replace grpc.WithInsecure with insecure.NewCredentials (<a href="https://github-redirect.dependabot.com/grpc/grpc-go/issues/5177 ">#5177</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/grpc/grpc-go/compare/v1.44.0...v1.45.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-03-10 13:27:37 +00:00
William Banfield
06f2d608ae
deadcode
2022-03-09 16:51:23 -05:00
William Banfield
209a5c73cb
move size check into loop
2022-03-09 16:34:32 -05:00
William Banfield
5353718733
unexport IsIncluded
2022-03-09 16:32:47 -05:00
William Banfield
9852254072
Update abci/types/types.go
...
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2022-03-09 16:31:45 -05:00
William Banfield
1ee79b8598
Update abci/types/types.go
...
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2022-03-09 16:30:27 -05:00
William Banfield
c25f7769a6
remove Must* proof and hash functions
2022-03-09 16:30:08 -05:00
William Banfield
ddbc93d993
service: add NopService and use for PexReactor ( #8100 )
2022-03-09 14:33:57 -05:00
William Banfield
ee2a9a1620
use nil slice when expected length is 0
2022-03-09 14:01:42 -05:00
William Banfield
75fb1ce421
MakeBlock no longer returns error
2022-03-08 18:46:00 -05:00
William Banfield
531150819d
remove unused method from state.go
2022-03-08 18:25:49 -05:00
William Banfield
d8f2c4944a
add tx modified true to tests
2022-03-08 18:21:29 -05:00
William Banfield
245687f6cb
cleanup eventbus changes from merge
2022-03-08 17:46:19 -05:00
William Banfield
4f597b4ab6
do not rebuild block if not modified
2022-03-08 17:37:24 -05:00
William Banfield
333b25cfbe
remove TODO for prepare proposal
2022-03-08 17:37:23 -05:00
William Banfield
6a085d6077
reorder tx test also removes txs
2022-03-08 17:37:22 -05:00
William Banfield
d102b4881e
maxDataBytes remove comment
2022-03-08 17:37:21 -05:00
William Banfield
428efab53f
update test comment
2022-03-08 17:37:20 -05:00
William Banfield
378bc12c71
update checktx log statement
2022-03-08 17:37:19 -05:00
William Banfield
8f474fbbdb
add logic for ignoring Tx changes if modifiedTx is false
2022-03-08 17:37:18 -05:00
William Banfield
7e75f88780
initial suite of tests
2022-03-08 17:37:17 -05:00
William Banfield
041361da04
add logic to check tx to the mempool if marked added
2022-03-08 17:37:16 -05:00
William Banfield
3ae7382ed0
remove unused 'votes' parameter from CreateProposalBlock
2022-03-08 17:37:16 -05:00
William Banfield
d796d3f103
mempool yakshave: replace old mock entirely
2022-03-08 17:37:13 -05:00
William Banfield
0379e07c72
mempool yakshave: generate new mocks
2022-03-08 17:28:02 -05:00
William Banfield
a3d8c7ed18
initial test for prepare proposal
2022-03-08 17:28:01 -05:00
William Banfield
914c555ff5
initial logic to remove txs from the mempool
2022-03-08 17:28:00 -05:00
William Banfield
9fbbdecb65
implement ResponsePrepareProposal validation rules
2022-03-08 17:27:58 -05:00
William Banfield
f52a2858c8
annotate methods with notes from spec
2022-03-08 17:26:57 -05:00
William Banfield
778e2e8908
add tx conversions to get consensus tests to pass
2022-03-08 17:26:56 -05:00
William Banfield
7f617af927
consensus mempool tests compile
2022-03-08 17:26:55 -05:00
William Banfield
c34adb7235
check-in finalize block hash tests
2022-03-08 17:26:54 -05:00
William Banfield
7eb766144e
add todo for naked return
2022-03-08 17:26:53 -05:00
William Banfield
4f890ecff5
MakeBlock no longer returns part set
2022-03-08 17:26:50 -05:00
William Banfield
1d336ea221
limit use of ABCIResponses
2022-03-08 17:25:30 -05:00
William Banfield
4b0826a791
move result.go to types.go
2022-03-08 17:25:29 -05:00
William Banfield
b0aa4b0ba8
unimplemented method stubs. compiles
2022-03-08 17:25:26 -05:00
William Banfield
d2ae45324c
change simple apps to use TxRecords
2022-03-08 17:24:25 -05:00
William Banfield
cdae5e325b
build latest abci protos
2022-03-08 17:24:22 -05:00
M. J. Fromberger
6f7427ec7e
Update pending changelog for #8081 . ( #8093 )
2022-03-08 21:18:13 +00:00
Marko
7c03e7dbfb
cmd: make reset more safe ( #8081 )
...
* add safe reset
* undo change
* remove unsafe
* Update cmd/tendermint/commands/reset_priv_validator.go
Co-authored-by: Thane Thomson <connect@thanethomson.com >
* Update cmd/tendermint/commands/reset_priv_validator.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* remove export comment
Co-authored-by: Thane Thomson <connect@thanethomson.com >
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
2022-03-08 09:32:29 -05:00
Sam Kleinman
c35d6d6e2c
node: pass eventbus at construction time ( #8084 )
...
* node: pass eventbus at construction time
* remove cruft
2022-03-08 13:04:59 +00:00
Manuel Bravo
4edc8c5523
abci++ spec: reorganizing basic concepts, adding outline for easy navigation ( #8048 )
...
* reorganizing basic concepts, adding outline to navigate easy
* Update spec/abci++/README.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: Sergio Mena <sergio@informal.systems >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* address problem with snapshot list data type
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
* Update spec/abci++/abci++_basic_concepts_002_draft.md
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
* clarify handling events in same-execution model
* remove outdated text about vote extension singing
* clarification apphash state-sync
Co-authored-by: Sergio Mena <sergio@informal.systems >
Co-authored-by: M. J. Fromberger <fromberger@interchain.io >
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
2022-03-08 11:12:57 +01:00
M. J. Fromberger
f992a7e740
Fix YAML front matter. ( #8086 )
...
Fixes #8052 again. Ideally we would have some way of detecting that this
happens before merging, but the way we build docs right now is kind of
complicated.
2022-03-07 14:50:13 -08:00
Sam Kleinman
691cb52528
statesync: avoid leaking a thread during tests ( #8085 )
...
* statesync: avoid leaking a thread during tests
* fix
2022-03-07 22:12:39 +00:00
Sam Kleinman
01266881b8
evidence: manage and initialize state objects more clearly in the pool ( #8080 )
2022-03-07 14:26:58 -05:00
M. J. Fromberger
2df5c85a8d
Fix govet errors for %w use in test errors. ( #8083 )
...
The %w syntax is a fmt.Errorf thing, not supported by the testing package.
2022-03-07 18:17:37 +00:00
dependabot[bot]
1f03287f52
build(deps): Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 ( #8074 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 2.5.2 to 3.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint-action/releases ">golangci/golangci-lint-action's releases</a>.</em></p>
<blockquote>
<h2>v3.1.0</h2>
<h2>What's Changed</h2>
<h3>New features</h3>
<ul>
<li>Allow to disable caching completely by <a href="https://github.com/tdabasinskas "><code>@tdabasinskas</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/351 ">golangci/golangci-lint-action#351</a></li>
</ul>
<h3>CI</h3>
<ul>
<li>ci(dep): Add step to commit changes if PR has dependencies label by <a href="https://github.com/sayboras "><code>@sayboras</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/108 ">golangci/golangci-lint-action#108</a></li>
</ul>
<h3>Dependabot</h3>
<ul>
<li>build(deps-dev): bump eslint from 8.9.0 to 8.10.0 by <a href="https://github.com/dependabot "><code>@dependabot</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/405 ">golangci/golangci-lint-action#405</a></li>
</ul>
<h3>Misc</h3>
<ul>
<li>Update version to 3.1.0 in package.json by <a href="https://github.com/SVilgelm "><code>@SVilgelm</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/406 ">golangci/golangci-lint-action#406</a></li>
<li>fix version in package-lock.json by <a href="https://github.com/SVilgelm "><code>@SVilgelm</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/407 ">golangci/golangci-lint-action#407</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tdabasinskas "><code>@tdabasinskas</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/351 ">golangci/golangci-lint-action#351</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/golangci/golangci-lint-action/compare/v3...v3.1.0 ">https://github.com/golangci/golangci-lint-action/compare/v3...v3.1.0 </a></p>
<h2>v3.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix grammar in action.yml by <a href="https://github.com/abennett "><code>@abennett</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/356 ">golangci/golangci-lint-action#356</a></li>
<li>Add description for permissions settings by <a href="https://github.com/sg0hsmt "><code>@sg0hsmt</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/298 ">golangci/golangci-lint-action#298</a></li>
<li>Remove Setup-Go by <a href="https://github.com/StevenACoffman "><code>@StevenACoffman</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/403 ">golangci/golangci-lint-action#403</a></li>
<li>Update all direct dependencies by <a href="https://github.com/SVilgelm "><code>@SVilgelm</code></a> in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/404 ">golangci/golangci-lint-action#404</a></li>
<li>139 Dependabot updates</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/abennett "><code>@abennett</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/356 ">golangci/golangci-lint-action#356</a></li>
<li><a href="https://github.com/sg0hsmt "><code>@sg0hsmt</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/298 ">golangci/golangci-lint-action#298</a></li>
<li><a href="https://github.com/StevenACoffman "><code>@StevenACoffman</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/pull/403 ">golangci/golangci-lint-action#403</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/golangci/golangci-lint-action/compare/v2...v3.0.0 ">https://github.com/golangci/golangci-lint-action/compare/v2...v3.0.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b517f99ae2 "><code>b517f99</code></a> fix version in package-lock.json (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/407 ">#407</a>)</li>
<li><a href="9636c5bc97 "><code>9636c5b</code></a> Update version to 3.1.0 in package.json (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/406 ">#406</a>)</li>
<li><a href="03e4befc7a "><code>03e4bef</code></a> ci(dep): Add step to commit changes if PR has dependencies label (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/108 ">#108</a>)</li>
<li><a href="cdfc708aeb "><code>cdfc708</code></a> Allow to disable caching completely (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/351 ">#351</a>)</li>
<li><a href="7d5614c3eb "><code>7d5614c</code></a> build(deps-dev): bump eslint from 8.9.0 to 8.10.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/405 ">#405</a>)</li>
<li><a href="c675eb70db "><code>c675eb7</code></a> Update all direct dependencies (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/404 ">#404</a>)</li>
<li><a href="423fbafafc "><code>423fbaf</code></a> Remove Setup-Go (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/403 ">#403</a>)</li>
<li><a href="bcfc6f96bb "><code>bcfc6f9</code></a> build(deps-dev): bump eslint-plugin-import from 2.25.3 to 2.25.4 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/402 ">#402</a>)</li>
<li><a href="d34ac2aef3 "><code>d34ac2a</code></a> build(deps): bump setup-go from v2.1.4 to v2.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/401 ">#401</a>)</li>
<li><a href="e4b538ed37 "><code>e4b538e</code></a> build(deps-dev): bump <code>@types/node</code> from 16.11.10 to 17.0.19 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint-action/issues/400 ">#400</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golangci/golangci-lint-action/compare/v2.5.2...v3.1.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-03-07 16:24:18 +00:00