mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
Standardize hash instructions (#570)
* calculate hash using jq * use jq for calculating hash This standardizes new line endings
This commit is contained in:
parent
44467569af
commit
2ed6fedc8b
@ -89,7 +89,9 @@ kvd start --halt-time 1591794000
|
|||||||
|
|
||||||
# Verify output of genesis migration
|
# Verify output of genesis migration
|
||||||
kvd validate-genesis genesis.json # should say it's valid
|
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]
|
# [PLACEHOLDER]
|
||||||
|
|
||||||
# Restart node with migrated genesis state
|
# Restart node with migrated genesis state
|
||||||
|
Loading…
Reference in New Issue
Block a user