Commit Graph

43 Commits

Author SHA1 Message Date
Gerardo Nardelli
5bb99a7e95 Update token used in erc-native monitor-e2e 2019-12-05 09:48:55 -03:00
Gerardo Nardelli
3cd53f7bda Update watcher to be able to skip events 2019-12-04 17:18:14 -03:00
Gerardo Nardelli
406ede9352 Add e2e tests two tokens support 2019-12-02 17:20:53 -03:00
Gerardo Nardelli
12229e5e0b Use pre-deployed token for erc to native e2e tests 2019-11-29 15:32:53 -03:00
Gerardo Nardelli
8d4eb86a19 Fix logs and start block parameters in oracle deployment (#235)
* Update start block env vars in oracle deployment
* Set logger to remote server for docker-compose-transfer.yml
* avoid calculating start block parameter if provided in oracle deployment config
* set home and foreign start block in erc20-native e2e
* set home and foreign start block in erc20-native ultimate test
2019-11-15 21:31:13 +01:00
Gerardo Nardelli
5d770e8607 Add AMB monitor e2e tests (#231)
* Add amb monitor e2e tests
* Fix eventsStats endpoint monitor
2019-11-13 07:51:10 +01:00
Gerardo Nardelli
7a54e584d5 Support alternative receiver in Oracle (#221)
* Add transfer watcher
* Filter userRequestForAffirmation events in Transfer events
* Add extended oracle composer file
2019-10-29 17:55:47 +03:00
Gerardo Nardelli
d577a71096 Add support for AMB contracts (#199) 2019-09-18 22:45:13 +03:00
Przemyslaw Rzad
8d0e70359f
Remove ERC20_TOKEN_ADDRESS from env variables (#211)
* Remove ERC20_TOKEN_ADDRESS from env variables

* Do not check erc20 token address for native-to-erc

* Rename ERC20_TOKEN_ADDRESS to bridgeableTokenAddress
2019-09-14 08:04:07 +02:00
Przemyslaw Rzad
8b010f887d
Consistent variable naming (#198)
* Add console.table

* First steps in validate script

* env rename

* Added parameter names

* Descriptions

* Print and configuration

* Added more parameters

* Rename gas oracle to gas supplier

* More changes

* Removed env examples for now

* RPC rename

* Bridge address rename

* More changes

* jobs

* Renames

* Typo

* jobs

* Changes

* jobs

* Changes

* Monitor changes

* jovs

* Typo

* Changes

* REACT_APP_ env prefix

* Typo

* Rollback changes

* Oracle deployment

* Defaults

* Monitor

* Naming

* Typo

* Typo

* Envs

* ui deployment

* ALl jobs

* Vars in ultimate

* Lint

* Lint

* Lint

* Another way to add REACT_APP prefixing

* Unnecessary mapping

* No output timeout

* No output timeout

* Got rid of ERC20_TOKEN_ADDRESS

* Configuration readme

* Configuration

* Prefixes

* timeout

* Docs

* Docs

* docs

* docs

* docs

* Roll back ERC20_TOKEN_ADDRESS for erc-to-erc

* Typo

* lint

* Rollback

* ROllback validator

* Rollback yarn.lock

* dai and wetc update

* Rollback ERC20_TOKEN_ADDRESS

* erc to native

* examples

* all jobs

* roll back

* roll back ERC20_TOKEN_ADDRESS: "0xdbeE25CbE97e4A5CC6c499875774dc7067E9426B"

* ui env example

* typo

* Allow rpc for ultimate

* Test

* ERC20_TOKEN_ADDRESS rollback

* Specify port

* React port

* All jobs

* cosmetics

* Values

* Restore erc20 token

* Rearrange example for easier comparision

* Rearrange ultimate for easier comparision

* Rearrange for easier comparision

* Refactor

* Conditional app styles

* Loading environment variables in react app

* Add missing vars for UI in wetc and dai

* Bring back test parameters readme

* Readme for monitor vars

* Reading environment variables in e2e-commons (#207)
2019-09-13 09:11:38 +02:00
Przemyslaw Rzad
677bc50519
Move molecule to deployment-e2e (#196)
* Moved deployment/molecule to deployment-e2e

* Update paths and readmes

* Nested molecule

* Corrected paths

* paths

* path

* Moved docker up
2019-08-29 10:30:34 +02:00
Przemyslaw Rzad
dd9add50a0
Monitor E2E rewrite (#187)
* Started monitor-e2e rewrite

* axios

* Implemented tests

* Monitor start

* First deploy

* Wait for monitor

* Removed redundant files

* Tests.

* TODO

* Links to minitor in constants

* Typo.

* [PR-into-PR] Monitor E2E rewrite - balance (#191)

* Test run for more monitor-e2e tests

* macos/docker

* timeout

* Little refactor

* Trying to test balances in other types of bridges.

* Utils.

* test

* check all

* erc to erc try

* Final tests

* typo

* All jobs

* Lint

* Roll back docker in docker

* WaitUntil

* Axios version

* New validator checks (#192)
2019-08-27 16:26:49 +02:00
Przemyslaw Rzad
6aafce052c
Ultimate tests for ERC-TO-ERC (#186)
* Introduce ultimate erc-to-erc

* Added metamask setup

* Corrected configuration parameters
2019-08-20 10:19:42 +02:00
Przemyslaw Rzad
76daf5a436
Ultimate E2E for ERC TO NATIVE (#182)
* Introducing ultimate erc-to-native, with ultimate-commons

* Ports

* group

* up

* Addresses

* Typo.

* Redis key

* Redis key as a parameter

* ultimate

* parameters

* job name

* jobs

* Cosmetics

* cosmetics

* cosmetics

* jobs

* Descriptions
2019-08-08 16:09:24 +02:00
Przemyslaw Rzad
2be0e9f363
Fix flaky UI-E2E (#178)
* Change user

* jobs

* Revert "Change user"

5fa7084f06e743f2981035d254a5ca287c41b02b

* Trying to use block generator address

* jobs

* Fixed

* 5 jobs

* 10 jobs

* all jobs

* finish

* Removed jobs

* Add funds for block generator in block genesis
2019-08-05 14:13:16 +02:00
Przemyslaw Rzad
a2e9dae43d
Extending monitor-e2e with 3 types of bridge (#170)
* Started working on monitor-e2e

* Monitor e2e tests extended for 3 types of bridge

* Skipp error checking

* bash fix

* Fixed docker-compose

* check first

* grep errors

* all jobs

* Style

* Executing instead of sourcing
2019-08-01 10:26:20 +02:00
Przemyslaw Rzad
c9d100491c
Ultimate E2E tests (#158)
* Ultimate e2e for native to erc type of bridge

* One job

* Try to run the tests

* Run on CI

* Docs

* Cosmetics

* Final changes

* Revert the changes

* Networks

* Waiting for Oracle

* One job

* Initialize the contracts submodule

* Run on ci

* comment

* Sleep.

* ultimate network

* Docker localhost no longer needed

* Final changes

* Timeout

* Naming

* Sleep task.
2019-07-26 10:14:25 +02:00
Przemyslaw Rzad
110b9accc9
Cosistent TokenBridge naming (#159) 2019-07-19 09:18:51 +02:00
Przemyslaw Rzad
82a3bdd86b
First step of ultimate e2e testing (#155)
* Ultimate e2e for native to erc type of bridge

* Initialize

* Node and yarn not needed anymore.
2019-07-17 10:14:58 +02:00
Przemyslaw Rzad
9b3c65f2c4
Creating redis and rabbit in oracle (#153) 2019-07-16 16:12:33 +02:00
Gerardo Nardelli
811e8da6b5 Add support for oracle gas price values not expressed in gwei (#142)
* Support other oracle's gas price values in Oracle
* Add default gas price factor in Oracle
* Support other oracle's gas price values in UI
* Support other oracle's gas price values in Monitor
2019-07-12 19:10:17 +03:00
Przemyslaw Rzad
1da1acbfbe
Yaml and Ansible linting in Molecule (#141)
* Removed old ansible-lint outside of molecule

* Yamlint

* Enabled ansible-lint with minimal rules

* Removed ansible-lint job
2019-07-11 10:17:02 +02:00
Gerardo Nardelli
4e5e21541e Remove oracle redis lock (#137) 2019-07-08 18:06:57 +03:00
Przemyslaw Rzad
f1d24f0e2c
Monitor - E2E (#112)
* Monitor in e2e

* Cleanup trap

* Exposing monitor port

* Cleanup script

* Exposing monitor port

* Test cases

* Silent curl

* Introduced monitor-e2e into CI

* only monitor

* machine executor

* Readme

* Echoing test cases

* Revert "only monitor"

bb6c8baf06029a1d6ea86cf62e8112ef78b8eaf4

* Negated commands in a subshell
2019-06-27 09:57:45 +02:00
Przemyslaw Rzad
8f47c93369
UI in docker (#102)
* Removed duplicate entry

* Started introducing ui dockerfile

* frozen lockfiles

* Removed unnecessary steps from Dockerfile.e2e

* Added start instruction

* Added docker-compose with instructions to UI

* Updated readme.

* Removed unnecessary command
2019-06-14 15:50:22 +02:00
rzadp
98e2dc9c0d Update readme. 2019-06-04 15:28:27 +02:00
rzadp
3a3ebf9747 Auto quit on command fail 2019-06-04 14:49:39 +02:00
rzadp
03ab7b44b6 Common url and network ID 2019-06-04 14:04:40 +02:00
rzadp
c86e956fa0 Common rpc url 2019-06-04 13:52:06 +02:00
rzadp
fddeb6869f Common token and parity rpc 2019-06-04 13:43:53 +02:00
rzadp
22937a9b0e Common bridge addresses, common second user, renamed constants.json to config 2019-06-04 13:27:21 +02:00
rzadp
23d109b84c Common validator 2019-06-04 12:58:36 +02:00
rzadp
7b5b240735 Common user for ui-e2e. 2019-06-04 11:59:31 +02:00
rzadp
13d49de5c6 Moved constant user from oracle-e2e to e2e-common 2019-06-04 10:51:34 +02:00
rzadp
7e937bdefa Clean up deploy script 2019-06-04 10:43:27 +02:00
rzadp
07968c347f Common generateNewBlock 2019-06-04 10:28:11 +02:00
rzadp
25ff5888ba No down.sh in CI 2019-06-04 09:13:04 +02:00
rzadp
c00139202d Readme. 2019-06-04 09:11:56 +02:00
rzadp
8480b4d499 Common mine blocks 2019-06-04 09:11:56 +02:00
rzadp
a11211d813 Common deploy 2019-06-04 09:11:56 +02:00
rzadp
cc10335d99 Trying to introduce common deploy 2019-06-04 09:11:56 +02:00
rzadp
505aa3f261 Common ui-e2e 2019-06-04 09:11:56 +02:00
rzadp
164f21d9eb Introducing common docker-compose 2019-06-04 09:11:56 +02:00