From 44a77aa06573962030cf8ea10c82bc4b876a2478 Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Fri, 15 Jun 2018 13:21:32 -0500 Subject: [PATCH 1/3] add rinkeby option for testing purposes Signed-off-by: VoR0220 --- test_apps/test_app/config/blockchain.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test_apps/test_app/config/blockchain.json b/test_apps/test_app/config/blockchain.json index b8a39c8f..04859d2e 100644 --- a/test_apps/test_app/config/blockchain.json +++ b/test_apps/test_app/config/blockchain.json @@ -30,6 +30,14 @@ "password": "config/development/password" } }, + "rinkeby": { + "networkType": "rinkeby", + "rpcHost": "localhost", + "rpcPort": 8545, + "account": { + "password": "config/development/password" + } + }, "livenet": { "networkType": "livenet", "rpcHost": "localhost", From 950ae2df884875fc3e131660cbe2cf2857121c71 Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Fri, 15 Jun 2018 13:27:14 -0500 Subject: [PATCH 2/3] replicate in contracts app Signed-off-by: VoR0220 --- test_apps/contracts_app/blockchain.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/test_apps/contracts_app/blockchain.json b/test_apps/contracts_app/blockchain.json index ee5b1b96..488ba61c 100644 --- a/test_apps/contracts_app/blockchain.json +++ b/test_apps/contracts_app/blockchain.json @@ -25,7 +25,18 @@ "testnet": { "networkType": "testnet", "rpcHost": "localhost", - "rpcPort": 8545 + "rpcPort": 8545, + "account": { + "password": "config/development/password" + } + }, + "rinkeby": { + "networkType": "rinkeby", + "rpcHost": "localhost", + "rpcPort": 8545, + "account": { + "password": "config/development/password" + } }, "livenet": { "networkType": "livenet", From 7926a697c4a9392ebbd3d8a5422b95efe7299ec1 Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Fri, 15 Jun 2018 14:03:48 -0500 Subject: [PATCH 3/3] change directories for passwords to replicate good behavior and add light and fast modes Signed-off-by: VoR0220 --- test_apps/contracts_app/blockchain.json | 8 ++++++-- test_apps/contracts_app/rinkeby/password | 1 + test_apps/contracts_app/ropsten/password | 1 + test_apps/test_app/config/blockchain.json | 8 ++++++-- test_apps/test_app/config/rinkeby/password | 1 + test_apps/test_app/config/ropsten/password | 1 + 6 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 test_apps/contracts_app/rinkeby/password create mode 100644 test_apps/contracts_app/ropsten/password create mode 100644 test_apps/test_app/config/rinkeby/password create mode 100644 test_apps/test_app/config/ropsten/password diff --git a/test_apps/contracts_app/blockchain.json b/test_apps/contracts_app/blockchain.json index 488ba61c..c0ef821c 100644 --- a/test_apps/contracts_app/blockchain.json +++ b/test_apps/contracts_app/blockchain.json @@ -26,16 +26,20 @@ "networkType": "testnet", "rpcHost": "localhost", "rpcPort": 8545, + "light": true, + "fast": true, "account": { - "password": "config/development/password" + "password": "config/ropsten/password" } }, "rinkeby": { "networkType": "rinkeby", "rpcHost": "localhost", "rpcPort": 8545, + "light": true, + "fast": true, "account": { - "password": "config/development/password" + "password": "config/rinkeby/password" } }, "livenet": { diff --git a/test_apps/contracts_app/rinkeby/password b/test_apps/contracts_app/rinkeby/password new file mode 100644 index 00000000..c747d679 --- /dev/null +++ b/test_apps/contracts_app/rinkeby/password @@ -0,0 +1 @@ +dev_password diff --git a/test_apps/contracts_app/ropsten/password b/test_apps/contracts_app/ropsten/password new file mode 100644 index 00000000..c747d679 --- /dev/null +++ b/test_apps/contracts_app/ropsten/password @@ -0,0 +1 @@ +dev_password diff --git a/test_apps/test_app/config/blockchain.json b/test_apps/test_app/config/blockchain.json index 04859d2e..aba34f92 100644 --- a/test_apps/test_app/config/blockchain.json +++ b/test_apps/test_app/config/blockchain.json @@ -26,16 +26,20 @@ "networkType": "testnet", "rpcHost": "localhost", "rpcPort": 8545, + "light": true, + "fast": true, "account": { - "password": "config/development/password" + "password": "config/ropsten/password" } }, "rinkeby": { "networkType": "rinkeby", "rpcHost": "localhost", "rpcPort": 8545, + "light": true, + "fast": true, "account": { - "password": "config/development/password" + "password": "config/rinkeby/password" } }, "livenet": { diff --git a/test_apps/test_app/config/rinkeby/password b/test_apps/test_app/config/rinkeby/password new file mode 100644 index 00000000..c747d679 --- /dev/null +++ b/test_apps/test_app/config/rinkeby/password @@ -0,0 +1 @@ +dev_password diff --git a/test_apps/test_app/config/ropsten/password b/test_apps/test_app/config/ropsten/password new file mode 100644 index 00000000..c747d679 --- /dev/null +++ b/test_apps/test_app/config/ropsten/password @@ -0,0 +1 @@ +dev_password