Skip to content

Commit

Permalink
Merge pull request #2303 from omahs/patch-2
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
chipshort authored Jan 6, 2025
2 parents 123d414 + 350f88e commit 7c035e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions SEMANTICS.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ It just ends up returning `Err` to contract-A's `reply` function.

Note that errors are not handled with `ReplyOn::Success`, meaning, in such a
case, an error will be treated just like a normal `message` returning an error.
This diagram may help explain. Imagine a contract returned two submesssages -
(a) with `ReplyOn::Success` and (b) with `ReplyOn::Error`:
This diagram may help explain. Imagine a contract returned two submessages - (a)
with `ReplyOn::Success` and (b) with `ReplyOn::Error`:

| processing a) | processing b) | reply called | may overwrite result from reply | note |
| ------------- | ------------- | ------------ | ------------------------------- | ------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion contracts/burner/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub struct InstantiateMsg {}
#[cw_serde]
pub enum ExecuteMsg {
/// Cleans up the given number of state elements.
/// Call this multiple times to increamentally clean up state.
/// Call this multiple times to incrementally clean up state.
Cleanup {
/// The number of state elements to delete.
///
Expand Down
4 changes: 2 additions & 2 deletions contracts/crypto-verify/src/ethereum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn serialize_unsigned_transaction(

/// Get the recovery param from the value `v` when no chain ID for replay protection is used.
///
/// This is needed for chain-agnostig aignatures like signed text.
/// This is needed for chain-agnostic signatures like signed text.
///
/// See [EIP-155] for how `v` is composed.
///
Expand All @@ -78,7 +78,7 @@ pub fn get_recovery_param(v: u8) -> StdResult<u8> {

/// Get the recovery param from the value `v` when a chain ID for replay protection is used.
///
/// This is needed for chain-agnostig aignatures like signed text.
/// This is needed for chain-agnostic signatures like signed text.
///
/// See [EIP-155] for how `v` is composed.
///
Expand Down
2 changes: 1 addition & 1 deletion docs/CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ contract checks the availability early on.

When functionality is always present in the VM (such as a new import implemented
directly in the VM, see [#1299]), we should not use capability. They just create
fragmentation in the CosmWasm ecosystem and increase the barrier for adoption.
fragmentation in the CosmWasm ecosystem and increase the barrier to adoption.
Instead the `check_wasm_imports` check is used to validate this when the
contract is stored.

Expand Down

0 comments on commit 7c035e2

Please sign in to comment.