Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ You should be the only one able to call the RPC endpoint.
For a secure setup, follow the instructions in the previous section about [generating the session keys](./04_session_keys.md).
:::

### WASM Runtime Execution

A KILT collator node should use the `--execution=wasm` parameter for both the Relay Chain and parachain collation.
The alternative to WASM runtime execution is native runtime execution, which might be faster but can, in some cases, deviate from the WASM execution logic and result in a different state.
When this happens, the collator node will crash and will stop synchronizing with the network and stop producing blocks.
Since the WASM runtime logic is part of the blockchain state itself and hence represents the single source of truth, all nodes should execute the WASM version of the runtime logic.

### Specify the Right Chainspec

The `--chain` parameter indicates which blockchain the KILT collator node will join.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Please select your target network:
--rpc-cors=all \
--rpc-methods=unsafe \
--name="name of collator" \
--execution=wasm \
--listen-addr=/ip4/0.0.0.0/tcp/30333 \
--base-path=$HOME/data/parachain \
--keystore-path=$HOME/data/keystore \
Expand All @@ -29,7 +28,8 @@ Please select your target network:
--chain=polkadot \
--listen-addr=/ip4/0.0.0.0/tcp/30334 \
--base-path=$HOME/data/relay \
--execution=wasm
--blocks-pruning 256 \
--state-pruning 256
```
</TabItem>

Expand All @@ -44,7 +44,6 @@ Please select your target network:
--rpc-cors=all \
--rpc-methods=unsafe \
--name="name of collator" \
--execution=wasm \
--listen-addr=/ip4/0.0.0.0/tcp/30333 \
--base-path=$HOME/data/parachain \
--keystore-path=$HOME/data/keystore \
Expand All @@ -53,7 +52,8 @@ Please select your target network:
--chain=./dev-specs/kilt-parachain/peregrine-relay.json \
--listen-addr=/ip4/0.0.0.0/tcp/30334 \
--base-path=$HOME/data/relay \
--execution=wasm
--blocks-pruning 256 \
--state-pruning 256
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Please select your target network:
--rpc-methods=unsafe \
--unsafe-rpc-external \
--name="name of collator" \
--execution=wasm \
--listen-addr=/ip4/0.0.0.0/tcp/30333 \
--base-path=/data/parachain \
--keystore-path=/data/keystore \
Expand All @@ -31,7 +30,8 @@ Please select your target network:
--chain=polkadot \
--listen-addr=/ip4/0.0.0.0/tcp/30334 \
--base-path=/data/relay \
--execution=wasm
--blocks-pruning 256 \
--state-pruning 256
```
</TabItem>

Expand All @@ -48,7 +48,6 @@ Please select your target network:
--rpc-methods=unsafe \
--unsafe-rpc-external \
--name="name of collator" \
--execution=wasm \
--listen-addr=/ip4/0.0.0.0/tcp/30333 \
--base-path=/data/parachain \
--keystore-path=/data/keystore \
Expand All @@ -57,7 +56,8 @@ Please select your target network:
--chain=/node/dev-specs/kilt-parachain/peregrine-relay.json \
--listen-addr=/ip4/0.0.0.0/tcp/30334 \
--base-path=/data/relay \
--execution=wasm
--blocks-pruning 256 \
--state-pruning 256
```

</TabItem>
Expand Down