Skip to content

Commit

Permalink
feat: show --wasm usage (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosala authored May 17, 2024
1 parent 371ce22 commit 5743df3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/recipes/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ As an example, let's imagine we have already set up the polkadot relay chain for
npx papi add dot -n polkadot
```

If you know of a node available through a websocket that has the runtime upgrade, you can download that metadata with the CLI:
You can directly compile (or download from a GitHub CI, for example) your WASM runtime and PAPI will get the metadata from it and will be able to generate the descriptors.

```sh
npx papi add nextDot -w wss://rpc-polkadot.exampleupdate.io/
npx papi add nextDot --wasm polkadot_next_runtime.compressed.wasm
npx papi generate
```

Expand Down

0 comments on commit 5743df3

Please sign in to comment.