Commit Graph

60 Commits

Author SHA1 Message Date
Gerardo Nardelli
7f15733ad3 Merge fix 2019-08-22 13:30:07 -03:00
Gerardo Nardelli
d22a3e8bae Merge branch 'master' into amb-oracle
# Conflicts:
#	.prettierrc
#	commons/abis.js
#	commons/package.json
#	e2e-commons/docker-compose.yml
#	monitor/eventsStats.js
#	monitor/utils/events.js
#	oracle/src/services/gasPrice.js
#	oracle/test/gasPrice.test.js
#	yarn.lock
2019-08-22 12:10:49 -03:00
Gerardo Nardelli
43609d739d Pack signatures when processing amb collectedSignatures event in Oracle 2019-08-22 11:06:44 -03: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
40be5a5f8e
Extend line width to 120 (#174)
* Extend line width to 120

* Lint fixes
2019-08-01 15:10:22 +02:00
Przemyslaw Rzad
c66923827b
Common getTokenType used on UI, monitor and Oracle (#165)
* Stopped silently swallowing errors

* getTokenType in commons

* Oracle using getTokenType from commons

* Moved the getTokenType tests from ui to commons

* Using getTokenType in ui and oracle

* Revert "Stopped silently swallowing errors"

fc92c0af9dc7cb4e59a7f1779afc8da8d9c33ecf

* using common getTokenType in monitor.

* Lint.
2019-07-26 14:26:14 +02:00
Gerardo Nardelli
e5ce665656 Move amb message utils to commons 2019-07-25 12:36:10 -03:00
Przemyslaw Rzad
5c92cf50d7
Oracle using ERC_TYPES from commons (#163) 2019-07-24 15:36:07 +02:00
Przemyslaw Rzad
110b9accc9
Cosistent TokenBridge naming (#159) 2019-07-19 09:18:51 +02:00
Gerardo Nardelli
ac6775bd6e Lint fix 2019-07-17 11:53:43 -03:00
Gerardo Nardelli
478b30b2ed Add ARBITRARY_MESSAGE bridge mode 2019-07-17 11:49:29 -03:00
Gerardo Nardelli
70d03c1a93 Oracle amb merge fix 2019-07-17 11:47:25 -03:00
Gerardo Nardelli
0694fc24e9 Merge branch 'master' into amb-oracle
# Conflicts:
#	oracle-e2e/deploy.js
#	oracle-e2e/docker-compose.yml
#	oracle-e2e/run-tests.sh
#	oracle/config/base.config.js
#	oracle/src/services/gasPrice.js
#	oracle/src/utils/utils.js
#	oracle/test/gasPrice.test.js
2019-07-17 10:00:10 -03: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
2e89d7724a
Oracle using commons (#144) 2019-07-12 14:37:41 +02: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
Alexander Kolotov
1737a1d6a2
Merge branch 'master' into fix-coef-for-gaslimit-in-oracle 2019-06-14 20:33:43 +03:00
Alexander Kolotov
091e80e5e9
Merge branch 'master' into #94-oracle-sender-retry 2019-06-14 17:19:43 +03:00
Przemyslaw Rzad
c5cad3c2d8
Removed command in docker compose if entrypoint is present (#106) 2019-06-14 16:18:57 +02:00
Alexander Kolotov
8597e13952 the coefficient increased as preventive fix to address the issue with failed cuncurrent transactions due to incorrect estimatGas call 2019-06-14 17:00:23 +03:00
Alexander Kolotov
c9ed138326
Merge branch 'master' into #94-oracle-sender-retry 2019-06-14 16:51:17 +03: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
Gerardo Nardelli
ae6692abcd Add unit test for retry queue 2019-06-13 14:29:40 -03:00
Gerardo Nardelli
a466fe57dc Limit retry delay 2019-06-12 16:14:43 -03:00
Gerardo Nardelli
9e5f185bce Improve oracle sender retry strategy 2019-06-11 15:10:28 -03:00
Gerardo Nardelli
2f30a42748 Add new nonce error message detection on oracle sender 2019-06-07 16:06:58 -03:00
rzadp
9285ac534e Introduced new way of getting env variables 2019-06-07 13:19:12 +02:00
rzadp
1dba07623d Remove reduntant dotenv configs 2019-06-07 13:00:07 +02:00
Gerardo Nardelli
80940a0a82 Use compiled amb contracts on oracle 2019-06-04 11:25:53 -03:00
Gerardo Nardelli
a2603701b6 Merge branch 'master' into amb-oracle
# Conflicts:
#	oracle-e2e/run-tests.sh
2019-06-04 10:26:31 -03:00
Przemyslaw Rzad
93347b47a8
Updates after deployment test (#75)
* Force ln to mitigate error when postinstall is repeated

* Update readme

* Using yarn in place of npm run

* Changed env order - home first

* Removed gh-pages UI deploy

* Readme cosmetics

* Removed duplicate bridge overview

* Update readme

* Update repository address

* Update readme

* Changed NPM to Yarn everywhere

* Update readme

* Using tokenbridge monorepo in deployment instead of token-bridge

* Update ui/README.md

Co-Authored-By: Andrew Gross <andogro@gmail.com>

* Revert and/or change as per @akolotov explanation

* Removed checkWorker3 that was used in legacy bridge-rust-v1-native-to-erc

* Update deployment/oracle/README.md

Co-Authored-By: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Alexander Kolotov <alexandr.kolotov@gmail.com>

* Update root readme and Update sub-repo readmes to point to root monorepository initialization.

* Removed obsolete GET /stuckTransfers

* Remove stuckTransfers

* Use shell instead of unmaintained docker_service module. Update naming in templates.
2019-05-31 14:54:32 +02:00
Gerardo Nardelli
95f4a0acc6 use gas price from message on gas estimate for amb events 2019-05-27 16:28:29 -03:00
Przemyslaw Rzad
f5ff33d21f
Oracle & Monitor - Compiled ABI's (#71)
* Oracle abi taken from compilation.
Moved project setup from dockerfile to package.json scripts

* Use compile:contracts script instead of repeated command

* Update imports to root contracts instead of copying

* Rule for importing unpublished. Lint fix

* Remove prepare:contracts and import:contracts

* Disabled ModuleScopePlugin in order to be able to import contracts outside src dir

* Fix for rm removing . and .. on linux
2019-05-27 09:22:08 +02:00
Przemyslaw Rzad
be0b401885
Update dependencies (#72)
* Extracted common eslint devDependencies

* Applied prettier fixes for ui

* Extracted common mocha dependency

* Remove unused eslint plugins

* Prettier fix

* Updated dependency according to yarn audit

* Re-added eslint plugins

* Eslint plugins in one place

* Update dependencies failing on ci
2019-05-25 13:27:52 +02:00
Gerardo Nardelli
7ca3b0079c add amb base implementation on oracle 2019-05-24 15:42:26 -03:00
Alexander Kolotov
fe74faafb4
Merge branch 'master' into oracle-e2e-contracts 2019-05-24 14:36:18 +03:00
Alexander Kolotov
7486ef0491 migrate changes from https://github.com/poanetwork/token-bridge/pull/147 2019-05-24 12:49:35 +03:00
rzadp
52684a30fd Lint 2019-05-24 09:54:13 +02:00
rzadp
a714aec482 Merge master into docker-package-lock 2019-05-23 14:57:06 +02:00
rzadp
2c7c70f608 Common dockerignore. 2019-05-23 11:16:50 +02:00
rzadp
14a298f70c Production installation 2019-05-23 11:13:22 +02:00
rzadp
ef0b9662d2 Use main yarn.lock when building oracle docker 2019-05-23 11:11:00 +02:00
rzadp
2a509990ca Removed submodules 2019-05-23 10:48:18 +02:00
rzadp
ec8493aa44 Duplicating dockerignore for oracle 2019-05-23 10:45:55 +02:00
rzadp
5085842153 Merge master into dotfiles 2019-05-23 10:25:18 +02:00
rzadp
31f2788a2b Merged dockerignore 2019-05-22 17:03:31 +02:00
rzadp
fddaab2378 Remove nyc config file (as it's not used) 2019-05-22 16:35:31 +02:00
rzadp
4b32e8de41 Move .editorconfig to root dir. 2019-05-22 16:33:28 +02:00
rzadp
6f573b9b67 Consolidated .nvmrc 2019-05-22 16:31:45 +02:00