Skip to content

Commit

Permalink
docs: fix typos (#13399)
Browse files Browse the repository at this point in the history
  • Loading branch information
omahs authored Sep 27, 2022
1 parent b609105 commit 6f337b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ For more information, see the [Cosmos SDK Documentation](https://docs.cosmos.net

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md) for details how to contribute and participate in our [dev calls](./CONTRIBUTING.md#teams-dev-calls).
See [CONTRIBUTING.md](./CONTRIBUTING.md) for details on how to contribute and participate in our [dev calls](./CONTRIBUTING.md#teams-dev-calls).
If you want to follow the updates or learn more about the latest design then join our [Discord](https://discord.com/invite/cosmosnetwork).

## Tools and Frameworks
Expand Down
14 changes: 7 additions & 7 deletions x/staking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Store entries prefixed with "Last" must remain unchanged until EndBlock.

## Params

The staking module stores it's params in state with the prefix of `0x51`,
The staking module stores its params in state with the prefix of `0x51`,
it can be updated with governance or the address with authority.

* Params: `0x51 | ProtocolBuffer(Params)`
Expand All @@ -90,7 +90,7 @@ Validators can have one of three statuses

* `Unbonded`: The validator is not in the active set. They cannot sign blocks and do not earn
rewards. They can receive delegations.
* `Bonded`: Once the validator receives sufficient bonded tokens they automtically join the
* `Bonded`: Once the validator receives sufficient bonded tokens they automatically join the
active set during [`EndBlock`](./05_end_block.md#validator-set-changes) and their status is updated to `Bonded`.
They are signing blocks and receiving rewards. They can receive further delegations.
They can be slashed for misbehavior. Delegators to this validator who unbond their delegation
Expand Down Expand Up @@ -272,7 +272,7 @@ the `n` most recent historical info defined by staking module parameter: `Histor

At each BeginBlock, the staking keeper will persist the current Header and the Validators that committed
the current block in a `HistoricalInfo` object. The Validators are sorted on their address to ensure that
they are in a determisnistic order.
they are in a deterministic order.
The oldest HistoricalEntries will be pruned to ensure that there only exist the parameter-defined number of
historical entries.

Expand Down Expand Up @@ -396,7 +396,7 @@ Redelegations affect the delegation, source and destination validators.
* record the token amount in an new entry in the relevant `Redelegation`

From when a redelegation begins until it completes, the delegator is in a state of "pseudo-unbonding", and can still be
slashed for infractions that occured before the redelegation began.
slashed for infractions that occurred before the redelegation began.

### Complete Redelegation

Expand Down Expand Up @@ -575,7 +575,7 @@ When this message is processed the following actions occur:

## MsgCancelUnbondingDelegation

The `MsgCancelUnbondingDelegation` message allows delegators to cancel the `unbondingDelegation` entry and deleagate back to a previous validator.
The `MsgCancelUnbondingDelegation` message allows delegators to cancel the `unbondingDelegation` entry and delegate back to a previous validator.

+++ hhttps://github.com/cosmos/cosmos-sdk/blob/v0.46.0/proto/cosmos/staking/v1beta1/tx.proto#L36-L40

Expand All @@ -585,7 +585,7 @@ This message is expected to fail if:

* the `unbondingDelegation` entry is already processed.
* the `cancel unbonding delegation` amount is greater than the `unbondingDelegation` entry balance.
* the `cancel unbonding delegation` height doesn't exists in the `unbondingDelegationQueue` of the delegator.
* the `cancel unbonding delegation` height doesn't exist in the `unbondingDelegationQueue` of the delegator.

When this message is processed the following actions occur:

Expand Down Expand Up @@ -687,7 +687,7 @@ message reporting their new consensus power which is passed back to Tendermint.

The `LastTotalPower` and `LastValidatorsPower` hold the state of the total power
and validator power from the end of the last block, and are used to check for
changes that have occured in `ValidatorsByPower` and the total new power, which
changes that have occurred in `ValidatorsByPower` and the total new power, which
is calculated during `EndBlock`.

## Queues
Expand Down

0 comments on commit 6f337b4

Please sign in to comment.