diff --git a/docs/participate/01_staking/01_become_a_collator/03_setup_node.md b/docs/participate/01_staking/01_become_a_collator/03_setup_node.md index d7d47eff5..376829c83 100644 --- a/docs/participate/01_staking/01_become_a_collator/03_setup_node.md +++ b/docs/participate/01_staking/01_become_a_collator/03_setup_node.md @@ -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. diff --git a/docs/participate/01_staking/01_become_a_collator/_03_start_node_binary.mdx b/docs/participate/01_staking/01_become_a_collator/_03_start_node_binary.mdx index 58dde2037..912c4a871 100644 --- a/docs/participate/01_staking/01_become_a_collator/_03_start_node_binary.mdx +++ b/docs/participate/01_staking/01_become_a_collator/_03_start_node_binary.mdx @@ -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 \ @@ -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 ``` @@ -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 \ @@ -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 ``` diff --git a/docs/participate/01_staking/01_become_a_collator/_03_start_node_docker.mdx b/docs/participate/01_staking/01_become_a_collator/_03_start_node_docker.mdx index ec0966252..5fe3053db 100644 --- a/docs/participate/01_staking/01_become_a_collator/_03_start_node_docker.mdx +++ b/docs/participate/01_staking/01_become_a_collator/_03_start_node_docker.mdx @@ -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 \ @@ -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 ``` @@ -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 \ @@ -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 ```