You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llms.txt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -22640,7 +22640,7 @@ The `StorageMap` consists of the following parameters:
22640
22640
- **`T: :AccountId`**: Represents the key type, which corresponds to the account’s unique ID.
22641
22641
- **`AccountInfo<T: :Nonce, T::AccountData>`**: The value type stored in the map. For each account ID, the map stores an `AccountInfo` struct containing:
22642
22642
22643
-
- **`T::Nonce`**: A nonce for the account, which is incremented with each transaction to ensure transaction uniqueness.
22643
+
- **`T::Nonce`**: A nonce for the account, which is incremented with each transaction to ensure transaction uniqueness.
22644
22644
- **`T: :AccountData`**: Custom account data defined by the runtime configuration, which could include balances, locked funds, or other relevant information.
22645
22645
22646
22646
- **`ValueQuery`**: Defines how queries to the storage map behave when no value is found; returns a default value instead of `None`.
@@ -24225,7 +24225,7 @@ The [`Decode`](https://docs.rs/parity-scale-codec/latest/parity_scale_codec/trai
24225
24225
24226
24226
The [`CompactAs`](https://docs.rs/parity-scale-codec/latest/parity_scale_codec/trait.CompactAs.html){target=\_blank} trait wraps custom types for compact encoding:
24227
24227
24228
-
- **`encode_as(&self) -> &Self::As`**: Encodes the type as a compact type.
24228
+
- **`encode_as(&self) -> &Self::As`**: Encodes the type as a compact type.
24229
24229
- **`decode_from(_: Self::As) -> Result<Self, Error>`**: decodes from a compact encoded type.
24230
24230
24231
24231
### HasCompact
@@ -25533,7 +25533,7 @@ flowchart TB
25533
25533
- Employs a finite set of registers for argument passing instead of an infinite stack.
25534
25534
- Facilitates efficient translation to underlying hardware architectures.
25535
25535
- Optimizes register allocation through careful register count selection.
25536
-
- **Enables simple 1**: 1 mapping to x86-64 instruction sets.
25536
+
- Enables simple 1:1 mapping to x86-64 instruction sets.
25537
25537
- Reduces compilation complexity through strategic register limitation.
25538
25538
- Improves overall execution performance through hardware-aligned design.
0 commit comments