Skip to content

Commit

Permalink
applying prettier to entire repo (#5197)
Browse files Browse the repository at this point in the history
Co-authored-by: Polkadot-Kusama Bot <[email protected]>
  • Loading branch information
github-actions[bot] and Polkadot-Kusama Bot authored Sep 18, 2023
1 parent 118accf commit d07d4d3
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
7 changes: 3 additions & 4 deletions docs/build/build-node-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@ polkadot export-blocks --from 0 <output_file>

**RPC ports**

Use the `--rpc-external` flag to expose RPC ports. Not all
RPC calls are safe to allow and you should use an RPC proxy to filter unsafe calls. Select ports
with the `--rpc-port` option. To limit the hosts who can access, use the
`--rpc-cors` option.
Use the `--rpc-external` flag to expose RPC ports. Not all RPC calls are safe to allow and you
should use an RPC proxy to filter unsafe calls. Select ports with the `--rpc-port` option. To limit
the hosts who can access, use the `--rpc-cors` option.

**Execution**

Expand Down
4 changes: 2 additions & 2 deletions docs/general/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Parachain auctions are how non-common-good parathreads win a slot to become a pa

## Aura

Authority-based round-robin scheduling (AURA) provides a slot-based block authoring mechanism,
where a known set of authorities take turns producing blocks.
Authority-based round-robin scheduling (AURA) provides a slot-based block authoring mechanism, where
a known set of authorities take turns producing blocks.

## Authority

Expand Down
6 changes: 4 additions & 2 deletions docs/learn/learn-account-advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,11 @@ interact with this account. These accounts can never issue a signed

:::info Explore System Accounts

Treasury account address - {{ polkadot: `13UVJyLnbVp9RBZYFwFGyDvVd1y27Tt8tkntv6Q7JVPhFsTB` :polkadot }}{{ kusama: `F3opxRbN5ZbjJNU511Kj2TLuzFcDq9BGduA9TgiECafpg29` :kusama }}
Treasury account address -
{{ polkadot: `13UVJyLnbVp9RBZYFwFGyDvVd1y27Tt8tkntv6Q7JVPhFsTB` :polkadot }}{{ kusama: `F3opxRbN5ZbjJNU511Kj2TLuzFcDq9BGduA9TgiECafpg29` :kusama }}

You can view the existing system accounts on [Subscan](https://polkadot.subscan.io/account_list?role=module).
You can view the existing system accounts on
[Subscan](https://polkadot.subscan.io/account_list?role=module).

:::

Expand Down
6 changes: 3 additions & 3 deletions docs/maintain/maintain-guides-how-to-validate-polkadot.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ binaries are needed to properly run a validator node. More context on these chan
#### Installation from official releases

The official binaries can be downloaded from the
[Github Releases](https://github.com/paritytech/polkadot-sdk/releases). You should download the latest
available version. You can also download the binaries by using the following direct links (replace
X.Y.Z by the appropriate version):
[Github Releases](https://github.com/paritytech/polkadot-sdk/releases). You should download the
latest available version. You can also download the binaries by using the following direct links
(replace X.Y.Z by the appropriate version):

```sh
https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-vX.Y.Z/polkadot
Expand Down
10 changes: 5 additions & 5 deletions docs/maintain/maintain-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ The built binary will be in the `target/release` folder, called `polkadot`.
```

Use the `--help` flag to determine which flags you can use when running the node. For example, if
[connecting to your node remotely](maintain-wss.md), you'll probably want to use `--rpc-external` and
`--rpc-cors all`.
[connecting to your node remotely](maintain-wss.md), you'll probably want to use `--rpc-external`
and `--rpc-cors all`.

The syncing process will take a while, depending on your capacity, processing power, disk speed and
RAM. On a \$10 DigitalOcean droplet, the process can complete in some 36 hours.
Expand Down Expand Up @@ -403,9 +403,9 @@ after the node syncs.
Finally, you can use Docker to run your node in a container. Doing this is more advanced, so it's
best left up to those already familiar with docker or who have completed the other set-up
instructions in this guide. Be aware that when you run polkadot in docker, the process only listens
on localhost by default. If you would like to connect to your node's services (rpc, and
prometheus) you need to ensure that you run you node with the `--rpc-external`, and
`--prometheus-external` commands.
on localhost by default. If you would like to connect to your node's services (rpc, and prometheus)
you need to ensure that you run you node with the `--rpc-external`, and `--prometheus-external`
commands.

```zsh
docker run -p 9944:9944 -p 9615:9615 parity/polkadot:v0.9.13 --name "calling_home_from_a_docker_container" --rpc-external --prometheus-external
Expand Down

0 comments on commit d07d4d3

Please sign in to comment.