Skip to content

Commit

Permalink
chore: fix typos (#3752)
Browse files Browse the repository at this point in the history
chore: fix typos

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Rootul P <[email protected]>
  • Loading branch information
3 people authored and ninabarbakadze committed Aug 7, 2024
1 parent 03ca7c4 commit be65127
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func New(
// assert that keys are present for all supported versions
app.assertAllKeysArePresent()

// we don't seal the store until the app version has been initailised
// we don't seal the store until the app version has been initialised
// this will just initialize the base keys (i.e. the param store)
if err := app.CommitMultiStore().LoadLatestVersion(); err != nil {
tmos.Exit(err.Error())
Expand Down Expand Up @@ -463,7 +463,7 @@ func (app *App) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.Respo
app.SetAppVersion(ctx, v2)

// The blobstream module was disabled in v2 so the following line
// removes the the params subspace for blobstream.
// removes the params subspace for blobstream.
if err := app.ParamsKeeper.DeleteSubspace(blobstreamtypes.ModuleName); err != nil {
panic(err)
}
Expand Down Expand Up @@ -571,7 +571,7 @@ func (app *App) InitChain(req abci.RequestInitChain) (res abci.ResponseInitChain
func (app *App) mountKeysAndInit(appVersion uint64) {
app.MountKVStores(app.versionedKeys(appVersion))

// Invoke load latest version for it's side-effect of invoking baseapp.Init()
// Invoke load latest version for its side-effect of invoking baseapp.Init()
if err := app.LoadLatestVersion(); err != nil {
panic(fmt.Sprintf("loading latest version: %s", err.Error()))
}
Expand Down
2 changes: 1 addition & 1 deletion app/test/prepare_proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func TestPrepareProposalFiltering(t *testing.T) {
})
// check that we have the expected number of transactions
require.Equal(t, len(tt.txs())-len(tt.prunedTxs), len(resp.BlockData.Txs))
// check the the expected txs were removed
// check that the expected txs were removed
for _, ptx := range tt.prunedTxs {
require.NotContains(t, resp.BlockData.Txs, ptx)
}
Expand Down
4 changes: 2 additions & 2 deletions x/blob/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To use the blob module, users create and submit a `BlobTx` that is composed of:
1. A single [`sdk.Tx`](https://github.com/celestiaorg/cosmos-sdk/blob/v1.15.0-sdk-v0.46.13/docs/architecture/adr-020-protobuf-transaction-encoding.md) which encapsulates a message of type `MsgPayForBlobs`.
1. Multiple `Blob`s: the data they wish to publish.

After the `BlobTx` is submitted to the network, a block producer separates the
After the `BlobTx` is submitted to the network, a block producer separates
the `sdk.Tx` from the blob(s). Both components get included in the
[data square](../../specs/src/specs/data_square_layout.md) in different namespaces:

Expand All @@ -28,7 +28,7 @@ original data do in fact exist in a particular block.
## State

The blob module doesn't maintain it's own state outside of two params. Meaning
The blob module doesn't maintain its own state outside of two params. Meaning
that the blob module only uses the params and auth module stores.

### Params
Expand Down

0 comments on commit be65127

Please sign in to comment.