git.delta.rocks / unique-network / refs/commits / a671b03d7ae5

difftreelog

Add grandpa keys to testnet deploy script

Greg Zaitsev2020-07-21parent: #aad59db.patch.diff
in: master

2 files changed

modified.gitignorediffbeforeafterboth
8chain-data*/8chain-data*/
99
10einstein_key_file10einstein_key_file
11*store_key.json11*store_key*.json
modifieddeploy-testnet.shdiffbeforeafterboth
--- a/deploy-testnet.sh
+++ b/deploy-testnet.sh
@@ -13,13 +13,20 @@
 ### Build and run Einstein node (bootnode) and Newton node
 docker-compose -f docker-compose-testnet.yml up -d --build
 
-### Deploy store keys
+### Deploy aura store keys
 # Einstein
 curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key.json"
 
 # Newton
 curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key.json"
 
+### Deploy standpa store keys
+# Einstein
+curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key_grandpa.json"
+
+# Newton
+curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key_grandpa.json"
+
 ### Stop and restart nodes so that they start finalizing
 docker-compose -f docker-compose-testnet.yml down
 docker-compose -f docker-compose-testnet.yml up -d