Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
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
rzadp
697a6f4c7f Merge master into dockerfile-and-contracts 2019-05-22 16:31:36 +02:00
Przemyslaw Rzad
6dc4fc6acd
Configured Prettier (#60)
* Apply prettier fixes for UI

* Integrate prettier into linting. Remove duplicate .prettierrc.

* Common .eslintignore. Removed reduntant prettier check

* Apply prettier on ui script

* Correct linting

* Duplicate plugin

* Common plugin
2019-05-22 16:31:09 +02:00
rzadp
56b7772439 Updated link to contracts in readme because link to submodules don't work on github 2019-05-22 09:20:16 +02:00
rzadp
7b559f750b Updated readme 2019-05-21 15:07:32 +02:00
rzadp
9a94b24ba7 Removed oracle/submodule 2019-05-21 14:54:13 +02:00
Przemyslaw Rzad
40fef06503
Update bridge-ui (#39)
* Renamed bridge-ui to ui, removed submodule

* Re-added submodules. Pointing at 2.2.0

* Updated workspace name.

* Removed package-lock.json.

* Updated ui contracts to 2.3.0-rc0, installed node modules.

* Added linting to ui

* Integrated UI lint, test and build into CI.

* Added readme for merging.

* Consistent eslint module

* Included plugins in dev dependencies.

* Changed eslint version.

* Add yarn.lock

* Update deprecated node api.

* Remove travis badge and config in ui

* Update link to oracle in ui dependencies.

* Remove duplicated gitter.

* Remove unimplemented coverage and dependencies badges.

* Update links in step 5 and 6 in UI

* Cosmetic.
2019-05-15 14:23:29 +02:00
Przemyslaw Rzad
d50d579fb5
Extract oracle/e2e (#45)
* Moved oracle/e2e to oracle-e2e

* Update build path in docker-compose

* Update link to e2e in oracle

* Introduce oracle-e2e workspace.

* Updated script and readme

* Integrated oracle-e2e into CI.
2019-05-15 13:51:21 +02:00
Przemyslaw Rzad
5efc9a6688
Update bridge monitor (#38)
* Removed duplicate licence, updated links do Contributing and Licence in sub-readme.

* Renamed bridge-monitor to monitor.

* Removed package-lock.json.

* Added monitor workspace with linting.

* Consistent eslint version.

* Added readme for merging.
2019-05-14 09:17:03 +02:00
Przemyslaw Rzad
fe7fbd688f
Extract general information into root readme (#35)
* Extracted general information from sub-readmes.

* Updated bridge-monitor overview.

* Changed order of sub-repos in Structure.

* Typo.
2019-05-10 13:40:56 +02:00
Przemyslaw Rzad
d656025378
Update the token-bridge sub-repo (#19)
* Moved audit to root directory.

* Moved code of conduct, contributing and licence files.

* Removed travis config and badge.

* Updated repository links in CONTRIBUTING.

* Moved Gitter badge to main readme. Updated links to contributing and licence.

* Updated main readme.

* Moved references to main readme.

* Renamed token-bridge to oracle.

* Update README.md

Co-Authored-By: rzadp <rzadp@student.mini.pw.edu.pl>
2019-05-07 16:52:44 +02:00