Commit Graph

55 Commits

Author SHA1 Message Date
Kirill Fedoseev
4cc87ef61a
Use totalExecutedPerDay instead of totalSpentPerDay for calculating quota (#460) 2020-10-02 19:07:40 +03:00
Kirill Fedoseev
4954c859c3
Migrate to GitHub actions (#423) 2020-09-02 17:43:48 +03:00
Kirill Fedoseev
f252ed2618
Add a possibility to fetch gas price from multiple sources (#420) 2020-08-23 22:56:59 +03:00
Kirill Fedoseev
ebd97dce5c
Speed up e2e building process (#395) 2020-07-14 17:53:05 +03:00
Gerardo Nardelli
bcdf691000
Add Alm project structure and transaction form (#353) 2020-06-09 16:37:43 +03:00
Gerardo Nardelli
4db62d721d
Add UI e2e and ultimate tests for stake mediators and fix transfer finalization detection (#347) 2020-06-01 20:58:03 +03:00
Gerardo Nardelli
8d6acd0339
Update UI transfer loading to wait block confirmations from contracts (#346) 2020-06-01 17:27:30 +03:00
Gerardo Nardelli
c013cc7378
Bridge UI stake styles fixes (#343) 2020-06-01 17:16:40 +03:00
Gerardo Nardelli
d6e39f34af
Prepare for metamask breaking changes (#341) 2020-05-26 22:36:22 +03:00
Gerardo Nardelli
c1d58c2908
Add stake theme for Bridge UI (#340) 2020-05-25 23:30:41 +03:00
Gerardo Nardelli
4bd3576691
Display latest operations in UI status page for mediators (#332) 2020-05-19 08:53:36 +03:00
Gerardo Nardelli
d3576f5a79
Add network list dropdown in UI (#330) 2020-05-18 23:39:39 +03:00
Gerardo Nardelli
62f9a080c9
Add support for STAKE token ERC677-to-ERC677 through AMB mode in Bridge UI (#328) 2020-05-18 23:36:52 +03:00
Alexander Kolotov
f6fa83d7ea
Updated links to new repo with tokenbridge contracts (#226) 2019-11-05 15:53:47 +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
Przemyslaw Rzad
6b55c54497
Function naming (#208)
* Function naming

* More renames from oracle to gas supplier
2019-09-13 14:54:51 +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
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
40be5a5f8e
Extend line width to 120 (#174)
* Extend line width to 120

* Lint fixes
2019-08-01 15:10:22 +02:00
Przemyslaw Rzad
414fe9cb65
Ultimate e2e - Native to erc - UI (#168)
* Trying job

* dependency

* Run the tests

* Oracle docker composes

* Fixed networks

* endpoints

* Skip logging

* Try node

* Moved chromedriver from ui to ui-e2e

* Port

* Run

* Install chrome

* minte blocks

* Finishing

* Revert "Skip logging"

76747eb7efd2ba3c93deedc62caca91a374357eb

* inventory

* Inventory change.

* ui-e2e fix

* ui-e2e fix?

* native-to-erc group

* jobs

* Ports

* Blocks

* yarn

* fix

* fix

* killall

* Try ui-e2e

* no killall

* All jobs.

* Try two

* separate jobs

* all jobs

* One job.

* Removed the oracle-e2e step in ultimate tests.
2019-08-01 09:57:58 +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
d3653bc31f
UI using abis from commons (#164)
* Renamed v1 abi names

* Home store using v1 from commons

* Using ERC20_BYTES32_ABI from commons
2019-07-26 10:30:35 +02:00
Przemyslaw Rzad
110b9accc9
Cosistent TokenBridge naming (#159) 2019-07-19 09:18:51 +02:00
Przemyslaw Rzad
3e09fe890e
UI using Commons (#145)
* ui using commons

* Update paths in abis

* Lint.
2019-07-15 18:07:11 +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
319b493568 Use mintedTotallyByBridge for bridge-ui statistics (#135)
* Use mintedTotallyByBridge for bridge-ui statistics
2019-07-09 00:03:02 +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
Przemyslaw Rzad
3be812d55f
Monorepo initialization (#101)
* Update postinstall script

* Add initialize script, simplify readme

* Unsafe perm

* Added initialize-root job

* Initialize-root only on master
2019-06-13 16:17:24 +02:00
Przemyslaw Rzad
1013f69a8b
CI performance impovements (#82)
* Moved selenium to ui-e2e dev dependencies

* Cosmetics

* Removed compiling contracts from build and from test

* Introduced initialize job; Moved cover job to the main workflow

* Build, lint, test and cover jobs using initialize cache

* Yarn install not needed for oracle-e2e. Enable docker caching. Frozen lockfile

* Use docker layer caching and yarn cache for ui-e2e

* Trying to save npm install log as artifact

* More caching.
2019-06-04 09:09:18 +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
1ab4a0eca8
Configurable port (#76)
* Configurable monitor port

* Remove obsolete comment.

* Configurable port in UI
2019-05-30 13:18:48 +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
b19ec7a191 migrate changes from https://github.com/poanetwork/bridge-ui/pull/218 2019-05-24 12:48:34 +03:00
rzadp
2a509990ca Removed submodules 2019-05-23 10:48:18 +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
6f573b9b67 Consolidated .nvmrc 2019-05-22 16:31:45 +02:00
rzadp
a957d7a827 Consolidated .gitignore 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
48e591ef45 Merge master into dockerfile-and-contracts 2019-05-22 16:12:09 +02:00
Przemyslaw Rzad
19a3314c42
Added Coveralls for UI (#59)
* Adding coveralls

* cover on master only

* Added dependencies badge

* Revert "Added dependencies badge"

420d5276e1cff2557c76937f69166450dd98d340

* Added badge in ui sub-dir. fixed workflow
2019-05-22 16:09:02 +02:00
rzadp
3117e7a0e2 Actually remove package-lock.json's 2019-05-22 10:16:17 +02:00
rzadp
b39336ea57 Removed obsole ui dockerfile 2019-05-21 16:03:31 +02:00
rzadp
7716e0e9d1 Removed ui subbmodule 2019-05-21 15:09:44 +02:00
rzadp
3ccf58b0ad Compiling contracts 2019-05-21 12:49:46 +02:00