Skip to content

Commit 9bfd7fe

Browse files
committed
Run prettier --write formatter
1 parent 81f9495 commit 9bfd7fe

File tree

11 files changed

+25
-15
lines changed

11 files changed

+25
-15
lines changed

linera-protocol

Submodule linera-protocol updated 1004 files

src/SUMMARY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,19 @@
1919
# Developers
2020

2121
- [Getting Started](developers/getting_started.md)
22+
2223
- [Installation](developers/getting_started/installation.md)
2324
- [Hello, Linera](developers/getting_started/hello_linera.md)
2425

2526
- [Core Concepts](developers/core_concepts.md)
27+
2628
- [Microchains](developers/core_concepts/microchains.md)
2729
- [Wallets](developers/core_concepts/wallets.md)
2830
- [Node Service](developers/core_concepts/node_service.md)
2931
- [Applications](developers/core_concepts/applications.md)
3032

3133
- [Writing Backends](developers/backend.md)
34+
3235
- [Creating a Project](developers/backend/creating_a_project.md)
3336
- [Creating the Application State](developers/backend/state.md)
3437
- [Defining the ABI](developers/backend/abi.md)
@@ -42,17 +45,20 @@
4245
- [Writing Tests](developers/backend/testing.md)
4346

4447
- [Writing Frontends](developers/frontend.md)
48+
4549
- [Overview](developers/frontend/overview.md)
4650
- [Setup](developers/frontend/setup.md)
4751
- [Interactivity](developers/frontend/interactivity.md)
4852

4953
- [Advanced Topics](developers/advanced_topics.md)
54+
5055
- [Contract Finalization](developers/advanced_topics/contract_finalize.md)
5156
- [Validators](developers/advanced_topics/validators.md)
5257
- [Creating New Blocks](developers/advanced_topics/block_creation.md)
5358
- [Applications that Handle Assets](developers/advanced_topics/assets.md)
5459

5560
- [Experimental](developers/experimental.md)
61+
5662
- [Machine Learning](developers/experimental/ml.md)
5763

5864
- [Ethereum](developers/experimental/ethereum.md)
@@ -62,6 +68,7 @@
6268
# Node Operators
6369

6470
- [Devnets](operators/devnets.md)
71+
6572
- [Docker Compose](operators/devnets/compose.md)
6673
- [kind](operators/devnets/kind.md)
6774

src/developers/backend/blobs.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,5 @@ receive an NFT, even if they don't view it yet. This can be achieved by calling
2626
the data is available, without actually loading it.
2727

2828
For the complete code please take a look at the [`non-fungible`
29-
contract](https://github.com/linera-io/linera-protocol/blob/{{#include
30-
../../../.git/modules/linera-protocol/HEAD}}/examples/non-fungible/src/contract.rs)
31-
and [service](https://github.com/linera-io/linera-protocol/blob/{{#include
32-
../../../.git/modules/linera-protocol/HEAD}}/examples/non-fungible/src/service.rs).
29+
contract](https://github.com/linera-io/linera-protocol/blob/{{#include ../../../.git/modules/linera-protocol/HEAD}}/examples/non-fungible/src/contract.rs)
30+
and [service](https://github.com/linera-io/linera-protocol/blob/{{#include ../../../.git/modules/linera-protocol/HEAD}}/examples/non-fungible/src/service.rs).

src/developers/backend/composition.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,4 @@ and the
9595
application contracts in the `examples` folder in `linera-protocol`.
9696

9797
The implementation of the Runtime made available to contracts is defined in
98-
[this file](https://github.com/linera-io/linera-protocol/blob/{{#include
99-
../../../.git/modules/linera-protocol/HEAD}}/linera-sdk/src/contract/runtime.rs).
98+
[this file](https://github.com/linera-io/linera-protocol/blob/{{#include ../../../.git/modules/linera-protocol/HEAD}}/linera-sdk/src/contract/runtime.rs).

src/developers/backend/creating_a_project.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ files:
1313

1414
- `Cargo.toml`: your project's manifest filled with the necessary dependencies
1515
to create an app;
16-
- `rust-toolchain.toml`: a file with configuration for Rust compiler. **NOTE:** currently the latest Rust version compatible with our network is `1.86.0`. Make sure it's the one used by your project.
16+
- `rust-toolchain.toml`: a file with configuration for Rust compiler. **NOTE:**
17+
currently the latest Rust version compatible with our network is `1.86.0`.
18+
Make sure it's the one used by your project.
1719
- `src/lib.rs`: the application's ABI definition;
1820
- `src/state.rs`: the application's state;
1921
- `src/contract.rs`: the application's contract, and the binary target for the

src/developers/backend/messages.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ receiver rejects it. The example below enables both flags:
4747

4848
## Example: fungible token
4949

50-
In the [`fungible` example
50+
In the [`fungible`
51+
example
5152
application](https://github.com/linera-io/linera-protocol/tree/{{#include
5253
../../../.git/modules/linera-protocol/HEAD}}/examples/fungible), such a message
5354
can be the transfer of tokens from one chain to another. If the sender includes

src/developers/backend/service.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ serialized operation to increment the counter by the provided `value`:
9999

100100
We haven't included the imports in the above code. If you want the full source
101101
code and associated tests check out the [examples
102-
section](https://github.com/linera-io/linera-protocol/blob/{{#include
103-
../../../.git/modules/linera-protocol/HEAD}}/examples/counter/src/service.rs) on
104-
GitHub.
102+
section](https://github.com/linera-io/linera-protocol/blob/{{#include ../../../.git/modules/linera-protocol/HEAD}}/examples/counter/src/service.rs)
103+
on GitHub.
105104

106105
## References
107106

src/developers/frontend/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ We'll call this page `index.html`, and it will be the only file we need to edit
2222
to build our frontend.
2323

2424
```html
25-
<!DOCTYPE html>
25+
<!doctype html>
2626
<html lang="en">
2727
<head>
2828
<meta charset="UTF-8" />

src/developers/getting_started/hello_linera.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ Each validator and client has a built-in Wasm virtual machine (VM) which can
9999
execute bytecode.
100100

101101
Let's build the `counter` application from the `examples/` subdirectory of the
102-
[Linera testnet
103-
branch](https://github.com/linera-io/linera-protocol/tree/{{#include
102+
[Linera
103+
testnet branch](https://github.com/linera-io/linera-protocol/tree/{{#include
104104
../../../RELEASE_BRANCH}}):
105105

106106
```bash

src/developers/getting_started/installation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ The main prerequisites to install the Linera toolchain are Rust, Wasm, and
2828
Protoc. They can be installed as follows on Linux:
2929

3030
- Rust and Wasm
31+
3132
- `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`
3233
- `rustup target add wasm32-unknown-unknown`
3334

3435
- Protoc
36+
3537
- `curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.11/protoc-21.11-linux-x86_64.zip`
3638
- `unzip protoc-21.11-linux-x86_64.zip -d $HOME/.local`
3739
- If `~/.local` is not in your path, add it:

0 commit comments

Comments
 (0)