Skip to content

Commit

Permalink
docs: various improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexD10S committed Dec 10, 2024
1 parent f8fa254 commit 1090c54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pop-cli-for-appchains/guides/calling-a-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Interactive Guidance (Recommended)

Interact with the chain **with** Pop CLI's interactive guidance by simply entering:
Interact with a chain **using** Pop CLI's interactive guidance by simply entering:

```shell
pop call chain
Expand Down Expand Up @@ -40,7 +40,7 @@ pop call chain --pallet System --function remark --args "0x11" --url ws://localh

#### Additional Options

* If you have sudo rights and need to dispatch a function as Root origin you can specify it using the flag `--sudo`:
* To dispatch a call with the Root origin when the chain's runtime includes `pallet-sudo`, you can wrap the call in a `sudo.sudo()` call by using the `--sudo` flag:

```shell
pop call chain --pallet System --function remark --args "0x11" --url ws://localhost:9944/ --suri //Alice --sudo
Expand Down
2 changes: 1 addition & 1 deletion pop-cli-for-appchains/pop-cli/call.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If interactive guidance is not desired, you can proceed manually as follows:
pop call chain --pallet System --function remark --args "0x11" --url ws://localhost:9944/ --suri //Alice
```

If you have sudo privileges and need to dispatch a function as Root origin, include the `--sudo` flag in your command.
To dispatch a call with the Root origin when the chain's runtime includes `pallet-sudo`, you can wrap the call in a `sudo.sudo()` call by using the `--sudo` flag:

```bash
pop call chain --pallet System --function remark --args "0x11" --url ws://localhost:9944/ --suri //Alice --sudo
Expand Down

0 comments on commit 1090c54

Please sign in to comment.