From 0c6fce87ab879ff1951c994fb33509f9fbc737b2 Mon Sep 17 00:00:00 2001 From: Matthew Campbell Date: Fri, 24 Aug 2018 21:39:37 +0700 Subject: [PATCH] consolidate down to a single port --- dappchain/loom.yaml | 2 +- transfer_gateway | 2 +- webclient/src/dc_managers/dc_account_manager.js | 4 ++-- webclient/src/dc_managers/dc_card_manager.js | 4 ++-- webclient/src/dc_managers/dc_gateway_manager.js | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dappchain/loom.yaml b/dappchain/loom.yaml index 1b95d0d..10a0e02 100644 --- a/dappchain/loom.yaml +++ b/dappchain/loom.yaml @@ -4,7 +4,7 @@ LogDestination: "file://loom2.log" LoomLogLevel: "debug" ContractLogLevel: "debug" BlockchainLogLevel: "error" -RPCListenAddress: "tcp://127.0.0.1:46657" +RPCListenAddress: "tcp://127.0.0.1:46658" TransferGateway: # Enables the Transfer Gateway Go contract, must be the same on all nodes. ContractEnabled: true diff --git a/transfer_gateway b/transfer_gateway index fd28041..ab7fff0 100755 --- a/transfer_gateway +++ b/transfer_gateway @@ -5,7 +5,7 @@ ganache_port=8545 dapp_port=8080 dappchain_port_1=46657 dappchain_port_2=46658 -build_number=371 +build_number=404 # Check available platforms platform='unknown' diff --git a/webclient/src/dc_managers/dc_account_manager.js b/webclient/src/dc_managers/dc_account_manager.js index 49affce..25a3a8e 100644 --- a/webclient/src/dc_managers/dc_account_manager.js +++ b/webclient/src/dc_managers/dc_account_manager.js @@ -21,8 +21,8 @@ export default class DAppChainAccountManager { const client = new Client( 'default', - 'ws://127.0.0.1:46657/websocket', - 'ws://127.0.0.1:9999/queryws' + 'ws://127.0.0.1:46658/websocket', + 'ws://127.0.0.1:46658/queryws' ) client.on('error', data => { diff --git a/webclient/src/dc_managers/dc_card_manager.js b/webclient/src/dc_managers/dc_card_manager.js index dc558b5..3e5b1c8 100644 --- a/webclient/src/dc_managers/dc_card_manager.js +++ b/webclient/src/dc_managers/dc_card_manager.js @@ -22,8 +22,8 @@ export default class DAppChainCardManager { const client = new Client( 'default', - 'ws://127.0.0.1:46657/websocket', - 'ws://127.0.0.1:9999/queryws' + 'ws://127.0.0.1:46658/websocket', + 'ws://127.0.0.1:46658/queryws' ) // required middleware diff --git a/webclient/src/dc_managers/dc_gateway_manager.js b/webclient/src/dc_managers/dc_gateway_manager.js index 3c68b1f..de0db62 100644 --- a/webclient/src/dc_managers/dc_gateway_manager.js +++ b/webclient/src/dc_managers/dc_gateway_manager.js @@ -20,8 +20,8 @@ export default class DAppChainGatewayManager { const client = new Client( 'default', - 'ws://127.0.0.1:46657/websocket', - 'ws://127.0.0.1:9999/queryws' + 'ws://127.0.0.1:46658/websocket', + 'ws://127.0.0.1:46658/queryws' ) // required middleware