dir restructure to support more CGP (#1266)

* rerame res to chain-specs

* split polkadot-parachains dir

* rename dir parachains-common to common

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
This commit is contained in:
Squirrel
2022-05-20 13:43:04 +01:00
committed by GitHub
parent 820153b785
commit 9405a969f0
138 changed files with 197 additions and 151 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ steps=50
repeat=20
chainName=$1
benhcmarkOutput=./polkadot-parachains/$chainName/src/weights
benhcmarkOutput=./parachains/runtimes/$chainName/src/weights
benhcmarkChainName="$chainName-dev"
pallets=(
+3 -3
View File
@@ -3,9 +3,9 @@
steps=50
repeat=20
statemineOutput=./polkadot-parachains/statemine/src/weights
statemintOutput=./polkadot-parachains/statemint/src/weights
westmintOutput=./polkadot-parachains/westmint/src/weights
statemineOutput=./parachains/runtimes/statemine/src/weights
statemintOutput=./parachains/runtimes/statemint/src/weights
westmintOutput=./parachains/runtimes/westmint/src/weights
statemineChain=statemine-dev
statemintChain=statemint-dev
+3 -3
View File
@@ -41,7 +41,7 @@ set -e
chain_id=$1
rpc_endpoint=$2
work_dir="polkadot-parachains/res"
work_dir="parachains/chain-specs"
chain_spec=$work_dir/$chain_id.json
chain_values=$work_dir/${chain_id}_values.json
chain_values_scale=$work_dir/${chain_id}_values.scale
@@ -58,7 +58,7 @@ if [[ "$rpc_endpoint" =~ "localhost" ]]; then
check_collator
echo -e "Make sure you have a collator running with the correct version at $rpc_endpoint."
echo -e "If you don't, NOW is the time to start it with:"
echo -e "target/release/polkadot-parachain --chain polkadot-parachains/res/shell-statemint.json --tmp\n"
echo -e "target/release/polkadot-parachain --chain parachains/chain-specs/shell-statemint.json --tmp\n"
read -p "You can abort with CTRL+C if this is not correct, otherwise press ENTER "
fi
@@ -77,4 +77,4 @@ popd
node scripts/scale_encode_genesis $chain_values $chain_values_scale $rpc_endpoint
ls -al polkadot-parachains/res/${chain_id}_value*.*
ls -al parachains/chain-specs/${chain_id}_value*.*