Skip to content

Commit

Permalink
Merge pull request #1917 from xiaolou86/main
Browse files Browse the repository at this point in the history
docs: fix typos
  • Loading branch information
webmaster128 authored Oct 16, 2023
2 parents d4972f5 + 9cc124d commit 4d93721
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions IBC.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This particular contract above accepts
and sends those to a remote chain, as well as receiving the tokens back and
releasing the original cw20 token to a new owner. It does not (yet) allow
minting coins originating from the remote chain. I recommend opening up the
source code for that contract and refering to it when you want a concrete
source code for that contract and referring to it when you want a concrete
example for anything discussed below.

In order to enable IBC communication, a contract must expose the following 6
Expand Down Expand Up @@ -168,7 +168,7 @@ pub fn ibc_channel_connect(
```

At this point, it is expected that the contract updates its internal state and
may return `CosmosMsg` in the `Reponse` to interact with other contracts, just
may return `CosmosMsg` in the `Response` to interact with other contracts, just
like in `execute`. In particular, you will most likely want to store the local
channel_id (`channel.endpoint.channel_id`) in the contract's storage, so it
knows what open channels it has (and can expose those via queries or maintain
Expand Down
4 changes: 2 additions & 2 deletions MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ arbitrary ones.
because it did not set the address for one withdraw only but for all following
withdrawls. Since withdrawls are [triggered by different
events][distribution docs] such as validators changing their commission rate,
an address that was set for a one-time withdrawl would be used for future
an address that was set for a one-time withdrawal would be used for future
withdrawls not considered by the contract author.

If the contract never set a withdraw address other than the contract itself
Expand All @@ -1055,7 +1055,7 @@ arbitrary ones.

1. `SetWithdrawAddress { address: recipient }` to temporarily change the
recipient
2. `WithdrawDelegatorReward { validator }` to do a manual withdrawl from the
2. `WithdrawDelegatorReward { validator }` to do a manual withdrawal from the
given validator
3. `SetWithdrawAddress { address: env.contract.address.into() }` to change it
back for all future withdrawls
Expand Down
2 changes: 1 addition & 1 deletion docs/simulate_riffle_shuffle.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import functools

# Create a funtion that executed f recusively n times, i.e. f**n
# Create a function that executed f recusively n times, i.e. f**n
def power(f, n):
functions = [f for _ in range(n)]
def compose2(f, g):
Expand Down

0 comments on commit 4d93721

Please sign in to comment.