2019-07-19 10:18:51 +03:00
|
|
|
# POA TokenBridge / E2E-Commons
|
2019-06-03 16:53:29 +03:00
|
|
|
|
|
|
|
Common scripts and configuration for the end-to-end tests.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-06-04 16:18:49 +03:00
|
|
|
Spin up parity networks, redis, rabbit, e2e container needed for end-to-end tests:
|
|
|
|
|
2019-06-03 16:53:29 +03:00
|
|
|
```
|
|
|
|
./up.sh [components]
|
|
|
|
```
|
2019-06-04 16:18:49 +03:00
|
|
|
|
|
|
|
Shut down and cleans up containers, networks, services, running scripts:
|
2019-06-03 16:53:29 +03:00
|
|
|
|
2019-06-04 11:51:34 +03:00
|
|
|
```
|
|
|
|
./down.sh
|
|
|
|
```
|
|
|
|
|
2019-06-03 16:53:29 +03:00
|
|
|
### Components
|
|
|
|
|
|
|
|
| Component | Description |
|
|
|
|
| --- | --- |
|
|
|
|
| deploy | Deploys the Smart Contracts |
|
2019-06-04 16:18:49 +03:00
|
|
|
| oracle | Launches Oracle containers |
|
2020-07-14 17:53:05 +03:00
|
|
|
| oracle-validator-2 | Launches Oracle containers for second validator |
|
|
|
|
| oracle-validator-3 | Launches Oracle containers for third validator |
|
2019-06-04 16:18:49 +03:00
|
|
|
| ui | Launches UI containers |
|
|
|
|
| blocks | Auto mines blocks |
|
2020-07-14 17:53:05 +03:00
|
|
|
| monitor | Launches Monitor containers |
|
2019-07-17 11:14:58 +03:00
|
|
|
| native-to-erc | Creates infrastructure for ultimate e2e testing, for native-to-erc type of bridge |
|
2020-07-14 17:53:05 +03:00
|
|
|
| erc-to-native | Creates infrastructure for ultimate e2e testing, for erc-to-native type of bridge |
|
|
|
|
| erc-to-erc | Creates infrastructure for ultimate e2e testing, for erc-to-erc type of bridge |
|
|
|
|
| amb | Creates infrastructure for ultimate e2e testing, for arbitrary message type of bridge |
|
|
|
|
| ultimate-amb-stake-erc-to-erc | Creates infrastructure for ultimate e2e testing, for stake token bridge |
|
2019-07-26 11:14:25 +03:00
|
|
|
|
|
|
|
#### Ultimate e2e testing
|
|
|
|
|
|
|
|
For more information on the Ultimate e2e testing, please refer to [Ultimate](./ULTIMATE.md).
|