Skip to content

Commit f0dcf3a

Browse files
committed
fix grammar & typo
1 parent 2225a39 commit f0dcf3a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ look at the `cw20`, `cw721` and/or `cw1155` packages that define standard
121121
interfaces as analogues to some popular ERC designs. (`cw20` is also inspired by
122122
`erc777`).
123123

124-
If you want to get started building you own contract, the simplest way is to go
124+
If you want to get started building your own contract, the simplest way is to go
125125
to the [cosmwasm-template](https://github.com/CosmWasm/cosmwasm-template)
126126
repository and follow the instructions. This will give you a simple contract
127127
along with tests, and a properly configured build environment. From there you
@@ -202,7 +202,7 @@ The imports provided to give the contract access to the environment are:
202202

203203
```rust
204204
// This interface will compile into required Wasm imports.
205-
// A complete documentation those functions is available in the VM that provides them:
205+
// A complete documentation of those functions is available in the VM that provides them:
206206
// https://github.com/CosmWasm/cosmwasm/blob/v1.0.0-beta/packages/vm/src/instance.rs#L89-L206
207207
extern "C" {
208208
fn db_read(key: u32) -> u32;
@@ -271,7 +271,7 @@ extern "C" {
271271

272272
You could actually implement a WebAssembly module in any language, and as long
273273
as you implement these functions, it will be interoperable, given the JSON data
274-
passed around is the proper format.
274+
passed around is in the proper format.
275275

276276
Note that these u32 pointers refer to `Region` instances, containing the offset
277277
and length of some Wasm memory, to allow for safe access between the caller and
@@ -351,7 +351,7 @@ pub trait Storage {
351351
///
352352
/// The bound `start` is inclusive and `end` is exclusive.
353353
///
354-
/// If `start` is lexicographically greater than or equal to `end`, an empty range is described, mo matter of the order.
354+
/// If `start` is lexicographically greater than or equal to `end`, an empty range is described, no matter of the order.
355355
fn range<'a>(
356356
&'a self,
357357
start: Option<&[u8]>,
@@ -389,14 +389,14 @@ are only used in `#[cfg(test)]` blocks, they will never make it into the
389389

390390
Note that for tests, you can use the `MockStorage` implementation which gives a
391391
generic in-memory hashtable in order to quickly test your logic. You can see a
392-
[simple example how to write a test](https://github.com/CosmWasm/cosmwasm/blob/81b6702d3994c8c34fb51c53176993b7e672860b/contracts/hackatom/src/contract.rs#L70-L88)
392+
[simple example of how to write a test](https://github.com/CosmWasm/cosmwasm/blob/81b6702d3994c8c34fb51c53176993b7e672860b/contracts/hackatom/src/contract.rs#L70-L88)
393393
in our sample contract.
394394

395395
## Testing the Smart Contract (wasm)
396396

397397
You may also want to ensure the compiled contract interacts with the environment
398398
properly. To do so, you will want to create a canonical release build of the
399-
`<contract>.wasm` file and then write tests in with the same VM tooling we will
399+
`<contract>.wasm` file and then write tests with the same VM tooling we will
400400
use in production. This is a bit more complicated but we added some tools to
401401
help in
402402
[cosmwasm-vm](https://github.com/CosmWasm/cosmwasm/tree/main/packages/vm) which

0 commit comments

Comments
 (0)