Commit Graph

93 Commits

Author SHA1 Message Date
Kirill Fedoseev dc5b415b97 Updated configs 2019-11-25 17:49:44 +03:00
Kirill Fedoseev fd549fe6ab Refactored signer and keygen clients 2019-11-25 17:25:53 +03:00
Kirill Fedoseev 799004c159 Explicit epoch in contract calls 2019-11-25 16:02:20 +03:00
Kirill Fedoseev 56b59fdfd3 Extra data query parameter for some of the votes 2019-11-25 15:30:35 +03:00
Kirill Fedoseev 93563cfa8a Used more convinient uintX types for numbers in contracts 2019-11-25 15:04:03 +03:00
Kirill Fedoseev 4de478390b Updated oracle codebase to use signatures management contract 2019-11-24 18:20:56 +03:00
Kirill Fedoseev 11c396e674 Separate docker-compose for ethereum testnet and side oracle 2019-11-22 13:39:30 +03:00
Kirill Fedoseev 31ccce5020 Support of collecting signatures in side chain for oracle 2019-11-18 19:56:51 +03:00
Kirill Fedoseev 73f7dc1612 Fixed waiting for funds in sendTx, fixed correspondent tests. 2019-11-14 21:48:32 +03:00
Kirill Fedoseev 17cb9e760d Waiting for funds on bnc side, if not enough for making exchange transaction 2019-11-14 17:44:08 +03:00
Kirill Fedoseev 74089e9f5c Accept only empty nonce for memo validation script to work as a blocking script 2019-11-14 16:55:57 +03:00
Kirill Fedoseev 7f575238e1 Support of closing epoch in oracle scripts 2019-11-14 13:29:58 +03:00
Kirill Fedoseev 1de3b2d75a Minimized number of eth block timestamp requests 2019-11-12 18:42:26 +03:00
Kirill Fedoseev 7f6030ee94 Fixed minor bugs in eth-watcher 2019-11-12 18:18:45 +03:00
Kirill Fedoseev 610e4e7742 Fixed name overlapping for proxy container in docker-compose networks 2019-11-11 19:43:56 +03:00
Kirill Fedoseev 93292ffe45 Automatic fee detection for transfering all funds 2019-11-11 19:41:17 +03:00
Kirill Fedoseev 591cdf88f3 Added binance_net network in docker configs, updated validator configs 2019-11-09 15:14:06 +03:00
Kirill Fedoseev d00d78ec6c Created initial docker configurations for running dev binance testnet inside test environment 2019-11-08 11:38:53 +03:00
Kirill Fedoseev 37a5c1e989 Made bnc watcher fetch policy to be dependent on eth block timestamps 2019-11-07 17:06:12 +03:00
Kirill Fedoseev 5322d790fc Fixed signer 2019-11-05 23:23:07 +03:00
Kirill Fedoseev 85ca572e1c Handle attempts changing in signer properly 2019-11-05 21:14:22 +03:00
Kirill Fedoseev 8e8af2ba34 Refactored proxy, splitted code in several files 2019-11-05 11:00:54 +03:00
Kirill Fedoseev 19e42d90ce Moved proxy totally on ethers js 2019-11-04 20:54:02 +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 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 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