Skip to content

Commit 44b4fac

Browse files
authored
fix typographical errors in the documentation (#261)
2 parents f66db32 + 831ee55 commit 44b4fac

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/pages/core/advanced/measuring-time.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In each of the entrypoints, you get a parameter of the type `Env` and this struc
1616
`block`. The struct contained in this field has a bunch of different information about the current
1717
state of the blockchain you are running on.
1818

19-
> The documentation about the `BlockInfo` struct can be [found here]
19+
> The documentation for the `BlockInfo` struct can be [found here]
2020
2121
The timestamp contained in this struct can be safely used in your program as the source of the
2222
current time. Well, kinda. It won't be 100% matching the current time, as it is the timestamp of the
@@ -25,7 +25,7 @@ block we are currently operating on.
2525
But you can rely on this timestamp to have the following properties:
2626

2727
- Consistent across the chain (every validator on the chain has the same info)
28-
- Monotonic (it will ever only increase or stay the same; never decrease)
28+
- Monotonic (it will only ever increase or stay the same; never decrease)
2929

3030
Read more about [BFT Time] and [Proposer-Based Timestamps (PBTS)][PBTS] if you want to better
3131
understand where the time value comes from.

src/pages/core/architecture/events.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ metadata, allowing the contract to attach metadata to what exactly happened duri
1313

1414
Some important details about the keys:
1515

16-
- Whitespaces will be trimmed (i.e. removed from the begin and end)
17-
- Empty keys (that includes keys only consisting of whitespaces) are not allowed
16+
- Whitespaces will be trimmed (i.e. removed from the beginning and end)
17+
- Empty keys (that include keys only consisting of whitespaces) are not allowed
1818
- Keys _cannot_ start with an underscore (`_`). These types of keys are reserved for `wasmd`
1919

2020
</Callout>

src/pages/cw-multi-test/app-builder.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ assert_eq!(
108108

109109
If you need to test contracts on your own chain that uses a specific Bech32 prefixes, you can easily
110110
customize the default [`MockApi{:rust}`][MockApi] behavior using the
111-
[`AppBuilder::with_api{:rust}`][with_api] method. An example of using `osmo` prefixes is shown in
111+
[`AppBuilder::with_api{:rust}`][with_api] method. An example of using `osmo` prefix is shown in
112112
the following code snippet.
113113

114114
```rust showLineNumbers copy {1,6} /with_api/ /osmo/
@@ -394,7 +394,7 @@ assert_eq!(value, app.storage().get(key).unwrap().as_slice());
394394
libraries such as [Storey](/storey) and [StoragePlus](/cw-storage-plus).
395395
</Callout>
396396

397-
You can find additional information about storage in [Storage](storage) chapter.
397+
You can find additional information about storage in the [Storage](storage) chapter.
398398

399399
## `with_wasm`
400400

src/pages/cw-multi-test/getting-started/writing-tests/writing-tests-cosmwasm.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use counter::msg::{CounterExecMsg, CounterInitMsg, CounterQueryMsg, CounterRespo
5757
use cw_multi_test::{App, Contract, ContractWrapper, Executor, IntoAddr};
5858
```
5959

60-
## Wrapping the contact
60+
## Wrapping the contract
6161

6262
```rust copy showLineNumbers{5} filename="test_counter.rs"
6363
fn counter_contract() -> Box<dyn Contract<Empty>> {

src/pages/ibc/extensions/callbacks.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To solve this problem, the [ADR-8 specification][adr-8] was created. On the sour
1818
provides callbacks when an IBC packet was acknowledged or timed out. On the destination chain, it
1919
triggers callbacks when a packet is received.
2020

21-
IBC Callbacks is a generalized successor of [IBC Hooks][ibc-hooks] that works not just for ICS20
21+
IBC Callbacks are a generalized successor of [IBC Hooks][ibc-hooks] that works not just for ICS20
2222
transfers, but any message that supports the required interface.
2323

2424
[packet-lifecycle]: ../diy-protocol/packet-lifecycle

0 commit comments

Comments
 (0)