Commit Graph

324 Commits

Author SHA1 Message Date
Gerardo Nardelli
b3419ccca6 Add parity hardcoded addresses for erc to native 2019-11-29 11:57:45 -03:00
Gerardo Nardelli
ecd20890c8 Add sai contract bytecode in foreign parity chain config 2019-11-29 09:56:48 -03:00
Gerardo Nardelli
b6588ff3c5 Add erc to native docker config in deployment playbooks 2019-11-29 09:28:50 -03:00
Gerardo Nardelli
ed2de112a2 fixes 2019-11-28 16:56:18 -03:00
Gerardo Nardelli
c19f48ef3f Add swap-tokens worker 2019-11-28 16:31:27 -03:00
Gerardo Nardelli
eb8de323ee Add half duplex transfer watcher 2019-11-26 17:00:56 -03:00
Gerardo Nardelli
c42b2f03b7 Update submodule to phase 2 contracts 2019-11-26 16:59:46 -03:00
Alexander Kolotov
303b02f3ca
Merge the develop branch to the master branch, preparation to v1.1.1 (#241) 1.1.1 2019-11-19 19:03:06 +03:00
Alexander Kolotov
98e0f8e998
Merge branch 'master' into develop 2019-11-19 16:49:27 +03:00
Alexander Kolotov
ecf613954a
Changes in initialization of array to iterate getting signatures (#240) 2019-11-19 16:47:02 +03:00
Alexander Kolotov
f2a6a64637
Merge the develop branch to the master branch, preparation to v1.1.0 (#238) 1.1.0 2019-11-15 22:13:03 +01: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
phahulin
cc6afb3736 Fix monitor path in crontab example (#236)
This is a minor PR which fixes path in crontab example for monorepo
2019-11-15 06:16:21 +01:00
phahulin
84ecfc30d9 Optional ability to point ORACLE_LOG_LEVEL in the deployment configuration (#234) 2019-11-13 20:18:46 +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
Alexander Kolotov
db89d1c12e
Merge the develop branch to the master branch, preparation to v1.0.0 #230
* Support alternative receiver in Oracle (#221)
* Support alternative receiver feature in Monitor (#223)
* Support token migration (#224)
* Fix suggested gas price in transaction for ui production build (#222)
* Updated links to new repo with tokenbridge contracts (#226)
* Update the contract's submodule to the release 3.2.0 (#228)
1.0.0
2019-11-12 06:37:23 +01:00
Gerardo Nardelli
4fd4ac3d73 Merge branch 'master' into develop
# Conflicts:
#	commons/constants.js
#	e2e-commons/up.sh
#	monitor/alerts.js
#	monitor/eventsStats.js
#	monitor/utils/events.js
#	monitor/utils/message.js
2019-11-08 09:53:06 -03:00
Alexander Kolotov
cbd9d607ce
Update the contract's submodule to the release 3.2.0 (#228) 2019-11-07 22:50:37 +01:00
Gerardo Nardelli
346fa1e732 Support token migration (#224)
* Filter transfer event in token swap in Oracle
* Support token swap in monitor
2019-11-06 22:49:01 +03:00
Alexander Kolotov
f6fa83d7ea
Updated links to new repo with tokenbridge contracts (#226) 2019-11-05 15:53:47 +03:00
Gerardo Nardelli
1564ccc580 Support alternative receiver feature in Monitor (#223)
* Update monitor to support changes from alternative receiver
* Add monitor event processing unit tests
* update chrome version used en e2e tests
* update chromedriver version
2019-10-29 22:22:02 +03: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
1d79cf82f3 Fix suggested gas price in trasaction for ui production build (#222)
* use string version of bignumber when converting gasPrice to hex
* update chromedriver version
2019-10-25 15:38:30 +03:00
Alexander Kolotov
9884b4b424
Add support for AMB contracts (#199) 1.0.0-rc2 2019-10-21 15:57:28 +03:00
Gerardo Nardelli
d577a71096 Add support for AMB contracts (#199) 2019-09-18 22:45:13 +03:00
Alexander Kolotov
803f0074e6
Update the contract's submodule to a commit-predecessor of 3.1.0 (#214) 1.0.0-rc1 2019-09-17 10:56:29 +03:00
Przemyslaw Rzad
e288df39dc
Remove rsync dependency (#213) 2019-09-16 18:34:42 +02: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
ab8270ee7c
Remove obsolete preapre.yml file (#212) 2019-09-13 16:19:34 +02:00
Przemyslaw Rzad
6b55c54497
Function naming (#208)
* Function naming

* More renames from oracle to gas supplier
2019-09-13 14:54:51 +02:00
Vedhavyas Singareddi
114f62da7b Update CONFIGURATION.md (#210)
remove `"` so that markdown can parse table properly
2019-09-13 14:25:44 +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
d593577ace
Update dpkg (#206) 2019-09-11 15:08:59 +02:00
Alexander Kolotov
4e2971f880
Update contract's submodule to 3.0.0 (#204) 2019-09-09 21:41:35 +03:00
Przemyslaw Rzad
54858ae597
Molecule tests for deploying repository (#194)
* Squashed commits

* All jobs

* Rollback changes

* Dependencies

* Remove .git checking

* Resolve path issues

* New way of copying repository.

* Test non existing .git

* New repo task

* Typo

* Do not fail mkdir if folder exists

* Test double task

* zipping the archives

* Increase no_output_timeout because of slowly installing apt-get
2019-09-06 15:24:30 +02:00
Przemyslaw Rzad
443474e802
Typos (#197)
* Typo

* Typo

* Typo
2019-09-06 13:27:17 +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
MarkusTeufelberger
9af253b83e Remove deprecated config option (#166) 2019-08-29 09:56:39 +02:00
Przemyslaw Rzad
01186d6aa8
New way of deploying repository (#195)
* New repo task

* Removed bridge_repo and bridge_repo_branch configs

* Updated docs

* Update apt-get

* Fix path

* Exclude fix

* Removed CODEBASE_BRANCH

* Initializing submodules for deployment tests

* Synchronizing with ls-tree

* Synchronization without temp files
2019-08-29 09:20:55 +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
c39e81f97d
Simplify Molecule developemnt (#193) 2019-08-23 08:43:46 +02:00
phahulin
f72ca7d38f Fix docker command (#190) 2019-08-21 13:02:45 +03:00
phahulin
b4ec04173c Add a note about resetting nonces (#189) 2019-08-21 00:35:00 +03: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
244306f0bf
Update chrome version (#185) 2019-08-12 09:22:27 +02:00
Alexander Kolotov
2093ff2d7e
Update contract's submodule to 2.4.0 (#183) 2019-08-09 10:58:53 +03: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
c865198290
Common Validator utils (#181)
* Extracted parseValidatorEvent to commons

* Extracted processValidatorsEvents to commons

* Extracted validatorList to commons.

* refactorings

* Fixed imports, lint

* UI using getValidatorList

* Monitor using getValidatorList from commons

* Lint

* UI using properly getPastEvents

* Default options

* Final changes

* Corrected invocation of getPastEvents

* Correct usage of options in getPastEvents

* Changed expected message from infura

* Change usage of fromBlock and toBlock

* Default parameters
2019-08-08 15:27:09 +02:00
Przemyslaw Rzad
055a444fae
Common gasprice (#179)
* Common gas price normalization.

* only e2e jobs

* One func

* More extraction.

* Fixed the tests

* skip gasPriceWithinLimits

* test fix

* tos tring

* boundaries

* Extracted fetching gas price from contract

* Refactored oracle gas price

* lint

* lint

* Commentary

* Using common gas price from oracle in ui

* Fix lint

* lint

* Log

* Using common gas price in monitor

* cosmetics

* all jobs

* lint

* lint

* tests

* more tests

* incljdes

* Tests in oracle

* Tests in commons

* Lint

* moved tests from ui to commons

* chai

* Changed order of fetching gas price
2019-08-05 17:22:57 +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