Updated configs

This commit is contained in:
Kirill Fedoseev 2019-11-25 17:32:31 +03:00
parent fd549fe6ab
commit dc5b415b97
4 changed files with 7 additions and 6 deletions

View File

@ -92,9 +92,10 @@ orbs:
- run: - run:
name: "Save ganache logs" name: "Save ganache logs"
command: | command: |
mkdir -p ./artifacts/logs/ganache mkdir -p ./artifacts/logs/ethereum
docker logs ganache_home > ./artifacts/logs/ganache/home.log docker logs ethereum-testnet_side-oracle_1 > ./artifacts/logs/ethereum/side-oracle.log
docker logs ganache_side > ./artifacts/logs/ganache/side.log docker logs ethereum-testnet_ganache_home_1 > ./artifacts/logs/ganache/ganache_home.log
docker logs ethereum-testnet_ganache_side_1 > ./artifacts/logs/ganache/ganache_side.log
when: always when: always
- run: - run:
name: "Save binance logs" name: "Save binance logs"

View File

@ -333,7 +333,7 @@ Make sure, to first run demo in development mode, before trying to run it in the
docker kill binance-testnet_api-server_1 docker kill binance-testnet_api-server_1
docker kill ethereum-testnet_ganache_home_1 docker kill ethereum-testnet_ganache_home_1
docker kill ethereum-testnet_ganache_side_1 docker kill ethereum-testnet_ganache_side_1
docker kill ethereum-testnet_side_oracle_1 docker kill ethereum-testnet_side-oracle_1
``` ```
3. Remove testnets and validators data: 3. Remove testnets and validators data:
``` ```

View File

@ -18,7 +18,7 @@ services:
- '8545:8545' - '8545:8545'
volumes: volumes:
- 'ganache_home_data:/app/db' - 'ganache_home_data:/app/db'
side_oracle: side-oracle:
build: side-oracle build: side-oracle
image: side-oracle image: side-oracle
env_file: side-oracle/.env.development env_file: side-oracle/.env.development

View File

@ -309,7 +309,7 @@ async function consumer(msg) {
writeParams(parties, threshold) writeParams(parties, threshold)
let attempt = 1 let attempt = 1
const { tx, exchanges } = buildTx(from, account, data, attempt) const { tx, exchanges } = await buildTx(from, account, data, attempt)
while (tx !== null) { while (tx !== null) {
const signResult = await sign(keysFile, tx, publicKey, from) const signResult = await sign(keysFile, tx, publicKey, from)