Commit Graph

153 Commits

Author SHA1 Message Date
Kirill Fedoseev 4f66ae9578 Get rid of web3js in test-services 2019-11-04 18:01:35 +03:00
Kirill Fedoseev 7f4bc98318 Removed web3 dependency from eth watcher 2019-11-04 17:06:37 +03:00
Kirill Fedoseev 8c8dad07ca Closes #13 2019-11-04 12:53:58 +03:00
Kirill Fedoseev 25941a61e7 Refactored tests and oracle 2019-11-03 21:00:15 +03:00
Kirill Fedoseev e21d06ce3b Fixed typos 2019-11-03 16:10:06 +03:00
Kirill Fedoseev 6e65bbcb04 Refactored and linted components 2019-11-03 13:54:34 +03:00
Kirill Fedoseev 62c1dd8064 Fixed eslint error/warnings 2019-11-01 21:43:25 +03:00
Kirill Fedoseev 34d6927c0b Added eslint configs 2019-11-01 21:42:44 +03:00
Kirill Fedoseev 219cc5185a Added docker ignore files 2019-11-01 11:20:26 +03:00
Kirill Fedoseev bd6de658e1 Little refactor of bnc watcher 2019-10-31 22:43:34 +03:00
Kirill Fedoseev 3621b4f70e Fetching last block time in bncWatcher. Prefunding eth bridge in tests 2019-10-31 18:46:14 +03:00
Kirill Fedoseev 311db30af9 Fixed encode/decode bug in round 3 of keygen 2019-10-31 17:57:53 +03:00
Kirill Fedoseev 1d0186f333 Trace logging of found bnc transactions 2019-10-31 12:50:03 +03:00
Kirill Fedoseev 5557fda6a3 Change dev log level to trace, fixed unnecessary update of nonce on failed gas estimate 2019-10-30 20:40:33 +03:00
Kirill Fedoseev cd4928b506 Fixed incorrect vote counting for startVoting function 2019-10-30 16:54:44 +03:00
Kirill Fedoseev e8e42429fb Removed useless debug output 2019-10-30 16:54:09 +03:00
Kirill Fedoseev e44b3915d1 Fixed extra votes processing. Added delay before getting binance balance. 2019-10-30 11:51:22 +03:00
Kirill Fedoseev de76a1aaad Eth watcher should now work on ci env 2019-10-29 18:24:38 +03:00
Kirill Fedoseev adba55bae0 Added more debug logs 2019-10-29 13:57:41 +03:00
Kirill Fedoseev 935b8c87a8 Trying to figure out why eth watcher does not work properly on CI env 5 2019-10-29 13:19:32 +03:00
Kirill Fedoseev adbb1f09c7 Trying to figure out why eth watcher does not work properly on CI env 4 2019-10-29 12:41:41 +03:00
Kirill Fedoseev e29ea876f5 Trying to figure out why eth watcher does not work properly on CI env 3 2019-10-28 23:29:58 +03:00
Kirill Fedoseev cee521f079 Trying to figure out why eth watcher does not work properly on CI env 2 2019-10-28 23:25:45 +03:00
Kirill Fedoseev ceb370a217 Trying to figure out why eth watcher does not work properly on CI env 2019-10-28 21:22:48 +03:00
Kirill Fedoseev f8e8ea8fe5 Get rid of bind mounts in docker-compose for contracts 2019-10-28 18:55:09 +03:00
Kirill Fedoseev 2f241dffbe Moved contracts deploy process in separate init job 2019-10-24 16:05:33 +03:00
Kirill Fedoseev b5952ce02a Correct dependency building. Moved building tss in separate job 2019-10-23 19:12:27 +03:00
Kirill Fedoseev f3278a9b1c Used 1.39 nightly rust 2019-10-23 18:09:49 +03:00
Kirill Fedoseev 128c986a27 Change rust image 2019-10-23 17:57:33 +03:00
Kirill Fedoseev 437a70ae5b Added chmod 777 2019-10-23 17:51:06 +03:00
Kirill Fedoseev 0fa28f27a7 Moved to official rust nightly docker image 2019-10-23 15:02:04 +03:00
Kirill Fedoseev 6d0d9f4617 Specified explicit manifest-path 2019-10-23 12:58:32 +03:00
Kirill Fedoseev aed0f59097 Test ls . in Dockerfile-local 2019-10-23 12:53:07 +03:00
Kirill Fedoseev 061b69071d Test remote docker engine 2 2019-10-22 17:25:31 +03:00
Kirill Fedoseev 83f9b1c267 Test remote docker engine 2019-10-22 15:13:06 +03:00
Kirill Fedoseev ab648b343a Added tracking of current validators in watcher, removed stub event in exchange queue 2019-10-18 17:02:47 +03:00
Kirill Fedoseev 5b18ee4179 Separate queue for exchange messages. Moved nonce, rangeStart, rangeSize to bridge contract 2019-10-18 13:38:42 +03:00
Kirill Fedoseev 2e67857eff Catching errors on info call to avoid promise rejection 2019-10-16 22:48:41 +03:00
Kirill Fedoseev dc668f452b Send tx using raw RPC method call for efficiency 2019-10-16 22:42:40 +03:00
Kirill Fedoseev 98b4679080 Custom private key support in binance send service 2019-10-16 22:30:32 +03:00
Kirill Fedoseev 9bcbdfab67 Support of multi send transaction generation 2019-10-14 23:40:55 +03:00
Kirill Fedoseev 9070333d46 Support of explicit private key in ethereum send service 2019-10-14 23:38:00 +03:00
Kirill Fedoseev 5413a3e7a1 Suppress redis logs, separate file with redis config 2019-10-11 17:39:50 +03:00
Kirill Fedoseev 336c557c51 Added discarding rabbitmq messages with blockNumber higher than the current one 2019-10-11 12:39:40 +03:00
Kirill Fedoseev f7dafbbf9c Suppress output in resetBlock 2019-10-11 12:37:46 +03:00
Kirill Fedoseev 52698a1865 Added reset block functionality 2019-10-11 11:50:41 +03:00
Kirill Fedoseev 4dbffb4d32 Fixed typos 2019-10-09 18:32:12 +03:00
Kirill Fedoseev 1793f6cf3b getAddresses test service for getting eth and bnc addresses by private key 2019-10-09 18:31:49 +03:00
Kirill Fedoseev fcfdce153c Added min/max limits for exchange transactions in bridge 2019-10-09 17:26:55 +03:00
Kirill Fedoseev d092475ee5 Made token transfers on eth side use approve&call method 2019-10-09 16:20:54 +03:00
Kirill Fedoseev cded4b2696 Moved some cryptographic operations in the shared codebase 2019-10-08 20:45:28 +03:00
Kirill Fedoseev 1f61aa65ba Moved amqp interaction in shared codebase 2019-10-08 19:06:10 +03:00
Kirill Fedoseev 0ea0fbe8c8 Fixed eth balance script to display correct tokens 2019-10-07 16:49:51 +03:00
Kirill Fedoseev aadd3418f9 Fixed initial foreign time 2019-10-07 16:49:20 +03:00
Kirill Fedoseev 6e36718f01 Nice logging support in all services 2019-10-06 13:36:29 +03:00
Kirill Fedoseev 869adea706 Made nice logging, instead of console.log 2019-10-06 13:35:46 +03:00
Kirill Fedoseev 2aa1fea0c8 Moved db.js to shared code dir 2019-10-06 11:55:00 +03:00
Kirill Fedoseev b65785b320 Changed docker services context directory to outer one 2019-10-06 11:52:28 +03:00
Kirill Fedoseev 7ceb9a54fc Disable rabbitmq logs 2019-10-06 11:16:32 +03:00
Kirill Fedoseev 64c84740ed Removed unused redis password 2019-10-06 11:14:33 +03:00
Kirill Fedoseev a4adcd4fa7 Fixed votes cound boundary 2019-10-05 18:01:30 +03:00
Kirill Fedoseev 8f8471bdf0 Some vote stats in /info 2019-10-05 17:49:03 +03:00
Kirill Fedoseev 8497af3b14 Refactor Bridge contract 2019-10-05 17:09:47 +03:00
Kirill Fedoseev fa25ebaa9a Fixed adding / removing validator process, signature generation on validators update 2019-10-02 21:44:52 +03:00
Kirill Fedoseev ba9ac9428c Fixed validator list update operation, fixed deployment volumes mounts 2019-10-02 20:28:22 +03:00
Kirill Fedoseev 5f380fb9b8 Updated proxy to support new votes processes 2019-10-02 18:50:46 +03:00
Kirill Fedoseev f34b372ea7 Reworked contract a bit. Now separate state for voting exists. 2019-10-02 18:27:14 +03:00
Kirill Fedoseev e521205d0f Auto determine block gas limit, small modification for supporting public networks 2019-09-06 19:22:04 +03:00
Kirill Fedoseev 87590524d9 Fixed configuration problems 2019-09-04 17:23:14 +03:00
Kirill Fedoseev d4f4591616 Test services update. New script for side prefund 2019-09-04 13:33:45 +03:00
Kirill Fedoseev 9cdadc27b2 docker-compose config update for different network support. Oracle update to support auto getting chainId, starting from custom block 2019-09-04 13:33:04 +03:00
Kirill Fedoseev 61e4067467 Changes in deploy configs 2019-09-04 13:30:26 +03:00
Kirill Fedoseev 310e3a3699 New .env and .keys configs, split on development and staging configs 2019-09-04 13:28:45 +03:00
Kirill Fedoseev 020170de7c Support running validator in staging environment 2019-09-01 13:03:38 +03:00
Kirill Fedoseev ed25ca9c68 Deployment to both, dev and staging environments. Automatic contract address update in demo. Refactor sh scripts. .env files splitted on particular enviornments 2019-09-01 12:41:06 +03:00
Kirill Fedoseev c3a495e1ea Added possibility of deployment to the public environment 2019-09-01 10:50:26 +03:00
Kirill Fedoseev f27f273d0a Fixed deployment dockerfiles. Support any network id in truffle-config 2019-09-01 10:47:04 +03:00
Kirill Fedoseev bacfdf8ea3 Hide eth private keys in .keys file 2019-09-01 10:45:39 +03:00
Kirill Fedoseev 12ff763be7 Fixed contract addresses in .env files 2019-08-30 17:59:16 +03:00
Kirill Fedoseev b7f15c46ee
Merge pull request #18 from k1rill-fedoseev/deployment-fix
Fixed problem with redeployment, mounting built contracts in deploy c…
2019-08-25 16:15:06 +03:00
Kirill Fedoseev 4c45436588 Refactor encode to use generators 2019-08-25 16:01:39 +03:00
Kirill Fedoseev 3b87fb2360 Implemented encoding/decoding for sign clients 2019-08-25 13:38:49 +03:00
Kirill Fedoseev a35cfc8a48 Fixed problem with redeployment, mounting built contracts in deploy containers was the problem. Deleted Migrations contracts from repo. 2019-08-25 10:29:58 +03:00
Kirill Fedoseev c9bc6d2bef Added sign encoding/decoding stubs 2019-08-25 10:16:57 +03:00
Kirill Fedoseev fc03632e20 Added encoding and decoding technique for keygen protocol, using packed bytes instead of raw JSON 2019-08-25 00:26:16 +03:00
Alexander Kolotov 5def216855 correct convertation to ERC20 tokens 2019-08-23 16:48:26 +03:00
Alexander Kolotov 5838fae64e amount of tokens is a float 2019-08-23 16:10:27 +03:00
Alexander Kolotov 3f76231978 added ability to send native coins 2019-08-23 12:30:00 +03:00
Alexander Kolotov 1d9939cef5 specify sender rather than bridge contracts, proper sending of erc20 tokens 2019-08-23 00:22:32 +03:00
Alexander Kolotov 16ebb69b33 convert properly large numbers 2019-08-23 00:20:16 +03:00
Alexander Kolotov 7d0243b2ba decimal shift for correct conversion ERC20 token to BEP2 token 2019-08-22 13:00:35 +03:00
Alexander Kolotov 8953574921 get initial amount of tokens to mint from a new environment variable 2019-08-22 08:24:08 +03:00
Kirill Fedoseev b2f63b1778 Updated .env 2019-07-17 18:33:45 +07:00
Kirill Fedoseev e990f4dec3 Updated README.md. Moved tools to docker containers 2019-07-17 18:30:52 +07:00
Kirill Fedoseev 38dee19559 Moved test environment and deployment process to docker 2019-07-17 14:31:38 +07:00
Kirill Fedoseev 1ab220caf4 Same private keys in both networks. Implementation modifications 2019-07-15 22:41:02 +03:00
Kirill Fedoseev 360a593ccf Scripts for sending tokens. Improved README.md 2019-07-10 20:58:30 +03:00
Kirill Fedoseev 3363043c9f Removed unused files 2019-07-09 12:20:18 +03:00
Kirill Fedoseev b1e7328495 Moved README.md 2019-07-09 12:17:36 +03:00
Kirill Fedoseev ac13be46a0 Fixed starting new epoch 2019-07-09 12:00:28 +03:00