Skip to content

Commit 7b9354c

Browse files
authored
Merge pull request #2146 from omahs/patch-1
Fix typos
2 parents 37f1e95 + 00b10ff commit 7b9354c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/ERROR_HANDLING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ case would. This has two major implications:
6464
1. Application specific errors (especially those which can be triggered by
6565
untrusted users) should create contract errors and no panics. This ensures
6666
that error acknowledgements are written and relayer transactions don't fail.
67-
2. Using panics allow the contract developer to make the transaction fail
67+
2. Using panics allows the contract developer to make the transaction fail
6868
without writing an acknowledgement. This can be handy e.g. for allowlisting
6969
relayer addresses.
7070

docs/MESSAGE_TYPES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Rust types as well as `cosmwasm_std` types and how they are encoded in JSON.
1717
| u128/i128 | number | `340282366920938463463374607431768211455, -2766523308300312711084346401884294402` | Supported in Rust. Other implementations do not support the full range. This used to be serialized as a string in serde-json-wasm. See [Dev Note #4: u128/i128 serialization][dev-note-4]. If you have any code relying on that serialization, switch to `Uint128` / `Int128`. |
1818
| usize/isize | number | `123456` | 🚫 Don't use this type because it has a different size in unit tests (64 bit) and Wasm (32 bit). Also it tends to issue float instructions such that the contracts cannot be uploaded. |
1919
| String | string | `"foo"` |
20-
| &str | string | `"foo"` | 🚫 Unsuppored since message types must be owned (DeserializeOwned) |
20+
| &str | string | `"foo"` | 🚫 Unsupported since message types must be owned (DeserializeOwned) |
2121
| Option\<T\> | `null` or JSON type of `T` | `null`, `{"foo":12}` | |
2222
| Vec\<T\> | array of JSON type of `T` | `["one", "two", "three"]` (Vec\<String\>), `[true, false]` (Vec\<bool\>) |
2323
| Vec\<u8\> | array of numbers from 0 to 255 | `[187, 61, 11, 250]` | ⚠️ Discouraged as this encoding is not as compact as it can be. See `Binary`. |

docs/PINNING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The VM does not persist pinned memory entries. I.e. you need to call `Pin` every
3535
time you start the process. This is implemented in [`InitializePinnedCodes` in
3636
wasmd][initializepinnedcodes].
3737

38-
At the chain level pinning and unpinning is done via governance proposals. See
38+
At the chain level pinning and unpinning are done via governance proposals. See
3939
`MsgPinCodes`/`MsgUnpinCodes` in wasmd.
4040

4141
When contracts are migrated from one code to another, there is no automatic

docs/STORAGE_KEYS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ good reason to preserve the single component version.
6464

6565
## 2023 updates
6666

67-
With the deprecation if cosmwasm-storage and the adoption of the system in
67+
With the deprecation of cosmwasm-storage and the adoption of the system in
6868
cw-storage-plus, it is time to do a few changes to the Length-prefixed keys
6969
standard, without breaking existing users.
7070

0 commit comments

Comments
 (0)