William Banfield
bf1a8e180a
comment regarding parallel ordering
2022-09-02 12:01:17 -04:00
William Banfield
8b57f6bb7c
remove data dir default
2022-09-02 11:56:17 -04:00
William Banfield
114e521e9a
calculate the number of negative durations
2022-09-02 10:56:24 -04:00
William Banfield
b490437bb2
fix latency calculation to take off-by-one into account
2022-09-02 10:36:46 -04:00
William Banfield
63181ba692
Update test/loadtime/README.md
...
Co-authored-by: Sergio Mena <sergio@informal.systems >
2022-09-02 09:56:00 -04:00
William Banfield
0ba6562578
fix test cases to exercise code correctly
2022-09-01 18:05:27 -04:00
William Banfield
735171419e
spell fix
2022-09-01 18:03:20 -04:00
William Banfield
9ad3132dc6
fix test
2022-09-01 17:49:25 -04:00
William Banfield
e768dee0cb
update readme
2022-09-01 17:49:25 -04:00
William Banfield
006e14e8ea
support csv
2022-09-01 17:49:25 -04:00
William Banfield
f02d22cf8f
initial working version of all
2022-09-01 17:49:25 -04:00
William Banfield
729d3e1885
use worker pool for parallel parsing
2022-09-01 17:49:25 -04:00
William Banfield
8960a19822
add basic report main
2022-09-01 17:49:25 -04:00
William Banfield
d6b8a8c052
add min, max, and error count
2022-09-01 17:49:25 -04:00
William Banfield
9df9615bbf
begin separating commands
2022-09-01 17:49:25 -04:00
William Banfield
7775dfa7f9
working basic report generator
2022-09-01 17:49:25 -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="1c29e075ab "><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="8e5a84e6b2 "><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="92cee3440f "><code>92cee34</code></a> gcp/observability: Add logging filters for logging, tracing, and metrics API ...</li>
<li><a href="c7fe135d12 "><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="7981af402b "><code>7981af4</code></a> test/kokoro: add missing image tagging to the xDS interop url map buildscript...</li>
<li><a href="6f34b7ad15 "><code>6f34b7a</code></a> xdsclient: NACK endpoint resource if load_balancing_weight is specified and i...</li>
<li><a href="f9409d385f "><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="946dde008f "><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="b89f49b0ff "><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="9bc72deba4 "><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
Thane Thomson
9f76e8da15
Temporarily revert #9175 : remove lastresulthash from merklization in lastresult hash ( #9313 )
...
* Revert "remove lastresulthash from merklization in lastresult hash (#9175 )"
This reverts commit bff63aec83 .
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Clarify wording in ABCI upgrade guidelines
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-08-24 14:34:36 -04:00
Thane Thomson
28cfb039c9
docs: Add redirects to GitHub for spec links ( #9311 )
...
* Add spec redirects
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Use hack to make redirects work
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-08-24 10:14:54 -04:00
Callum Waters
5f932a53f0
e23: fix generation by considering evidence age in retain height ( #9306 )
2022-08-23 11:28:32 +02:00
Sergio Mena
50b5c23d88
Merge branch 'feature/abci++ppp'
2022-08-22 17:16:17 +02:00
Callum Waters
b37f062619
e2e: add evidence tests ( #9292 )
2022-08-22 13:33:47 +02:00
samricotta
aa303edaef
Forward port discard abci responses change ( #9286 )
...
* Backport of sam/abci-responses (#9090 ) (#9159 )
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com >
Co-authored-by: Thane Thomson <connect@thanethomson.com >
2022-08-22 12:53:01 +02:00
Callum Waters
2d8df1bd4e
proto: deduplicate consensus params ( #9287 )
2022-08-22 10:50:21 +02:00
Thane Thomson
d886bc8fdd
docs: Capture UX-oriented practices for changelog ( #9284 )
2022-08-20 10:02:39 -04:00
Thane Thomson
daaf5d6441
docs: Update all docs to prepare for v0.37 ( #9243 )
...
* Update docs references from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update DOCS_README to reflect current reality
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update vuepress config with current versions and updated discussions link
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update generated docs versions
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update docs build to use temp folder instead of home
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Document build-docs Makefile target
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add serve-docs Makefile target to serve local build of docs
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Ensure 404 page is copied during docs build
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Redirect /master/ to /main/
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Attempt to resolve #7908
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update OpenAPI references from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update CHANGELOG references from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update Docker readme references from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update UPGRADING references from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update package-specific documentation references from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update spec references from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update all code comment references to docs site from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Build v0.34.x as "latest"
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Explicitly mark v0.34 docs as latest in version selector
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update all links from docs.tendermint.com/main to docs.tendermint.com/latest
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* ci: Redeploy docs on pushes to v0.34.x
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Temporarily copy spec directory into docs while building
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Add nav link to main and clearly mark as unstable
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Revert to only publishing docs in nav for v0.34 and v0.33 with no latest
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Link to docs.tendermint.com/v0.34 from RFCs
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Rather just use main for all docs.tendermint.com references on main branch
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Rename GitHub tree links from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update link for ABCI Rust client
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update github links from master to main
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Update badges in root readme
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove codecov badge since we do not use it any more
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove Java and Kotlin tutorials
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove specs from docs build
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Migrate spec links to GitHub repo from docs site
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Remove references to non-existent PEX reactor spec
Signed-off-by: Thane Thomson <connect@thanethomson.com >
* Fix linting badge in README
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-08-19 13:18:33 -04:00
Thane Thomson
3cc976482d
docs: Apply standard Apache 2.0 license ( #9293 )
...
Signed-off-by: Thane Thomson <connect@thanethomson.com >
Signed-off-by: Thane Thomson <connect@thanethomson.com >
2022-08-19 11:36:29 -04:00
Callum Waters
0ca3a89c90
e2e: add abci delays ( #9254 )
2022-08-19 12:00:58 +02:00
William Banfield
1a4d9397e9
abci++: update PrepareProposal API to accept just a list of bytes ( #9283 )
...
This changes the ResponsePrepareProposal type, substituting the []TxRecord for just []bytes. This change is made in the .proto file and in all necessary additional places in the code.
2022-08-18 16:33:19 -04:00
fatcat22
c8302c5fcb
consensus: fix round number when handling RoundStepNewRound timeout ( #9252 )
2022-08-18 10:24:06 +02:00
Sergio Mena
fb9afcc969
Restore e2e nightly workflow on feature/abci++ppp branch ( #9280 )
2022-08-17 21:05:53 +02:00
Sergio Mena
622b930e3a
abci-cli: PrepareProposal and ProcessProposal ( #9281 )
...
* [cherrypicked] abci-cli: added `PrepareProposal` command to cli (#8656 )
* Prepare prosal cli
* [cherrypicked + fixes] abci-cli: Add `process_proposal` command to abci-cli (#8901 )
* Add `process_proposal` command to abci-cli
* Added process proposal to the 'tutorial' examples
* Added entry in CHANGELOG_PENDING.md
* Allow empty blocks in PrepareProposal, ProcessProposal, and FinalizeBlock
* Fix minimum arguments
* Add tests for empty block
* Updated abci-cli doc
Co-authored-by: Sergio Mena <sergio@informal.systems >
Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com >
* Addressed @williambanfield's comment
Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com >
Co-authored-by: Hernán Vanzetto <hernan.vanzetto@gmail.com >
2022-08-17 20:47:52 +02:00
William Banfield
1069ffc6aa
config: backport the rename of fastsync to blocksync ( #9259 )
...
This is largely a cherry pick of #6755 with some additional fixups added where detected.
This change moves the blockchain package to a package called blocksync. Additionally, it renames the relevant uses of the term `fastsync` to `blocksync`.
closes : #9227
#### PR checklist
- [ ] 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-08-17 15:19:20 +00:00
William Banfield
7bd86ec004
consensus: backport abci and consensus metrics ( #9273 )
...
Partial backport of #8480
2022-08-17 09:37:45 -04:00
samricotta
9993514893
abci: Remove SetOption #5447 #9091 ( #9266 )
...
* Remove set option for abci
2022-08-16 22:58:04 +02:00
Igor Konnov
3003e05581
Update type annotations in the TLA+ spec of Tendermint for accountability ( #9263 )
...
* update Apalache type annotations and split evidence into 3 variables
* remove the duplicate of AllPrevotes, due to merge
2022-08-16 16:12:04 +02:00
AdamKorcz
498657f128
test/fuzz: fix OSS-Fuzz build ( #9183 )
2022-08-16 15:59:24 +02:00
William Banfield
c322b89b2a
RFC-024: block structure consolidation ( #8457 )
...
This RFC lays out a proposed set of changes for consolidating the set of information that may be included in the block structure.
{{ [rendered](https://github.com/tendermint/tendermint/blob/wb/rfc-block-structure/docs/rfc/rfc-020-block-structure-consolidation.md ) }}
2022-08-16 13:51:55 +00:00
Thane Thomson
cbc7a1abcf
spec: Sync Light Client TLA+ code with master ( #9238 )
...
* Typo fix in README.md (#350 )
* Updated Apalache type annotations (#395 )
Co-authored-by: Prajjwol Gautam <prajjwol@gmail.com >
Co-authored-by: Kukovec <jure.kukovec@gmail.com >
2022-08-12 14:33:47 -04:00
Sergio Mena
670abbc330
Merge pull request #9236 from tendermint/sergio/merging-main-abci++ppp
...
Merge `main` into `feature/abci++ppp`
2022-08-12 15:55:47 +02:00
Sergio Mena
7dc4f934b0
Merge branch main into feature/abci++ppp
2022-08-12 13:59:19 +02:00
Sergio Mena
cb570f6672
ABCI types.proto. Handle remaining discrepancies ( #9224 )
...
* [cherrypicked] version: add abci version to handshake (#5706 )
- add `AbciVersion` RequestInfo
Closes : #2804
* make proto-gen
* Bump ABCI version: Prepare and Process proposal
Co-authored-by: Marko <marbar3778@yahoo.com >
2022-08-12 11:57:13 +02:00
Marko
f36999e484
retract all of 0.35 ( #9198 )
2022-08-12 11:47:36 +02:00