Skip to content

Commit

Permalink
apply prettier + nit
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2bd committed Dec 20, 2024
1 parent ba977c0 commit 9750f54
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/developers/advanced_topics/oracles.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ provides functions to query an Ethereum node:
- `get_balance` for accessing the balance of an Ethereum account at a specific
block number.

- `read_events` for reading events from a specified Ethereum smart contract
from one block to the last block.
- `read_events` for reading events from a specified Ethereum smart contract from
one block to the last block.

- `non_executive_call` for executing a function in an Ethereum smart contract at
a specific block, with the result not being included in the chain.
Expand Down
6 changes: 3 additions & 3 deletions src/developers/core_concepts/wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ For testing, rather than using `linera open-chain` and `linera assign` as above,
it is often more convenient to pass the option `--extra-wallets N` to
`linera net up`.

This option will create `N` additional user wallets and output Bash
commands to define the environment variables `LINERA_{WALLET,STORAGE}_$I` where
`I` ranges over `0..=N` (`I=0` being the wallet for the initial chains).
This option will create `N` additional user wallets and output Bash commands to
define the environment variables `LINERA_{WALLET,STORAGE}_$I` where `I` ranges
over `0..=N` (`I=0` being the wallet for the initial chains).

Once all the environment variables are defined, you may switch between wallets
using `linera --with-wallet I` or `linera -w I` for short.
Expand Down
4 changes: 2 additions & 2 deletions src/developers/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Linera SDK.

We'll use a simple "counter" application as a running example.

We'll focus on the backend of the application, which consists of two main
parts: a _smart contract_ and its GraphQL service.
We'll focus on the backend of the application, which consists of two main parts:
a _smart contract_ and its GraphQL service.

Both the contract and the service of an application are written in Rust using
the crate [`linera-sdk`](https://crates.io/crates/linera-sdk), and compiled to
Expand Down
3 changes: 1 addition & 2 deletions src/developers/sdk/state.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ in general, we prefer to manage persistent data using the concept of "views":
> framework, except that they are stored as a set of key-value pairs (instead of
> a SQL row).
In this case, the struct in `src/state.rs` should be
replaced by
In this case, the struct in `src/state.rs` should be replaced by

```rust,ignore
/// The application state.
Expand Down
3 changes: 1 addition & 2 deletions src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ To join our community and get involved in the development of the Linera
ecosystem, check out our
[GitHub repository](https://github.com/linera-io/linera-protocol), our
[Website](https://linera.io), and find us on social media channels such as
[YouTube](https://www.youtube.com/@linera_io),
[X](https://x.com/linera_io),
[YouTube](https://www.youtube.com/@linera_io), [X](https://x.com/linera_io),
[Telegram](https://t.me/linera_official), and
[Discord](https://discord.gg/linera).

Expand Down
4 changes: 2 additions & 2 deletions src/operators/devnets.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
This section discusses how to deploy developer networks, aka "Devnets", for
testing and development purposes.

Devnets always start from a genesis configuration and an empty state. Validator nodes are typically run on a single infrastructure to simplify operations. Devnets do
not handle real assets.
Devnets always start from a genesis configuration and an empty state. Validator
nodes are run by the core Linera team. Devnets do not handle real assets.
4 changes: 2 additions & 2 deletions src/operators/testnets/joining.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ below.
### Verifying installation

To verify the installation, you can use the `linera query-validator` command. For
example:
To verify the installation, you can use the `linera query-validator` command.
For example:

```bash
$ linera wallet init --with-new-chain --faucet https://faucet.{{#include ../../../TESTNET_DOMAIN}}.linera.net
Expand Down

0 comments on commit 9750f54

Please sign in to comment.