mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-23 03:47:59 +00:00
5950432048
* set default para id to 1000 * add genesis value generation script * add statemine chain spec and genesis values * add westmint chain spec and genesis values * rename chain specs to _genesis to indicate that they are not usable for syncing the chain * adjust chain names to reduce confusion * add westmint chain spec * set chain id to shell * comment out statemine chain spec * fix build Co-authored-by: joepetrowski <joe@parity.io>
18 lines
299 B
Bash
Executable File
18 lines
299 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
usage() {
|
|
echo Usage:
|
|
echo "$0 <chain-id>"
|
|
exit 1
|
|
}
|
|
|
|
chain_id=$1
|
|
|
|
[ -z "$chain_id" ] && usage
|
|
|
|
pushd generate_genesis_values
|
|
yarn
|
|
popd
|
|
|
|
node generate_genesis_values ../polkadot-parachains/res/$chain_id.json ../polkadot-parachains/res/${chain_id}_genesis_values.json
|