From 07f3d6b1f5f8e5db1de3ecd6f8ab92e74a9f14be Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Thu, 4 Nov 2021 16:17:31 +0100 Subject: [PATCH] remove verification script --- scripts/verify_shell_spec.sh | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 scripts/verify_shell_spec.sh diff --git a/scripts/verify_shell_spec.sh b/scripts/verify_shell_spec.sh deleted file mode 100755 index cb375d0583..0000000000 --- a/scripts/verify_shell_spec.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bash - -usage() { - echo Usage: - echo "$0 " - exit 1 -} - -set -e - -spec_path=$1 - -# sort the json files by key to make sure they are the same when hashed -jq --sort-keys . polkadot-parachains/res/shell-statemint.json > sorted.json -# generate the checksum -sha256sum sorted.json > chainspec-checksum - -# overwrite the sorted chainspec json... -jq --sort-keys . $spec_path > sorted.json -# ...so that we can verify the 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