From e29ea876f5f8c6980daa63e59c315ddfc658af7e Mon Sep 17 00:00:00 2001 From: Kirill Fedoseev Date: Mon, 28 Oct 2019 23:29:58 +0300 Subject: [PATCH] Trying to figure out why eth watcher does not work properly on CI env 3 --- .circleci/config.yml | 2 ++ src/oracle/ethWatcher/ethWatcher.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 38627e7..527b6b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,6 +49,8 @@ orbs: docker cp "./workspace/ganache_side_data" "tmp:/ganache_side_data" docker cp "./workspace/ganache_home_data" "tmp:/ganache_home_data" docker kill tmp + ls ./workspace/ganache_side_data + ls ./workspace/ganache_home_data restore_tss_image: description: "Restores tss image from cache" steps: diff --git a/src/oracle/ethWatcher/ethWatcher.js b/src/oracle/ethWatcher/ethWatcher.js index db444a0..9ffbe34 100644 --- a/src/oracle/ethWatcher/ethWatcher.js +++ b/src/oracle/ethWatcher/ethWatcher.js @@ -12,8 +12,8 @@ const abiBridge = require('./contracts_data/Bridge.json').abi logger.debug('%o', abiBridge) setInterval(() => { - logger.debug("alive", 5000) -}) + logger.debug("alive") +}, 5000) const { HOME_RPC_URL, HOME_BRIDGE_ADDRESS, RABBITMQ_URL, HOME_START_BLOCK, VALIDATOR_PRIVATE_KEY } = process.env