mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 07:01:02 +00:00
add sha checksum for head data
This commit is contained in:
@@ -17,5 +17,13 @@ sha256sum sorted.json > chainspec-checksum
|
|||||||
|
|
||||||
# overwrite the sorted chainspec json...
|
# overwrite the sorted chainspec json...
|
||||||
jq --sort-keys . $spec_path > sorted.json
|
jq --sort-keys . $spec_path > sorted.json
|
||||||
# ... so that we can verify the checksum
|
# ...so that we can verify the checksum
|
||||||
sha256sum --check chainspec-checksum
|
sha256sum --check chainspec-checksum
|
||||||
|
|
||||||
|
cp shell-head-data shell-head-data-copy
|
||||||
|
# generate the checksum for the freshly generated head data
|
||||||
|
sha256sum shell-head-data-copy > head-data-checksum
|
||||||
|
# overwrite the head data with the repo version...
|
||||||
|
cp polkadot-parachains/res/shell-statemint-head-data shell-head-data-copy
|
||||||
|
# ...so that we can verify the checksum
|
||||||
|
sha256sum --check head-data-checksum
|
||||||
|
|||||||
Reference in New Issue
Block a user