Skip to content

e2e: Runner is able to start and stop Tendermint testnet processes on non-local machines - #9801

Closed
williambanfield wants to merge 490 commits into
mainfrom
wb/issue-9790
Closed

williambanfield wants to merge 490 commits into
mainfrom
wb/issue-9790

Conversation

@williambanfield

@williambanfield williambanfield commented Nov 30, 2022 •

Copy link
Copy Markdown
Contributor

This pull request adds functionality to the e2e runner process to start and stop tendermint nodes on non-local machines.

To achieve this goal, it makes the following set of changes:

  • Adds a set of methods for starting and stopping Tendermint to the infra.Provider interface and implements them by both the docker.Provider and digitalocean.Provider. The digitalocean provider expects Tendermint to be running under systemd and is started/stopped/killed using interactions with systemd.
  • Adds a set of ssh functionality to the e2e test runner to allow interaction with the remove Tendermint nodes. This ssh functionality expects an ssh-agent to be running on the host machine and uses keys from the ssh-agent to connect to the remote. This allows operators of the e2e runner to either run the process locally or to run it on a remote orchestrator machine and grant it permission to ssh to additional nodes using ssh-agent forwarding.
  • moves the dockerComposeExec functionality to the docker package. The remaining uses of this new docker.ComposeExec function are all targets for replacement with provider methods.
  • Updates the e2e testing to pass the InfrastructureData and InfrastructureType to the test subprocess.

Closes: #9790


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

dependabot Bot and others added 30 commits August 9, 2022 15:21
…48.0 (#9203)

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.42.1 to 1.48.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/releases">github.com/golangci/golangci-lint's releases</a>.</em></p>
<blockquote>
<h2>v1.48.0</h2>
<h2>Changelog</h2>
<ul>
<li>368c41cd build(deps): bump github.com/daixiang0/gci from 0.5.0 to 0.6.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3035">#3035</a>)</li>
<li>2d8fea81 build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3058">#3058</a>)</li>
<li>aeb5860c build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3059">#3059</a>)</li>
<li>0559b922 build(deps): bump revgrep to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3054">#3054</a>)</li>
<li>6313fa9a contextcheck: disable linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3050">#3050</a>)</li>
<li>0ba1388a feat: add usestdlibvars (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3016">#3016</a>)</li>
<li>1557692e feat: go1.19 support  (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3037">#3037</a>)</li>
<li>15cba447 gci: add missing <code>custom-order</code> setting (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3052">#3052</a>)</li>
<li>9a1b9492 ifshort: deprecate linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3034">#3034</a>)</li>
<li>f8f8f9a6 nolint: drop allow-leading-space option and add &quot;nolint:all&quot; (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3002">#3002</a>)</li>
</ul>
<h2>v1.47.3</h2>
<h2>Changelog</h2>
<ul>
<li>72fc41ce build(deps): bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3009">#3009</a>)</li>
<li>57d61afb build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.2.0 to 2.2.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3030">#3030</a>)</li>
<li>9cb17e4f build(deps): bump github.com/alingse/asasalint from 0.0.10 to 0.0.11 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3003">#3003</a>)</li>
<li>2ab46788 build(deps): bump github.com/daixiang0/gci from 0.4.3 to 0.5.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3031">#3031</a>)</li>
<li>03d9b113 build(deps): bump github.com/ryancurrah/gomodguard from 1.2.3 to 1.2.4 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3029">#3029</a>)</li>
<li>e55f22c7 build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3010">#3010</a>)</li>
<li>c7ed8b67 build(deps): bump github.com/sivchari/nosnakecase from 1.5.0 to 1.7.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3008">#3008</a>)</li>
<li>95d57d99 build(deps): bump gitlab.com/bosi/decorder from 0.2.2 to 0.2.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3033">#3033</a>)</li>
<li>d186efe9 build(deps): bump honnef.co/go/tools from 0.3.2 to 0.3.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3032">#3032</a>)</li>
<li>846fab81 cgo: fix linters ignoring Cgo files (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3025">#3025</a>)</li>
<li>d44cd49a feat: remove some go1.18 limitations (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3001">#3001</a>)</li>
<li>886fbd71 gci: fix panic with invalid configuration option (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3019">#3019</a>)</li>
</ul>
<h2>v1.47.2</h2>
<h2>Changelog</h2>
<ul>
<li>61673b34 revive: ignore slow rules (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2999">#2999</a>)</li>
</ul>
<h2>v1.47.1</h2>
<h2>Changelog</h2>
<ul>
<li>a91463cd build(deps): bump github.com/daixiang0/gci from 0.4.2 to 0.4.3 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2992">#2992</a>)</li>
<li>4c8bdc70 build(deps): bump github.com/sivchari/tenv from 1.6.0 to 1.7.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2988">#2988</a>)</li>
<li>4e60e8a8 gci: fix options display (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2989">#2989</a>)</li>
<li>fd87bd1e gci: remove the use of stdin (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2984">#2984</a>)</li>
</ul>
<h2>v1.47.0</h2>
<h2>Changelog</h2>
<ul>
<li>b4154027 Add linter <code>asasalint</code> to lint pass []any as any (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2968">#2968</a>)</li>
<li>1d8a15a0 add nosnakecase lint (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2828">#2828</a>)</li>
<li>2a1edcef build(deps): bump github.com/Antonboom/errname from 0.1.6 to 0.1.7 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2888">#2888</a>)</li>
<li>c766184c build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v2 from 2.1.0 to 2.2.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2916">#2916</a>)</li>
<li>b8f1e2a5 build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2965">#2965</a>)</li>
<li>5e183652 build(deps): bump github.com/daixiang0/gci from 0.4.0 to 0.4.1 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2973">#2973</a>)</li>
<li>e60937a1 build(deps): bump github.com/daixiang0/gci from 0.4.1 to 0.4.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/2979">#2979</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md">github.com/golangci/golangci-lint's changelog</a>.</em></p>
<blockquote>
<h3>v1.48.0</h3>
<ol>
<li>new linters
<ul>
<li><code>usestdlibvars</code>:<a href="https://github.com/sashamelentyev/usestdlibvars">https://github.com/sashamelentyev/usestdlibvars</a></li>
</ul>
</li>
<li>updated linters
<ul>
<li><code>contextcheck</code>: disable linter</li>
<li><code>errcheck</code>: from 1.6.1 to 1.6.2</li>
<li><code>gci</code>: add missing <code>custom-order</code> setting</li>
<li><code>gci</code>: from 0.5.0 to 0.6.0</li>
<li><code>ifshort</code>: deprecate linter</li>
<li><code>nolint</code>: drop allow-leading-space option and add &quot;nolint:all&quot;</li>
<li><code>revgrep</code>: bump to HEAD</li>
</ul>
</li>
<li>documentation
<ul>
<li>remove outdated info on source install</li>
</ul>
</li>
<li>misc
<ul>
<li>go1.19 support</li>
</ul>
</li>
</ol>
<h3>v1.47.3</h3>
<ol>
<li>updated linters:
<ul>
<li>remove some go1.18 limitations</li>
<li><code>asasalint</code>: from 0.0.10 to 0.0.11</li>
<li><code>decorder</code>: from 0.2.2 to v0.2.3</li>
<li><code>gci</code>: fix panic with invalid configuration option</li>
<li><code>gci</code>: from 0.4.3 to v0.5.0</li>
<li><code>go-exhaustruct</code>: from 2.2.0 to 2.2.2</li>
<li><code>gomodguard</code>: from 1.2.3 to 1.2.4</li>
<li><code>nosnakecase</code>: from 1.5.0 to 1.7.0</li>
<li><code>honnef.co/go/tools</code>: from 0.3.2 to v0.3.3</li>
</ul>
</li>
<li>misc
<ul>
<li>cgo: fix linters ignoring CGo files</li>
</ul>
</li>
</ol>
<h3>v1.47.2</h3>
<ol>
<li>updated linters:
<ul>
<li><code>revive</code>: ignore slow rules</li>
</ul>
</li>
</ol>
<h3>v1.47.1</h3>
<ol>
<li>updated linters:
<ul>
<li><code>gci</code>: from 0.4.2 to 0.4.3</li>
<li><code>gci</code>: remove the use of stdin</li>
<li><code>gci</code>: fix options display</li>
<li><code>tenv</code>: from 1.6.0 to 1.7.0</li>
<li><code>unparam</code>: bump to HEAD</li>
</ul>
</li>
</ol>
<h3>v1.47.0</h3>
<ol>
<li>new linters:
<ul>
<li><code>asasalint</code>: <a href="https://github.com/alingse/asasalint">https://github.com/alingse/asasalint</a></li>
</ul>
</li>
</ol>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golangci/golangci-lint/commit/2d8fea819e651d384cf47784a5fb9c789cf5bd59"><code>2d8fea8</code></a> build(deps): bump github.com/daixiang0/gci from 0.6.0 to 0.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3058">#3058</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/aeb5860ca84aa6115f8c5b469cec174921350c29"><code>aeb5860</code></a> build(deps): bump github.com/kisielk/errcheck from 1.6.1 to 1.6.2 (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3059">#3059</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/0559b9220bcc3b726041135fca2fd7f26c763a5c"><code>0559b92</code></a> build(deps): bump revgrep to HEAD (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3054">#3054</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/3ffde13a17071e61d3ab75a6ddd158cf81046d95"><code>3ffde13</code></a> dev: remove stable from actions/setup-go (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3055">#3055</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/1557692e59c0db1b6eaa771a5887f9434158683d"><code>1557692</code></a> feat: go1.19 support  (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3037">#3037</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/6313fa9a673cbbc339501f077154115254e28509"><code>6313fa9</code></a> contextcheck: disable linter (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3050">#3050</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/0ba1388a4194525dfea1e8b91211c49de9d260f2"><code>0ba1388</code></a> feat: add usestdlibvars (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3016">#3016</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/15cba447fd0e577f1f60170bb188b5c0eca04dab"><code>15cba44</code></a> gci: add missing <code>custom-order</code> setting (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3052">#3052</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/452544a2e7ae9a8fff6422298b0384818de77807"><code>452544a</code></a> build(deps): bump gatsby from 4.15.2 to 4.19.2 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3046">#3046</a>)</li>
<li><a href="https://github.com/golangci/golangci-lint/commit/f9dfb687aa3a7ea9789219e9eb4842ece424b739"><code>f9dfb68</code></a> build(deps): bump gatsby-transformer-yaml from 4.13.0 to 4.19.0 in /docs (<a href="https://github-redirect.dependabot.com/golangci/golangci-lint/issues/3045">#3045</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/golangci/golangci-lint/compare/v1.42.1...v1.48.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/golangci/golangci-lint&package-manager=go_modules&previous-version=1.42.1&new-version=1.48.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>
Follow on work as a missing piece of #9156, to make it possible to
generate metrics automatically using existing build infrastructure.
…to App (#9219)

* [cherrypicked] abci++: only include meaningful header fields in data passed-through to application (#8216)

* make proto-gen

* Fix kvstore tests

* Small changes to abci protobufs taken from v0.36.x

* make proto-gen (again)

* [Partial cherrypick] Restore `Commit` to the ABCI++ spec, and other late modifications (backport #8796) (#8936)

* Restore `Commit` to the ABCI++ spec, and other late modifications (#8796)

* Added VoteExtensionsEnableHeight

* Fix reference to `modified`

* Removed old pseudo-code, now included in spec

* Removed markdown warnings in abci++_basic_concepts_002_draft.md

* Restored `Commit` in the Methods section

* Addressed remaining markdown warnings

* Revisited intro and basic concepts section

* Extra pass at all spec sections to recover Commit, and other ABCI++ spec modifications

* Fixed links

* make proto-gen

* Remove _primes_ from spec notation

* Update proto/tendermint/abci/types.proto

Co-authored-by: Callum Waters <[email protected]>

* Update spec/abci++/abci++_tmint_expected_behavior_002_draft.md

Co-authored-by: Callum Waters <[email protected]>

* Addressed @cmwaters' comments

* Addressed @angbrav's and @mpoke's comments on spec

* make proto-gen

* Fix MD anchor reference

* Clarify throughout the spec when `ProcessProposal` and `VerifyVoteExtension` are called

* Update spec/abci++/abci++_app_requirements_002_draft.md

Co-authored-by: M. J. Fromberger <[email protected]>

* Update spec/abci++/abci++_app_requirements_002_draft.md

Co-authored-by: M. J. Fromberger <[email protected]>

* Update spec/abci++/abci++_app_requirements_002_draft.md

Co-authored-by: William Banfield <[email protected]>

* Update spec/abci++/abci++_basic_concepts_002_draft.md

Co-authored-by: William Banfield <[email protected]>

* Update spec/abci++/abci++_basic_concepts_002_draft.md

Co-authored-by: M. J. Fromberger <[email protected]>

* Update spec/abci++/abci++_basic_concepts_002_draft.md

Co-authored-by: William Banfield <[email protected]>

* Update spec/abci++/abci++_methods_002_draft.md

Co-authored-by: M. J. Fromberger <[email protected]>

* Update spec/abci++/abci++_tmint_expected_behavior_002_draft.md

Co-authored-by: William Banfield <[email protected]>

* Addresed comments

* Renamed 'draft' files

* Adatped links to new filenames

* Fixed links and minor cosmetic changes

* Renamed 'byzantine_validators' to 'misbehavior' in ABCI++ spec and protobufs

* make proto-gen

* Renamed 'byzantine_validators' to 'misbehavior' in the code

* Fixed link

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_basic_concepts.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Update spec/abci++/abci++_methods.md

Co-authored-by: Daniel <[email protected]>

* Addressed @cason's comments

* Clarified conditions for `ProcessProposal` call at proposer

Co-authored-by: Callum Waters <[email protected]>
Co-authored-by: M. J. Fromberger <[email protected]>
Co-authored-by: William Banfield <[email protected]>
Co-authored-by: Daniel <[email protected]>
(cherry picked from commit 331860c)

* Fixed merge conflicts

Co-authored-by: Sergio Mena <[email protected]>

* make proto-gen (and again)

* make build

* fix UTs

Co-authored-by: William Banfield <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* abci: use protoio for length delimitation (#5818)

Migrate ABCI to use protoio (uint64 length delimiters) instead of int64
length delimiters to be consistent with the approach used in the P2P
layer.

Closes: #5783

* Import ReadMsg interface change from #5868

Signed-off-by: Thane Thomson <[email protected]>

* Convert PR number to link in UPGRADING

Signed-off-by: Thane Thomson <[email protected]>

* Update Tendermint Socket Protocol docs to reflect length prefix encoding change

Signed-off-by: Thane Thomson <[email protected]>

* Clarify that length delimiters are varints

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
Co-authored-by: Marko <[email protected]>
* [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 <[email protected]>
* Typo fix in README.md (#350)

* Updated Apalache type annotations (#395)

Co-authored-by: Prajjwol Gautam <[email protected]>
Co-authored-by: Kukovec <[email protected]>
…lity (#9263)

* update Apalache type annotations and split evidence into 3 variables

* remove the duplicate of AllPrevotes, due to merge
* Remove set option for abci
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
* [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 <[email protected]>
Co-authored-by: Jasmina Malicevic <[email protected]>

* Addressed @williambanfield's comment

Co-authored-by: Jasmina Malicevic <[email protected]>
Co-authored-by: Hernán Vanzetto <[email protected]>
)

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.
Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
* Update docs references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update DOCS_README to reflect current reality

Signed-off-by: Thane Thomson <[email protected]>

* Update vuepress config with current versions and updated discussions link

Signed-off-by: Thane Thomson <[email protected]>

* Update generated docs versions

Signed-off-by: Thane Thomson <[email protected]>

* Update docs build to use temp folder instead of home

Signed-off-by: Thane Thomson <[email protected]>

* Document build-docs Makefile target

Signed-off-by: Thane Thomson <[email protected]>

* Add serve-docs Makefile target to serve local build of docs

Signed-off-by: Thane Thomson <[email protected]>

* Ensure 404 page is copied during docs build

Signed-off-by: Thane Thomson <[email protected]>

* Redirect /master/ to /main/

Signed-off-by: Thane Thomson <[email protected]>

* Attempt to resolve #7908

Signed-off-by: Thane Thomson <[email protected]>

* Update OpenAPI references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update CHANGELOG references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update Docker readme references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update UPGRADING references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update package-specific documentation references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update spec references from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update all code comment references to docs site from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Build v0.34.x as "latest"

Signed-off-by: Thane Thomson <[email protected]>

* Explicitly mark v0.34 docs as latest in version selector

Signed-off-by: Thane Thomson <[email protected]>

* Update all links from docs.tendermint.com/main to docs.tendermint.com/latest

Signed-off-by: Thane Thomson <[email protected]>

* ci: Redeploy docs on pushes to v0.34.x

Signed-off-by: Thane Thomson <[email protected]>

* Temporarily copy spec directory into docs while building

Signed-off-by: Thane Thomson <[email protected]>

* Add nav link to main and clearly mark as unstable

Signed-off-by: Thane Thomson <[email protected]>

* Revert to only publishing docs in nav for v0.34 and v0.33 with no latest

Signed-off-by: Thane Thomson <[email protected]>

* Link to docs.tendermint.com/v0.34 from RFCs

Signed-off-by: Thane Thomson <[email protected]>

* Rather just use main for all docs.tendermint.com references on main branch

Signed-off-by: Thane Thomson <[email protected]>

* Rename GitHub tree links from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update link for ABCI Rust client

Signed-off-by: Thane Thomson <[email protected]>

* Update github links from master to main

Signed-off-by: Thane Thomson <[email protected]>

* Update badges in root readme

Signed-off-by: Thane Thomson <[email protected]>

* Remove codecov badge since we do not use it any more

Signed-off-by: Thane Thomson <[email protected]>

* Remove Java and Kotlin tutorials

Signed-off-by: Thane Thomson <[email protected]>

* Remove specs from docs build

Signed-off-by: Thane Thomson <[email protected]>

* Migrate spec links to GitHub repo from docs site

Signed-off-by: Thane Thomson <[email protected]>

* Remove references to non-existent PEX reactor spec

Signed-off-by: Thane Thomson <[email protected]>

* Fix linting badge in README

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
* Backport of sam/abci-responses (#9090) (#9159)

Signed-off-by: Thane Thomson <[email protected]>
Co-authored-by: William Banfield <[email protected]>
Co-authored-by: Thane Thomson <[email protected]>
williambanfield and others added 6 commits December 5, 2022 11:34
* Rejects empty transactions in the example kvstore

* Add code for rejected transaction; Add test for txn rejection;

* Apply suggestions from code review

Co-authored-by: Sergio Mena <[email protected]>
* add multiversion flag to generator

* clarify flag comment
resurrect the inspect command from #6785

Co-authored-by: Sam Kleinman <[email protected]>
Co-authored-by: Thane Thomson <[email protected]>
Co-authored-by: Callum Waters <[email protected]>
williambanfield and others added 3 commits December 8, 2022 12:06
This pull request adds a report on the major bandwidth usage within Tendermint. 

[Rendered](https://github.com/tendermint/tendermint/blob/wb/p2p-rfc/docs/rfc/rfc-027-p2p-message-bandwidth-report.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
@williambanfield williambanfield added S:automerge Automatically merge PR when requirements pass S:backport-to-v0.34.x Tell mergify to backport the PR to v0.34.x S:backport-to-v0.37.x Tell mergify to backport the PR to v0.37.x labels Dec 8, 2022
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions

github-actions Bot commented Jan 2, 2023

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the stale for use by stalebot label Jan 2, 2023
@github-actions github-actions Bot removed the stale for use by stalebot label Feb 2, 2023
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S:automerge Automatically merge PR when requirements pass S:backport-to-v0.34.x Tell mergify to backport the PR to v0.34.x S:backport-to-v0.37.x Tell mergify to backport the PR to v0.37.x stale for use by stalebot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the e2e runner to be able to start and stop Tendermint testnet processes on non-local machines