From a671b03d7ae560f71e518c90d27371f9a1923f8b Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Tue, 21 Jul 2020 12:09:10 +0000 Subject: [PATCH] Add grandpa keys to testnet deploy script --- --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,4 @@ chain-data*/ einstein_key_file -*store_key.json \ No newline at end of file +*store_key*.json \ No newline at end of file --- 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 -- gitstuff