From 2ed6fedc8bdeffdf3bf6895f101b4bb324c72667 Mon Sep 17 00:00:00 2001 From: Ruaridh Date: Tue, 9 Jun 2020 18:34:42 +0100 Subject: [PATCH] Standardize hash instructions (#570) * calculate hash using jq * use jq for calculating hash This standardizes new line endings --- contrib/kava-3/migration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/kava-3/migration.md b/contrib/kava-3/migration.md index 73f0a1c8..04089baf 100644 --- a/contrib/kava-3/migration.md +++ b/contrib/kava-3/migration.md @@ -89,7 +89,9 @@ kvd start --halt-time 1591794000 # Verify output of genesis migration kvd validate-genesis genesis.json # should say it's valid - shasum -a 256 genesis.json + # Check the genesis hash. Note: jq must be installed + # DO NOT WRITE THE JQ OUTPUT TO FILE. Use only for calculating the hash. + jq -S -c -M '' genesis.json | shasum -a 256 # [PLACEHOLDER] # Restart node with migrated genesis state