Skip to content

Validator test harness - running sentry servers #437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 66 commits into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
8ee557a
adapter - use once_cell::sync::Lazy
elpiel Sep 28, 2021
69e0a63
adapter - Cargo - upgrade web3
elpiel Sep 28, 2021
924562c
adapter - ethereum - feature `test-util`
elpiel Sep 28, 2021
3919eaa
pirmitives - Address::to_bytes(&self)
elpiel Sep 29, 2021
bfde41e
make public different structs, static & fns for Ethereum testing
elpiel Sep 29, 2021
a15392a
adapter - EthereumAdapter & test_util improvements
elpiel Sep 30, 2021
6cf2948
Cargo - add `test_harness` to workspace
elpiel Sep 30, 2021
a4741a5
test_harness - initial Ethereum setup
elpiel Sep 30, 2021
5289fd0
ethereum - Keystore files for the ganache-cli addresses
elpiel Oct 11, 2021
4a6f11a
adapter - ethereum - test_util - setup ganache keystores
elpiel Oct 12, 2021
96cb79f
Docs fixes & adapter - ethereum - test_util changes
elpiel Oct 13, 2021
6a681b8
Merge branch 'update-protocol-eth' into validator-test-kit
elpiel Oct 14, 2021
e9e555f
adapter - ethereum - improvements
elpiel Oct 18, 2021
45d1915
test_harness - Makefile.toml
elpiel Oct 18, 2021
4b40fb0
test_harness - setup SNAPSHOT of contracts
elpiel Oct 18, 2021
8c83ce6
adapter - ethereum - test_util - rename addres0 to guardian
elpiel Oct 18, 2021
a7409de
primitives - Config::try_toml - deserialize from toml &str
elpiel Oct 19, 2021
c8d54e1
adapter - ethereum - Ganache-cli guardian2 address
elpiel Oct 19, 2021
a37a61d
docs - config - ganache.toml configuration
elpiel Oct 19, 2021
9af6837
primitives - config - fix config file reading
elpiel Oct 21, 2021
5be9bed
test_harness - Cargo - add `reqwest`
elpiel Oct 21, 2021
f9b80eb
adapter - use BigNum for mock_set_balance & outpace_deposit
elpiel Oct 21, 2021
0618759
primitives - helper fn BigNum::with_precision
elpiel Oct 21, 2021
0f5dcf7
test_harness - Makefile
elpiel Oct 21, 2021
a37a090
test_harness - deposit:
elpiel Oct 21, 2021
e957b52
adapter - test - resources - 0x prefix the keystore files
elpiel Oct 22, 2021
341e12f
primitives - config - use std::fs::read
elpiel Oct 22, 2021
f859e11
Merge branch 'aip-61-adex-v5' into validator-test-kit
elpiel Oct 22, 2021
975d2c1
sentry - test-util feature w/ setup_test_migrations
elpiel Oct 22, 2021
83930f3
rustfmt
elpiel Oct 22, 2021
5ea078c
sentry - move main's `fn run` to `mod application`
elpiel Oct 22, 2021
5b82a40
test_harness - add sentry, futures, slog & tokio time feature
elpiel Oct 22, 2021
73d4e06
Merge branch 'aip-61-adex-v5' into validator-test-kit
elpiel Oct 22, 2021
e0cc8f9
db - prepare postgres_connnection for test_harness
elpiel Oct 22, 2021
fe1ddfc
test_harness - spawn `sentry` app
elpiel Oct 22, 2021
6181577
test_harness - leader postgres config
elpiel Oct 25, 2021
421badb
sentry - application - Config from env variables
elpiel Oct 25, 2021
a3f493f
sentry - use application::Config & various fixes
elpiel Oct 25, 2021
06d554d
sentry - logger prefix
elpiel Oct 25, 2021
d5c439c
test_harness - setup_sentry & run 2 TestValidators
elpiel Oct 25, 2021
d4aa948
docker-compose - use proper file for test_harness
elpiel Oct 25, 2021
7822c9a
test_harness - Makefile - fix docker-compose down filename
elpiel Oct 25, 2021
cb5999e
primitives - util - logging - add `fn new_logger()`
elpiel Oct 27, 2021
34d2971
CI - fix postgres CI credentials
elpiel Oct 27, 2021
4e54f4a
validator_worker - mod worker - move fns for running worker
elpiel Oct 27, 2021
a335f63
worker - Cargo - remove lazy_static
elpiel Oct 27, 2021
87029f4
CI - use docker-compose.harness.yml
elpiel Oct 27, 2021
7d32391
primtives - postgres - env. variables & type defs
elpiel Oct 27, 2021
7dc773b
test_harness - Cargo - use postgres feature of primitives
elpiel Oct 27, 2021
1b3be5a
primitives - use docker-compose.harness.yml
elpiel Oct 27, 2021
15cc478
Fixing CI build
elpiel Oct 28, 2021
9a8152e
primitives - sentry - AllSpendersQuery - add page default
elpiel Nov 1, 2021
4b62f07
primitives - ValidatorDesc - fn try_api_url
elpiel Nov 1, 2021
d40142c
primitives - campaign - impl Index for Validators
elpiel Nov 1, 2021
306e53d
test_harness - Cargo - add serde_json & chrono
elpiel Nov 1, 2021
f802e99
sentry - use CreateCampaign::from_campaign_erased
elpiel Nov 1, 2021
9223b99
primitives - fix mod postgres cfg attr.
elpiel Nov 2, 2021
912a6a3
adapter & sentry - Makefile use docker-compose.harness
elpiel Nov 2, 2021
27824f3
test_harness - better testing setup & more tests
elpiel Nov 2, 2021
a060d02
sentry - Postgres test pool
elpiel Nov 2, 2021
f8cabea
test_harness - Cargo - add Ambire email to authors
elpiel Nov 2, 2021
6fd7052
Improve CI build
elpiel Nov 3, 2021
1016db1
Merge branch 'aip-61-adex-v5' into validator-test-kit
elpiel Nov 3, 2021
083cfba
sentry - db - postgres test pool fix
elpiel Nov 3, 2021
f76c58a
sentry - db - re-export redis::cmd in redis_pool
elpiel Nov 3, 2021
94e1e6b
adview-manager - Cargo - format toml
elpiel Nov 4, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: sudo-bot/action-docker-compose@latest
with:
# https://docs.docker.com/compose/reference/overview/
cli-args: "-f docker-compose.ci.yml up -d"
cli-args: "-f docker-compose.harness.yml up -d --build"
- uses: actions-rs/toolchain@v1
with:
# No need to add `toolchain`, it will use `rust-toolchain` file instead
Expand All @@ -26,10 +26,4 @@ jobs:
- name: Run `cargo make ci-flow`
# Running cargo make doesn't successfully start `ganache`
run: |
cargo make ci-flow
# set environment variables for `primitives` postgres tests
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST: localhost
POSTGRES_DB: sentry_leader
cargo make ci-flow
Loading