William Banfield
4d8e81a1f5
error message change
3 years ago
William Banfield
6ce11e5e5e
check duplicates of different types in txrecords
3 years ago
William Banfield
3c35f894f3
remove empty tx records in substPrepareTx
3 years ago
William Banfield
62665fe2c5
Merge branch 'master' into wb/abci-prepare-proposal-synchronize
3 years ago
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.
3 years ago
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 />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=go_modules&previous-version=1.44.0&new-version=1.45.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>
3 years ago
William Banfield
06f2d608ae
deadcode
3 years ago
William Banfield
209a5c73cb
move size check into loop
3 years ago
William Banfield
5353718733
unexport IsIncluded
3 years ago
William Banfield
9852254072
Update abci/types/types.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
William Banfield
1ee79b8598
Update abci/types/types.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
William Banfield
c25f7769a6
remove Must* proof and hash functions
3 years ago
William Banfield
ddbc93d993
service: add NopService and use for PexReactor ( #8100 )
3 years ago
William Banfield
ee2a9a1620
use nil slice when expected length is 0
3 years ago
William Banfield
75fb1ce421
MakeBlock no longer returns error
3 years ago
William Banfield
531150819d
remove unused method from state.go
3 years ago
William Banfield
d8f2c4944a
add tx modified true to tests
3 years ago
William Banfield
245687f6cb
cleanup eventbus changes from merge
3 years ago
William Banfield
4f597b4ab6
do not rebuild block if not modified
3 years ago
William Banfield
333b25cfbe
remove TODO for prepare proposal
3 years ago
William Banfield
6a085d6077
reorder tx test also removes txs
3 years ago
William Banfield
d102b4881e
maxDataBytes remove comment
3 years ago
William Banfield
428efab53f
update test comment
3 years ago
William Banfield
378bc12c71
update checktx log statement
3 years ago
William Banfield
8f474fbbdb
add logic for ignoring Tx changes if modifiedTx is false
3 years ago
William Banfield
7e75f88780
initial suite of tests
3 years ago
William Banfield
041361da04
add logic to check tx to the mempool if marked added
3 years ago
William Banfield
3ae7382ed0
remove unused 'votes' parameter from CreateProposalBlock
3 years ago
William Banfield
d796d3f103
mempool yakshave: replace old mock entirely
3 years ago
William Banfield
0379e07c72
mempool yakshave: generate new mocks
3 years ago
William Banfield
a3d8c7ed18
initial test for prepare proposal
3 years ago
William Banfield
914c555ff5
initial logic to remove txs from the mempool
3 years ago
William Banfield
9fbbdecb65
implement ResponsePrepareProposal validation rules
3 years ago
William Banfield
f52a2858c8
annotate methods with notes from spec
3 years ago
William Banfield
778e2e8908
add tx conversions to get consensus tests to pass
3 years ago
William Banfield
7f617af927
consensus mempool tests compile
3 years ago
William Banfield
c34adb7235
check-in finalize block hash tests
3 years ago
William Banfield
7eb766144e
add todo for naked return
3 years ago
William Banfield
4f890ecff5
MakeBlock no longer returns part set
3 years ago
William Banfield
1d336ea221
limit use of ABCIResponses
3 years ago
William Banfield
4b0826a791
move result.go to types.go
3 years ago
William Banfield
b0aa4b0ba8
unimplemented method stubs. compiles
3 years ago
William Banfield
d2ae45324c
change simple apps to use TxRecords
3 years ago
William Banfield
cdae5e325b
build latest abci protos
3 years ago
M. J. Fromberger
6f7427ec7e
Update pending changelog for #8081 . ( #8093 )
3 years ago
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>
3 years ago
Sam Kleinman
c35d6d6e2c
node: pass eventbus at construction time ( #8084 )
* node: pass eventbus at construction time
* remove cruft
3 years ago
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>
3 years ago
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.
3 years ago
Sam Kleinman
691cb52528
statesync: avoid leaking a thread during tests ( #8085 )
* statesync: avoid leaking a thread during tests
* fix
3 years ago