Skip to content

Commit 6d688db

Browse files
author
Tomasz Kulik
committed
Update after review
1 parent 9704e4d commit 6d688db

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/pages/core/_meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"standard-library": "Standard Library",
66
"conventions": "Conventions",
77
"advanced": "Advanced",
8-
"specification": "Specification"
8+
"specification": "Specification",
9+
"semantics": "Semantics"
910
}

src/pages/core/semtantics.mdx renamed to src/pages/core/semantics.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Example: we could upload a generic "ERC20 mintable" contract, and many people co
2424
independent instances based on the same bytecode, where the local data defines the token name, the
2525
issuer, the max issuance, etc.
2626

27-
1. First you **create** a _contract_,
27+
1. First you **store** a _contract_,
2828
2. Then you **instantiate** an _instance_,
2929
3. Finally users **invoke** the _instance_.
3030

@@ -75,7 +75,7 @@ may either return a success (with data and events) or an error. In the case of a
7575
will revert the entire transaction in the block.
7676

7777
In this document we focus on the `execute` entry-point implementation and call to show you the
78-
execution flow if the smart contracts. For more information on how to create contract and define
78+
execution flow of the smart contracts. For more information on how to create contract and define
7979
other basic entry-points, check [the entrypoints section](entrypoints.mdx).
8080

8181
### Basic Execution
@@ -148,7 +148,7 @@ cache. If `gas_limit` is set, it is sandboxed to how much gas it can use until i
148148
`OutOfGasError`. This error is caught and returned to the caller like any other error returned from
149149
contract execution (unless it burned the entire gas limit of the transaction).
150150

151-
If it return success, the temporary state is committed (into the caller's cache), and the
151+
If it returns success, the temporary state is committed (into the caller's cache), and the
152152
[`Response`](https://docs.rs/cosmwasm-std/latest/cosmwasm_std/struct.Response.html) is processed as
153153
normal. Once the response is fully processed, this may then be intercepted by the calling contract
154154
(for `ReplyOn::Always` and `ReplyOn::Success`). On an error, the subcall will revert any partial

0 commit comments

Comments
 (0)