Commit Graph
104 Commits
Author SHA1 Message Date
William Banfield ac539b1f3d rename IP node field 2022-12-05 11:25:01 -05:00
William Banfield 4dd0ff5621 remove hostkeyalgorithm setting 2022-12-05 10:18:15 -05:00
143109eb28 Update test/e2e/pkg/infra/digitalocean/digitalocean.go
Co-authored-by: Thane Thomson <connect@thanethomson.com>
2022-12-05 10:15:43 -05:00
William Banfield d5119c20f7 remove backup for INFRASTRUCTURE_DATA missing 2022-12-05 10:13:17 -05:00
William Banfield 644a93a759 correct the nolint comment format 2022-12-01 11:31:51 -05:00
William Banfield ca78052a7e use IP.Equal instead of bytes.Equal 2022-12-01 11:31:30 -05:00
William Banfield 2bcc84efd4 gofmt 2022-12-01 11:30:19 -05:00
William Banfield 59f93e9035 close connection in ssh exec 2022-12-01 11:21:51 -05:00
William Banfield 8ec6013b1d return session error 2022-12-01 11:17:03 -05:00
William Banfield 5a6b3abe27 allow unknown hosts to be accessed 2022-12-01 11:17:03 -05:00
William Banfield 3cfb90fb5b error if auth sock not defined 2022-12-01 11:17:03 -05:00
William Banfield 9c8c6c4cff move agent socket dial to client connection creation 2022-12-01 11:17:03 -05:00
William Banfield 1a2afa62c5 plump infra data into tests 2022-12-01 11:17:03 -05:00
William Banfield de20e3d224 use ssh agent to auth to remote 2022-12-01 11:17:03 -05:00
William Banfield b7fccf0138 add client creation logic 2022-12-01 11:17:03 -05:00
William Banfield b0be713546 add digital ocean package 2022-12-01 11:17:03 -05:00
William Banfield e009a2c7ee add ssh pkg 2022-12-01 11:17:03 -05:00
William Banfield db7b4a0e32 commit exec pkg 2022-12-01 11:17:03 -05:00
William Banfield 0cafe89301 start and create calls replaced with infra provider 2022-12-01 11:17:03 -05:00
William Banfield eec848b408 add create node to infra provider 2022-12-01 11:17:03 -05:00
William Banfield 9e4a24681c docker.exec takes context 2022-12-01 11:17:03 -05:00
William Banfield eb46fdc720 compose verbose takes context 2022-12-01 11:17:03 -05:00
William Banfield be8d980f83 exec compose takes context 2022-12-01 11:17:03 -05:00
William Banfield 6415af6b92 functionality in place for start kill terminate 2022-12-01 11:17:03 -05:00
William Banfield 6389d3d3f3 remove runner exec 2022-12-01 11:17:03 -05:00
William Banfield 55c0e472c9 all exec switched to docker package 2022-12-01 11:17:03 -05:00
William Banfield 241c96a96e switch exec compose to docker pkg 2022-12-01 11:17:03 -05:00
William Banfield 11ca11a8cc add param names 2022-12-01 11:17:03 -05:00
William Banfield 6117ad38aa add command package 2022-12-01 11:17:03 -05:00
William Banfield 23cb6ad834 add terminate vs kill 2022-12-01 11:17:03 -05:00
William Banfield 64b0340251 rename to 'kill tendermint' 2022-12-01 11:17:03 -05:00
William Banfield 1a831b2fcb rename to 'tendermint' 2022-12-01 11:17:03 -05:00
William Banfield e49f6aecdb shim in start and stop methods 2022-12-01 11:17:03 -05:00
Sergio MenaandGitHub 739b92bf01 Fix typo in new option in e2e manifest node (#9806)
The "toml" annotation of "send no load" had a typo (`send_no_laod`).

This is suspected to have caused failures in e2e, however I couldn't reproduce the error locally, so not sure this will fix it. Still, the typo needs to be fixed in any case.


---

#### PR checklist

- [x] 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-12-01 12:19:15 +00:00
William BanfieldandGitHub 21b2801c60 e2e: test runner generates loadtime formatted transactions. (#9779) 2022-11-30 13:36:19 -05:00
Thane ThomsonandGitHub 45071d1f23 abci: Add unsynchronized local client (#9660)
* Remove extra interface cast

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Remove irrelevant comment

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* abci: Add unsynchronized local client

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* proxy: Add unsync local client creator

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* e2e: Add sync app for use with unsync local client

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* abci: Elaborate on mutex param in unsync local client

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* proxy: Remove unnecessary comment

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* abcicli: Remove unnecessary mutex param from unsync client

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* ci/e2e: Explicitly use sync app for validator04

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* e2e: Ensure app is definitely the E2E app

Signed-off-by: Thane Thomson <connect@thanethomson.com>

Signed-off-by: Thane Thomson <connect@thanethomson.com>
2022-11-07 06:46:55 -05:00
William BanfieldandGitHub f6709208b0 e2e: configurable IP addresses for e2e testnet generator (#9592)
* add the infrastructure types

* add infra data to testnetload

* extract infrastructure generation from manifest creation

* add infrastructure type and data flags

* rename docker ifd constructor

* implement read ifd from file

* add 'provider' field to the infrastructure data file to disable ip range check

* return error from infrastructure from data file function

* remove ifd from Setup

* implement a basic infra provider with a simple setup command

* remove misbehavior remnants

* use manifest instead of file in all places

* include cidr block range in the infrastructure data

* nolint gosec

* gosec

* lint
2022-10-25 10:19:10 -04:00
Thane ThomsonandGitHub 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>
2022-08-30 12:28:46 -04:00
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
Callum WatersandGitHub 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 WatersandGitHub b37f062619 e2e: add evidence tests (#9292) 2022-08-22 13:33:47 +02:00
Callum WatersandGitHub 2d8df1bd4e proto: deduplicate consensus params (#9287) 2022-08-22 10:50:21 +02:00
Callum WatersandGitHub 0ca3a89c90 e2e: add abci delays (#9254) 2022-08-19 12:00:58 +02:00
William BanfieldandGitHub 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
William BanfieldandGitHub 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
Sergio Mena 7dc4f934b0 Merge branch main into feature/abci++ppp 2022-08-12 13:59:19 +02:00
Jacob GadikianandGitHub a6dde14ec4 do not use ioutil (#9206) 2022-08-10 14:35:14 -04:00
Callum WatersandGitHub f861062ee2 abci: implement process proposal to spec (#9122) 2022-08-09 15:15:18 +02:00
Sergio MenaGitHubSam Kleinmanmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>William BanfieldM. J. Frombergermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
b2409b3345 Follow-up fixes to main PrepareProposal implementation (#9162)
* -----start------

* [cherrypicked] state: panic on ResponsePrepareProposal validation error (#8145)

* state: panic on ResponsePrepareProposal validation error

* lint++

Co-authored-by: Sam Kleinman <garen@tychoish.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* [cherrypicked] abci++: remove CheckTx call from PrepareProposal flow (#8176)

* [cherrypicked] abci++: correct max-size check to only operate on added and unmodified (#8242)

* [cherrypicked] Remove `ModifiedTxStatus` from the spec and the code (#8210)

* Outstanding abci-gen changes to 'pb.go' files

* Removed modified_tx_status from spec and protobufs

* Fix sed for OSX

* Regenerated abci protobufs with 'abci-proto-gen'

* Code changes. UTs e2e tests passing

* Recovered UT: TestPrepareProposalModifiedTxStatusFalse

* Adapted UT

* Fixed UT

* Revert "Fix sed for OSX"

This reverts commit e576708c61.

* Update internal/state/execution_test.go

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>

* Update internal/state/execution_test.go

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>

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

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>

* Addressed some comments

* Added one test that tests error at the ABCI client + Fixed some mock calls

* Addressed remaining comments

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>

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

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>

* Addressed William's latest comments

* Adressed Michael's comment

* Fixed UT

* Some md fixes

* More md fixes

* gofmt

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>

* make proto-gen

* Fixed testcase on PrepareProposal error

* mockery

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: Sam Kleinman <garen@tychoish.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-08-03 19:39:17 +02:00