Skip to content

Commit d4c5ba8

Browse files
fixes
1 parent 16c23c2 commit d4c5ba8

7 files changed

Lines changed: 21 additions & 25 deletions

File tree

docs/developers/data/composite-values.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,17 @@ Then, all nested encodings of the items, concatenated.
2626
**Examples**
2727

2828
| Type | Value | Top-level encoding | Nested encoding | Explanation |
29-
|
30-
31-
---
32-
33-
------------- | -------------------- | --------------------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
29+
|
30+
| ---------------- | -------------------- | --------------------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
3431
| `Vec<u8>` | `vec![1, 2]` | `0x0102` | `0x00000002 0102` | Length = `2` |
3532
| `Vec<u16>` | `vec![1, 2]` | `0x00010002` | `0x00000002 00010002` | Length = `2` |
3633
| `Vec<u16>` | `vec![]` | `0x` | `0x00000000` | Length = `0` |
3734
| `Vec<u32>` | `vec![7]` | `0x00000007` | `0x00000001 00000007` | Length = `1` |
3835
| `Vec< Vec<u32>>` | `vec![ vec![7]]` | `0x00000001 00000007` | `0x00000001 00000001 00000007` | There is 1 element, which is a vector. In both cases the inner Vec needs to be nested-encoded in the larger Vec. |
3936
| `Vec<&[u8]>` | `vec![ &[7u8][..]]` | `0x00000001 07` | `0x00000001 00000001 07` | Same as above, but the inner list is a simple list of bytes. |
40-
| `Vec< BigUint>` | `vec![ 7u32.into()]` | `0x00000001 07` | `0x00000001 00000001 07` | `BigUint`s need to encode their length when nested. The `7` is encoded the same way as a list of bytes of length 1, so the same as above. |---
37+
| `Vec< BigUint>` | `vec![ 7u32.into()]` | `0x00000001 07` | `0x00000001 00000001 07` | `BigUint`s need to encode their length when nested. The `7` is encoded the same way as a list of bytes of length 1, so the same as above. |
38+
39+
---
4140

4241
[comment]: # (mx-context-auto)
4342

docs/developers/data/simple-values.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ Even when simulating smart contract execution on 64-bit systems, they must still
3535
**Examples**
3636

3737
| Type | Number | Top-level encoding | Nested encoding |
38-
|
39-
40-
---
41-
42-
---- | --------------------- | -------------------- | -------------------- |
38+
|
39+
| ------- | --------------------- | -------------------- | -------------------- |
4340
| `u8` | `0` | `0x` | `0x00` |
4441
| `u8` | `1` | `0x01` | `0x01` |
4542
| `u8` | `0x11` | `0x11` | `0x11` |
@@ -94,7 +91,9 @@ Even when simulating smart contract execution on 64-bit systems, they must still
9491
| `isize` | `-0x11` | `0xEF` | `0xFFFFFFEF` |
9592
| `isize` | `-0x1122` | `0xEEDE` | `0xFFFFEEDE` |
9693
| `isize` | `-0x112233` | `0xEEDDCD` | `0xFFEEDDCD` |
97-
| `isize` | `-0x11223344` | `0xEEDDCCBC` | `0xEEDDCCBC` |---
94+
| `isize` | `-0x11223344` | `0xEEDDCCBC` | `0xEEDDCCBC` |
95+
96+
---
9897

9998
[comment]: # (mx-context-auto)
10099

docs/developers/toolchain-setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ Default host: x86_64-unknown-linux-gnu
8787
rustup home: /home/ubuntu/.rustup
8888

8989
installed toolchains
90-
---
91-
-----------------
90+
--------------------
9291
stable-x86_64-unknown-linux-gnu (default)
9392
[...]
9493

95-
active toolchain----------------
94+
active toolchain
95+
----------------
9696
name: stable-x86_64-unknown-linux-gnu
9797
installed targets:
9898
wasm32-unknown-unknown

docs/developers/tutorials/interactors-guide.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,7 @@ test integration_test ... ok
271271
272272
successes:
273273
274-
---
275-
276-
- integration_test stdout ----
274+
---- integration_test stdout ----
277275
sender's recalled nonce: 1720
278276
-- tx nonce: 1720
279277
sc deploy tx hash: ca6e69c18acd73b20bfd21142b45be1b530ecbec89d1eb9c374b93f7681dbc38

docs/sdk-and-tools/rest-api/transactions.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ Body Parameters
3333

3434
| Param | Required | Type | Description |
3535
|
36-
37-
---
38-
39-
------------- | ----------------------------------------- | -------- | -------------------------------------------------------------------------------- |
36+
| ---------------- | ----------------------------------------- | -------- | -------------------------------------------------------------------------------- |
4037
| nonce | <span class="text-danger">REQUIRED</span> | `number` | The Nonce of the Sender. |
4138
| value | <span class="text-danger">REQUIRED</span> | `string` | The Value to transfer, as a string representation of a Big Integer (can be "0"). |
4239
| receiver | <span class="text-danger">REQUIRED</span> | `string` | The Address (bech32) of the Receiver. |
@@ -269,7 +266,9 @@ _SimulationResults_
269266
| receipts | []ApiReceipt | an array of the receipts (if any) |
270267
| hash | string | the hash of the transaction |
271268

272-
❕ Note that fields that are empty won't be included in the response. This can be seen in the examples below---
269+
❕ Note that fields that are empty won't be included in the response. This can be seen in the examples below
270+
271+
---
273272

274273
🟢 200: OK
275274

docs/utils.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ _italicized text_
4242
`code`
4343

4444
### Horizontal Rule
45+
4546
---
4647

4748
### Link

docs/validators/key-management/validator-keys.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The **Validator Keys** are located in the `validatorKey.pem` file, which is gene
2020
Below you can find their anatomy and how to extract the information from them
2121

2222
Example:
23-
---
24-
--BEGIN PRIVATE KEY for _45e7131ba37e05c5de3f8862b4d8294812f004a5b660abb793e89b65816dbff2b02f54c25f139359c9c98be0fa657d0bf1ae4115dcf6fdbf5f3a470f1d251f769610b48fe34eeab59e82ac1cc0336d1d9109a14b768b97ccb4db4c2431629688_-----
23+
24+
-----BEGIN PRIVATE KEY for _45e7131ba37e05c5de3f8862b4d8294812f004a5b660abb793e89b65816dbff2b02f54c25f139359c9c98be0fa657d0bf1ae4115dcf6fdbf5f3a470f1d251f769610b48fe34eeab59e82ac1cc0336d1d9109a14b768b97ccb4db4c2431629688_-----
2525

2626
**YmRiNmViOGYzMmQ3OWY0YjE4ODJjMzE1ODA4YjQyZmZjODhiZDQxNzMwNmE5MTRiZjQ4OTAyNjM0MTcyNjMzMw==**
2727

0 commit comments

Comments
 (0)