Skip to content

Commit

Permalink
applying prettier to entire repo (#5888)
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 May 13, 2024
1 parent 085320f commit e1720ae
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 20 deletions.
6 changes: 3 additions & 3 deletions docs/build/build-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ benchmarks.

On-demand parachains use a "pay-as-you-go" model enabled by Agile Coretime to interact with the
Relay Chain. On-demand parachains will only produce a block when needed, unlike full parachains,
which have access to bulk coretime to produce a block at every block of the Relay Chain. When building an
on-demand parachain, you will use the same tools (like PDKs) and get all the benefits of building a
parachain without the cost drawback of purchasing bulk coretime.
which have access to bulk coretime to produce a block at every block of the Relay Chain. When
building an on-demand parachain, you will use the same tools (like PDKs) and get all the benefits of
building a parachain without the cost drawback of purchasing bulk coretime.

:::

Expand Down
6 changes: 4 additions & 2 deletions docs/build/build-parachains.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,10 @@ To include your parachain into the {{ polkadot: Polkadot :polkadot }}{{ kusama:
network, you will need to acquire a parachain slot.

Parachain slot leases are acuqired through open auctions, the mechanics of which can be found on the
[parachain auction](../learn/learn-auction.md) page. With [Agile Coretime,](../learn/learn-agile-coretime.md)
these parachain lease auctions will be deprecated and parachains can [purchase coretime](../learn/learn-guides-coretime-marketplaces.md) to produce blocks
[parachain auction](../learn/learn-auction.md) page. With
[Agile Coretime,](../learn/learn-agile-coretime.md) these parachain lease auctions will be
deprecated and parachains can [purchase coretime](../learn/learn-guides-coretime-marketplaces.md) to
produce blocks
[continuously or on-demand](../learn/learn-parachains.md#parachains-vs-on-demand-parachains).

## Resources
Expand Down
4 changes: 2 additions & 2 deletions docs/general/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ parachains that do. It's possible for parachains to enable smart contract functi
benefit from the security and interoperability features of Polkadot. Additionally, existing smart
contract chains can connect to Polkadot as a parachain, or via a bridge.

So it's better to say that the Polkadot _ecosystem_ has smart contracts versus "Polkadot
has smart contracts."
So it's better to say that the Polkadot _ecosystem_ has smart contracts versus "Polkadot has smart
contracts."

### How does the Polkadot Relay Chain connect to external chains in the ecosystem?

Expand Down
6 changes: 3 additions & 3 deletions docs/general/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ A unique numeric (non-negative integer) identifier for a parachain.

## Parathread

Historically, the term "parathread" has been used in two contexts: a substrate-based chain not yet parachain (i.e. not connected to
a {{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }} core), or as an on-demand parachain
(i.e. a parachain using on-demand coretime).
Historically, the term "parathread" has been used in two contexts: a substrate-based chain not yet
parachain (i.e. not connected to a {{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }}
core), or as an on-demand parachain (i.e. a parachain using on-demand coretime).

## Parachain Registry

Expand Down
5 changes: 2 additions & 3 deletions docs/learn/learn-account-balances.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ be used for transfers, to pay fees, or must remain frozen and unused due to an o
:::info A more efficient distribution of account balance types

Soon, pallets on Polkadot SDK will be implementing the _fungible_ trait (see
[the tracking issue](https://github.com/paritytech/polkadot-sdk/issues/226)
for more info). This new logic will allow for more efficient use of your account
balance. Specifically, the
[the tracking issue](https://github.com/paritytech/polkadot-sdk/issues/226) for more info). This new
logic will allow for more efficient use of your account balance. Specifically, the
[fungible trait](https://paritytech.github.io/polkadot-sdk/master/frame_support/traits/tokens/fungible/index.html)
will allow using the `free` balance for on-chain activity like setting proxies and identities.

Expand Down
6 changes: 4 additions & 2 deletions docs/learn/learn-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ construct a valid transaction. Additional funds will need to be added to cover t

:::info The existential deposit can be different on parachains

Having an Existential Deposit (ED) on the relay chain account does not guarantee the liveness of the same account on its system chains or parachains. Parachains typically define ED for an account in their native tokens but can also configure it with tokens that are deemed sufficient. For example, the Existential Deposit on Polkadot Asset Hub can be in DOT or sufficient assets like USDC or USDT.

Having an Existential Deposit (ED) on the relay chain account does not guarantee the liveness of the
same account on its system chains or parachains. Parachains typically define ED for an account in
their native tokens but can also configure it with tokens that are deemed sufficient. For example,
the Existential Deposit on Polkadot Asset Hub can be in DOT or sufficient assets like USDC or USDT.

:::

Expand Down
3 changes: 2 additions & 1 deletion docs/learn/learn-auction.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ parachain slots. The number of parachain slots is not unbounded on
available. A limited number of slots are unlocked every few months through on-chain governance. If a
parachain wants to have guaranteed block inclusion at every Relay Chain block, it must acquire a
parachain slot. The development of
[on-demand parachains](https://forum.polkadot.network/t/on-demand-parachains/2208) is complete, and they can be deployed after Agile Coretime is live on the network.
[on-demand parachains](https://forum.polkadot.network/t/on-demand-parachains/2208) is complete, and
they can be deployed after Agile Coretime is live on the network.

The parachain slots will be leased according to an unpermissioned
[candle auction](https://en.wikipedia.org/wiki/Candle_auction), with several alterations related to
Expand Down
8 changes: 4 additions & 4 deletions docs/learn/learn-polkadot-opengov.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ origin's privileges. When both the approval and support criteria are satisfied f
(called the confirmation period), the referendum passes and will be executed after the enactment
period.

All referenda within each track and across tracks can be voted on simultaneously (assuming the track's
maximum capacity is not reached).
All referenda within each track and across tracks can be voted on simultaneously (assuming the
track's maximum capacity is not reached).

Polkadot OpenGov also comes with multi-role delegations where the token holder can assign voting
power on different tracks to different entities who are experts in judging the referenda submitted
Expand Down Expand Up @@ -361,8 +361,8 @@ is less than Peter’s, leading to their voting power counting as less.

:::info Staked tokens can be used in governance

While the tokens are locked, you can still use them for voting and [staking](./learn-staking.md). You are
only prohibited from transferring these tokens to another account. **See the section about
While the tokens are locked, you can still use them for voting and [staking](./learn-staking.md).
You are only prohibited from transferring these tokens to another account. **See the section about
[OpenGov locks](#voting-on-a-referendum), and learn more about locks on the
[Balances page](./learn-account-balances.md#locks).**

Expand Down

0 comments on commit e1720ae

Please sign in to comment.