rename polkadot-collator to polkadot-parachain (#1241)

* rename polkadot-collator to polkadot-parachain

Not every node has to be a collator.

* Update README.md

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* rename docker file

* Update .github/workflows/extrinsic-ordering-check-from-bin.yml

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Versioning scheme that tracks polkadot relay chain

but allows for patch releases by having a 0 at the end.
(`-patch1` patch naming schemes were discussed but they
were judged to cause downstream packagers pain.)

* update name

* update lock file

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
This commit is contained in:
Squirrel
2022-05-13 14:02:52 +01:00
committed by GitHub
parent e3d0895dc6
commit 8d44f9bcae
27 changed files with 179 additions and 178 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ pallets=(
for p in ${pallets[@]}
do
./artifacts/polkadot-collator benchmark pallet \
./artifacts/polkadot-parachain benchmark pallet \
--chain=$benhcmarkChainName \
--execution=wasm \
--wasm-execution=compiled \
+3 -3
View File
@@ -27,7 +27,7 @@ pallets=(
for p in ${pallets[@]}
do
./target/production/polkadot-collator benchmark pallet \
./target/production/polkadot-parachain benchmark pallet \
--chain=$statemineChain \
--execution=wasm \
--wasm-execution=compiled \
@@ -39,7 +39,7 @@ do
--header=./file_header.txt \
--output=$statemineOutput
./target/production/polkadot-collator benchmark pallet \
./target/production/polkadot-parachain benchmark pallet \
--chain=$statemintChain \
--execution=wasm \
--wasm-execution=compiled \
@@ -51,7 +51,7 @@ do
--header=./file_header.txt \
--output=$statemintOutput
./target/production/polkadot-collator benchmark pallet \
./target/production/polkadot-parachain benchmark pallet \
--chain=$westmintChain \
--execution=wasm \
--wasm-execution=compiled \
@@ -1,11 +1,11 @@
<!--
## Docker images
The docker image for this release can be found in [Docker hub](https://hub.docker.com/r/parity/polkadot-collator/tags?page=1&ordering=last_updated).
The docker image for this release can be found in [Docker hub](https://hub.docker.com/r/parity/polkadot-parachain/tags?page=1&ordering=last_updated).
You may also pull it with:
```
docker pull parity/polkadot-collator:latest
docker pull parity/polkadot-parachain:latest
```
-->
+1 -1
View File
@@ -26,7 +26,7 @@ sudo=$8
[ -z "$para_$id" ] && usage
[ -z "$sudo" ] && usage
binary="./target/release/polkadot-collator"
binary="./target/release/polkadot-parachain"
# build the chain spec we'll manipulate
$binary build-spec --disable-default-bootnode --chain seedling > seedling-spec-plain.json
+1 -1
View File
@@ -10,7 +10,7 @@ set -e
rt_path=$1
binary="./target/release/polkadot-collator"
binary="./target/release/polkadot-parachain"
# build the chain spec we'll manipulate
$binary build-spec --chain shell > shell-spec-plain.json
+2 -2
View File
@@ -27,7 +27,7 @@ chain_spec_summary() {
}
check_collator() {
BIN=target/release/polkadot-collator
BIN=target/release/polkadot-parachain
if [ -f $BIN ]; then
echo "✅ Collator binary found:"
$BIN --version
@@ -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-collator --chain polkadot-parachains/res/shell-statemint.json --tmp\n"
echo -e "target/release/polkadot-parachain --chain polkadot-parachains/res/shell-statemint.json --tmp\n"
read -p "You can abort with CTRL+C if this is not correct, otherwise press ENTER "
fi