Skip to content

Instantly share code, notes, and snippets.

@syuhei176
Created May 11, 2021 11:43
Show Gist options
  • Save syuhei176/a787270fa412ef9e4312670bcce24a2f to your computer and use it in GitHub Desktop.
Save syuhei176/a787270fa412ef9e4312670bcce24a2f to your computer and use it in GitHub Desktop.
0xapi docker
version: '3'
services:
ganache:
image: 0xorg/ganache-cli:6.5.10
ports:
- "8545:8545"
postgres:
image: postgres:9.6
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=api
- POSTGRES_DB=api
# persist the postgres data to disk so we don't lose it
# on rebuilds.
volumes:
- ./postgres:/var/lib/postgresql/data
ports:
- '5432:5432'
mesh:
image: 0xorg/mesh:9.0.1
depends_on:
- ganache
restart: on-failure
environment:
ETHEREUM_RPC_URL: 'http://ganache:8545'
ETHEREUM_CHAIN_ID: '1337'
USE_BOOTSTRAP_LIST: 'true'
VERBOSITY: 4
PRIVATE_KEY_PATH: ''
ENABLE_GRAPHQL_SERVER: 'true'
ENABLE_GRAPHQL_PLAYGROUND: 'true'
BLOCK_POLLING_INTERVAL: '5s'
ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC: '150000'
WS_RPC_ADDR: '0.0.0.0:60557'
HTTP_RPC_ADDR: '0.0.0.0:60556'
volumes:
- ./0x_mesh_test:/usr/mesh/0x_mesh
ports:
- '60556:60556'
- '60557:60557'
- '60558:60558'
- '60559:60559'
command: |
sh -c "waitForGanache () { until printf 'POST /\r\nContent-Length: 26\r\n\r\n{\"method\":\"net_listening\"}' | nc ganache 8545 | grep true; do continue; done }; waitForGanache && ./mesh"
api:
image: 0xorg/0x-api:1.15.0
depends_on:
- ganache
- postgres
- mesh
environment:
CHAIN_ID: '1337'
ETHEREUM_RPC_URL: 'http://ganache:8545'
MESH_WEBSOCKET_URI: 'ws://mesh:60557'
MESH_HTTP_URI: 'http://mesh:60556'
HTTP_PORT: 3000
POSTGRES_URI: 'postgresql://api:api@postgres/api'
WHITELIST_ALL_TOKENS: 'true'
NODE_ENV: 'test'
ports:
- '3000:3000'
ganache_1 | Listening on 0.0.0.0:8545
postgres_1 | LOG: database system was shut down at 2021-05-11 04:53:27 UTC
postgres_1 | LOG: MultiXact member wraparound protections are now enabled
postgres_1 | LOG: autovacuum launcher started
postgres_1 | LOG: database system is ready to accept connections
mesh_1 | {"config_core_Config":{"Verbosity":4,"DataDir":"0x_mesh","P2PTCPPort":60558,"P2PWebSocketsPort":60559,"EthereumChainID":1337,"UseBootstrapList":true,"BootstrapList":"","BlockPollingInterval":5000000000,"EthereumRPCMaxContentLength":524288,"EnableEthereumRPCRateLimiting":true,"EthereumRPCMaxRequestsPer24HrUTC":150000,"EthereumRPCMaxRequestsPerSecond":30,"CustomContractAddresses":"","MaxOrdersInStorage":100000,"CustomOrderFilter":"{}","EthereumRPCClient":null},"level":"info","msg":"finished initializing core.App","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:33:35Z","version_string":"9.0.1"}
mesh_1 | {"http_rpc_addr_string":"0.0.0.0:60556","level":"info","msg":"starting HTTP RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:33:35Z"}
mesh_1 | {"level":"info","msg":"starting WS RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:33:35Z","ws_rpc_addr_string":"0.0.0.0:60557"}
mesh_1 | {"address_string":"0.0.0.0:60556","level":"info","msg":"started RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:33:35Z"}
mesh_1 | {"address_string":"0.0.0.0:60557","level":"info","msg":"started RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:33:35Z"}
mesh_1 | {"level":"info","msg":"starting order watcher","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:33:35Z"}
ganache_1 | eth_getBlockByNumber
mesh_1 | {"blocksElapsed_number":-2,"level":"info","msg":"Some blocks have elapsed since last boot. Backfilling block events (this can take a while)...","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:33:35Z"}
ganache_1 | eth_getLogs
ganache_1 | eth_getBlockByNumber
mesh_1 | {"level":"info","msg":"starting block watcher","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:33:35Z"}
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
api_1 | WARNING: Multiple definitions for safeTransferFrom
api_1 | {"level":"info","time":1620732823221,"pid":1,"hostname":"f40b26fba906","msg":"OrderWatcherService starting up!","v":1}
api_1 | {"level":"info","time":1620732823222,"pid":1,"hostname":"f40b26fba906","msg":"OrderWatcherService syncing orderbook with Mesh","v":1}
api_1 | {"level":"info","time":1620732823230,"pid":1,"hostname":"f40b26fba906","msg":"server listening on 3000","v":1}
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
api_1 | {"level":"info","time":1620732850878,"pid":1,"hostname":"f40b26fba906","req":{"url":"/sra/v3/orders","method":"GET","headers":{"user-agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","host":"localhost:3000"},"body":{},"params":{},"query":{}},"res":{"statusCode":200,"statusMessage":"OK"},"responseTime":36,"timestamp":1620732850877,"v":1}
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_call
ganache_1 | eth_call
api_1 | {"level":"info","time":1620732852013,"pid":1,"hostname":"f40b26fba906","req":{"url":"/sra/v3/order_config","method":"POST","headers":{"user-agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","host":"localhost:3000"},"body":{"exchangeAddress":"0x48bacb9266a570d521063ef5dd96e61686dbe788","makerAddress":"0x5409ed021d9299bf6814279a6a1411a7e866a631","takerAddress":"0x0000000000000000000000000000000000000000","expirationTimeSeconds":"1620732951","makerAssetAmount":"5000000000000000000","takerAssetAmount":"100000000000000000","makerAssetData":"0xa7cb5fb7000000000000000000000000434f1eb003b78c0eabe034313f1aff47920e0860000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000131dafe8d759cc1116df48cd0419d0a60a4b79ff5359fe3dac79b619d51ab3bd4000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000","takerAssetData":"0xf47261b00000000000000000000000000b1ba0af832d7c05fd64161e0db78e85978e8082"},"params":{},"query":{}},"res":{"statusCode":200,"statusMessage":"OK"},"responseTime":18,"timestamp":1620732852013,"v":1}
ganache_1 | eth_signTypedData_v4
ganache_1 | eth_signTypedData_v3
postgres_1 | ERROR: relation "staking.epoch_start_pool_status" does not exist at character 98
postgres_1 | STATEMENT:
postgres_1 | WITH
postgres_1 | current_epoch_beginning_status AS (
postgres_1 | SELECT
postgres_1 | esps.*
postgres_1 | FROM staking.epoch_start_pool_status esps
postgres_1 | JOIN staking.current_epoch ce ON ce.epoch_id = esps.epoch_id
postgres_1 | )
postgres_1 | , current_epoch_fills_by_pool AS (
postgres_1 | SELECT
postgres_1 | ce.epoch_id
postgres_1 | , cebs.pool_id
postgres_1 | , COUNT(*) AS num_fills
postgres_1 | , SUM(fe.protocol_fee_paid) / 1e18 AS protocol_fees
postgres_1 | FROM events.fill_events fe
postgres_1 | LEFT JOIN current_epoch_beginning_status cebs ON fe.maker_address = ANY(cebs.maker_addresses)
postgres_1 | JOIN staking.current_epoch ce
postgres_1 | ON fe.block_number > ce.starting_block_number
postgres_1 | OR (fe.block_number = ce.starting_block_number AND fe.transaction_index >= ce.starting_transaction_index)
postgres_1 | WHERE
postgres_1 | -- fees not accruing to a pool do not count
postgres_1 | pool_id IS NOT NULL
postgres_1 | GROUP BY 1,2
postgres_1 | )
postgres_1 | , total_staked AS (
postgres_1 | SELECT
postgres_1 | SUM(zrx_delegated) AS total_staked
postgres_1 | FROM current_epoch_beginning_status
postgres_1 | )
postgres_1 | , total_fees AS (
postgres_1 | SELECT
postgres_1 | SUM(protocol_fees) AS total_protocol_fees
postgres_1 | , SUM(num_fills) AS total_fills
postgres_1 | FROM current_epoch_fills_by_pool
postgres_1 | )
postgres_1 | SELECT
postgres_1 | pce.pool_id
postgres_1 | , cebs.maker_addresses AS maker_addresses
postgres_1 | , cebs.operator_share AS operator_share
postgres_1 | , cebs.zrx_delegated AS zrx_staked
postgres_1 | , ts.total_staked
postgres_1 | , cebs.operator_zrx_delegated AS operator_zrx_staked
postgres_1 | , cebs.member_zrx_delegated AS member_zrx_staked
postgres_1 | , cebs.zrx_delegated / ts.total_staked AS share_of_stake
postgres_1 | , fbp.protocol_fees AS total_protocol_fees_generated_in_eth
postgres_1 | , fbp.num_fills AS number_of_fills
postgres_1 | , fbp.protocol_fees / tf.total_protocol_fees AS share_of_fees
postgres_1 | , fbp.num_fills::FLOAT / tf.total_fills::FLOAT AS share_of_fills
postgres_1 | , (cebs.zrx_delegated / ts.total_staked)
postgres_1 | / (fbp.protocol_fees / tf.total_protocol_fees)
postgres_1 | AS approximate_stake_ratio
postgres_1 | FROM events.staking_pool_created_events pce
postgres_1 | LEFT JOIN current_epoch_beginning_status cebs ON cebs.pool_id = pce.pool_id
postgres_1 | LEFT JOIN current_epoch_fills_by_pool fbp ON fbp.epoch_id = cebs.epoch_id AND fbp.pool_id = cebs.pool_id
postgres_1 | CROSS JOIN total_staked ts
postgres_1 | CROSS JOIN total_fees tf;
postgres_1 |
api_1 | {"level":"warn","time":1620732852065,"pid":1,"hostname":"f40b26fba906","msg":"currentEpochPoolsStatsQuery threw an error: QueryFailedError: relation \"staking.epoch_start_pool_status\" does not exist","v":1}
mesh_1 | {"count_number":1,"level":"info","msg":"received AddOrders request via RPC","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","pinned_bool":false,"time":"2021-05-11T11:34:12Z"}
api_1 | {"level":"error","time":1620732853213,"pid":1,"hostname":"f40b26fba906","msg":"Error attempting to start Order Watcher service, [{\"shouldAlert\":true,\"details\":\"Error on starting OrderWatcher service: [Error: Connection error: Timeout exceeded\\n at Timeout._onTimeout (/usr/src/app/node_modules/web3-providers/dist/web3-providers.cjs.js:577:22)\\n at listOnTimeout (internal/timers.js:535:17)\\n at processTimers (internal/timers.js:479:7)]\",\"message\":\"Error syncing OrderWatcher!\"}]","v":1}
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
api_1 | {"level":"info","time":1620732872086,"pid":1,"hostname":"f40b26fba906","req":{"url":"/sra/v3/order","method":"POST","headers":{"user-agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","host":"localhost:3000"},"body":{"expiry":1620732951,"maker":"0x5409ed021d9299bf6814279a6a1411a7e866a631","taker":"0x6ecbe1db9ef729cbe972c83fb886247691fb6beb","chainId":1337,"salt":"81319347002374047258370480606124718240406899087635893294125735134317784692561","exchangeAddress":"0x48bacb9266a570d521063ef5dd96e61686dbe788","makerAddress":"0x5409ed021d9299bf6814279a6a1411a7e866a631","takerAddress":"0x0000000000000000000000000000000000000000","expirationTimeSeconds":"1620732951","makerAssetAmount":"5000000000000000000","takerAssetAmount":"100000000000000000","makerAssetData":"0xa7cb5fb7000000000000000000000000434f1eb003b78c0eabe034313f1aff47920e0860000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000131dafe8d759cc1116df48cd0419d0a60a4b79ff5359fe3dac79b619d51ab3bd4000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000","takerAssetData":"0xf47261b00000000000000000000000000b1ba0af832d7c05fd64161e0db78e85978e8082","senderAddress":"0x0000000000000000000000000000000000000000","feeRecipientAddress":"0x0000000000000000000000000000000000000000","makerFee":"0","takerFee":"0","makerFeeAssetData":"0x","takerFeeAssetData":"0x","signature":"0x1c2496dce1f7be6e40a1afb9766266906e5413aa3abf8dd58f1c2c42e392ffe8c963213e0d7de91a392bd5955ab2b5a405fc216c190726b691976934f253cb10cc02"},"params":{},"query":{}},"res":{"statusCode":200},"responseTime":20027,"timestamp":1620732872086,"v":1}
mesh_1 | {"error_string":"timed out waiting for first block to be processed by Mesh node. Check your backing Ethereum RPC endpoint","level":"error","msg":"core app exited with error","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:35Z"}
mesh_1 exited with code 1
mesh_1 | {"config_core_Config":{"Verbosity":4,"DataDir":"0x_mesh","P2PTCPPort":60558,"P2PWebSocketsPort":60559,"EthereumChainID":1337,"UseBootstrapList":true,"BootstrapList":"","BlockPollingInterval":5000000000,"EthereumRPCMaxContentLength":524288,"EnableEthereumRPCRateLimiting":true,"EthereumRPCMaxRequestsPer24HrUTC":150000,"EthereumRPCMaxRequestsPerSecond":30,"CustomContractAddresses":"","MaxOrdersInStorage":100000,"CustomOrderFilter":"{}","EthereumRPCClient":null},"level":"info","msg":"finished initializing core.App","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:46Z","version_string":"9.0.1"}
mesh_1 | {"http_rpc_addr_string":"0.0.0.0:60556","level":"info","msg":"starting HTTP RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:46Z"}
mesh_1 | {"level":"info","msg":"starting WS RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:46Z","ws_rpc_addr_string":"0.0.0.0:60557"}
mesh_1 | {"address_string":"0.0.0.0:60556","level":"info","msg":"started RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:46Z"}
mesh_1 | {"address_string":"0.0.0.0:60557","level":"info","msg":"started RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:46Z"}
mesh_1 | {"level":"info","msg":"starting order watcher","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:46Z"}
ganache_1 | eth_getBlockByNumber
mesh_1 | {"blocksElapsed_number":-2,"level":"info","msg":"Some blocks have elapsed since last boot. Backfilling block events (this can take a while)...","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:46Z"}
ganache_1 | eth_getLogs
ganache_1 | eth_getBlockByNumber
mesh_1 | {"level":"info","msg":"starting block watcher","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:34:46Z"}
ganache_1 | eth_getBlockByNumber
api_1 | {"level":"info","time":1620732888000,"pid":1,"hostname":"f40b26fba906","msg":"OrderWatcherService reconnecting to Mesh","v":1}
api_1 | {"level":"info","time":1620732888000,"pid":1,"hostname":"f40b26fba906","msg":"OrderWatcherService syncing orderbook with Mesh","v":1}
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
api_1 | {"level":"error","time":1620732917985,"pid":1,"hostname":"f40b26fba906","shouldAlert":true,"details":"Error on reconnecting Mesh client: [Error: Connection error: Timeout exceeded\n at Timeout._onTimeout (/usr/src/app/node_modules/web3-providers/dist/web3-providers.cjs.js:577:22)\n at listOnTimeout (internal/timers.js:535:17)\n at processTimers (internal/timers.js:479:7)]","message":"Error syncing OrderWatcher!","v":1}
api_1 | {"level":"error","time":1620732917985,"pid":1,"hostname":"f40b26fba906","shouldAlert":true,"details":"Error on reconnecting Mesh client: [Error: Connection error: Timeout exceeded\n at Timeout._onTimeout (/usr/src/app/node_modules/web3-providers/dist/web3-providers.cjs.js:577:22)\n at listOnTimeout (internal/timers.js:535:17)\n at processTimers (internal/timers.js:479:7)]","message":"Error syncing OrderWatcher!","v":1}
api_1 | {"level":"error","time":1620732917985,"pid":1,"hostname":"f40b26fba906","shouldAlert":true,"details":"Error on reconnecting Mesh client: [Error: Connection error: Timeout exceeded\n at Timeout._onTimeout (/usr/src/app/node_modules/web3-providers/dist/web3-providers.cjs.js:577:22)\n at listOnTimeout (internal/timers.js:535:17)\n at processTimers (internal/timers.js:479:7)]","message":"Error syncing OrderWatcher!","v":1}
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
mesh_1 | {"error_string":"timed out waiting for first block to be processed by Mesh node. Check your backing Ethereum RPC endpoint","level":"error","msg":"core app exited with error","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:46Z"}
mesh_1 exited with code 1
mesh_1 | {"config_core_Config":{"Verbosity":4,"DataDir":"0x_mesh","P2PTCPPort":60558,"P2PWebSocketsPort":60559,"EthereumChainID":1337,"UseBootstrapList":true,"BootstrapList":"","BlockPollingInterval":5000000000,"EthereumRPCMaxContentLength":524288,"EnableEthereumRPCRateLimiting":true,"EthereumRPCMaxRequestsPer24HrUTC":150000,"EthereumRPCMaxRequestsPerSecond":30,"CustomContractAddresses":"","MaxOrdersInStorage":100000,"CustomOrderFilter":"{}","EthereumRPCClient":null},"level":"info","msg":"finished initializing core.App","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:57Z","version_string":"9.0.1"}
mesh_1 | {"http_rpc_addr_string":"0.0.0.0:60556","level":"info","msg":"starting HTTP RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:57Z"}
mesh_1 | {"level":"info","msg":"starting WS RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:57Z","ws_rpc_addr_string":"0.0.0.0:60557"}
mesh_1 | {"address_string":"0.0.0.0:60556","level":"info","msg":"started RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:57Z"}
mesh_1 | {"address_string":"0.0.0.0:60557","level":"info","msg":"started RPC server","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:57Z"}
mesh_1 | {"level":"info","msg":"starting order watcher","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:57Z"}
ganache_1 | eth_getBlockByNumber
mesh_1 | {"blocksElapsed_number":-2,"level":"info","msg":"Some blocks have elapsed since last boot. Backfilling block events (this can take a while)...","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:57Z"}
ganache_1 | eth_getLogs
mesh_1 | {"level":"info","msg":"starting block watcher","myPeerID":"16Uiu2HAm63M86yh9n32dij38wUn8949viWNj6MnzkRqAxydo4Bto","time":"2021-05-11T11:35:57Z"}
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
api_1 | {"level":"info","time":1620732958650,"pid":1,"hostname":"f40b26fba906","msg":"OrderWatcherService reconnecting to Mesh","v":1}
api_1 | {"level":"info","time":1620732958650,"pid":1,"hostname":"f40b26fba906","msg":"OrderWatcherService syncing orderbook with Mesh","v":1}
postgres_1 | WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
ganache_1 | eth_getBlockByNumber
api_1 | {"level":"error","time":1620732988630,"pid":1,"hostname":"f40b26fba906","shouldAlert":true,"details":"Error on reconnecting Mesh client: [Error: Connection error: Timeout exceeded\n at Timeout._onTimeout (/usr/src/app/node_modules/web3-providers/dist/web3-providers.cjs.js:577:22)\n at listOnTimeout (internal/timers.js:535:17)\n at processTimers (internal/timers.js:479:7)]","message":"Error syncing OrderWatcher!","v":1}
api_1 | {"level":"error","time":1620732988630,"pid":1,"hostname":"f40b26fba906","shouldAlert":true,"details":"Error on reconnecting Mesh client: [Error: Connection error: Timeout exceeded\n at Timeout._onTimeout (/usr/src/app/node_modules/web3-providers/dist/web3-providers.cjs.js:577:22)\n at listOnTimeout (internal/timers.js:535:17)\n at processTimers (internal/timers.js:479:7)]","message":"Error syncing OrderWatcher!","v":1}
api_1 | {"level":"error","time":1620732988630,"pid":1,"hostname":"f40b26fba906","shouldAlert":true,"details":"Error on reconnecting Mesh client: [Error: Connection error: Timeout exceeded\n at Timeout._onTimeout (/usr/src/app/node_modules/web3-providers/dist/web3-providers.cjs.js:577:22)\n at listOnTimeout (internal/timers.js:535:17)\n at processTimers (internal/timers.js:479:7)]","message":"Error syncing OrderWatcher!","v":1}
ganache_1 | eth_getBlockByNumber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment