Standardize hash instructions (#570)

* calculate hash using jq
* use jq for calculating hash
This standardizes new line endings
This commit is contained in:
Ruaridh 2020-06-09 18:34:42 +01:00 committed by GitHub
parent 44467569af
commit 2ed6fedc8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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