diff --git a/collections/README.md b/collections/README.md index d6d73da218..f2bca5101b 100644 --- a/collections/README.md +++ b/collections/README.md @@ -819,7 +819,7 @@ type BaseAccount struct { ``` First of all, when we save our accounts in state we map them using a primary key `sdk.AccAddress`. -If it were to be a `collections.Map` it would be `collections.Map[sdk.AccAddres, authtypes.BaseAccount]`. +If it were to be a `collections.Map` it would be `collections.Map[sdk.AccAddress, authtypes.BaseAccount]`. Then we also want to be able to get an account not only by its `sdk.AccAddress`, but also by its `AccountNumber`. diff --git a/runtime/v2/manager.go b/runtime/v2/manager.go index 7c0305d1ba..e47c807a50 100644 --- a/runtime/v2/manager.go +++ b/runtime/v2/manager.go @@ -413,7 +413,7 @@ func (m *MM[T]) TxValidators() func(ctx context.Context, tx T) error { // As an app developer, if you wish to skip running InitGenesis for your new // module "foo", you need to manually pass a `fromVM` argument to this function // foo's module version set to its latest ConsensusVersion. That way, the diff -// between the function's `fromVM` and `udpatedVM` will be empty, hence not +// between the function's `fromVM` and `updatedVM` will be empty, hence not // running anything for foo. // // Example: diff --git a/server/v2/stf/README.md b/server/v2/stf/README.md index 0c88ec66ec..2f2ff1ca74 100644 --- a/server/v2/stf/README.md +++ b/server/v2/stf/README.md @@ -31,4 +31,4 @@ type ( ) ``` -THe wrappGasMeter is used in order to consume gas. Application developers can seamlsessly replace the gas meter with their own implementation in order to customize consumption of gas. +THe wrapGasMeter is used in order to consume gas. Application developers can seamlsessly replace the gas meter with their own implementation in order to customize consumption of gas. diff --git a/types/module/module.go b/types/module/module.go index 714a9490d8..a96a3de855 100644 --- a/types/module/module.go +++ b/types/module/module.go @@ -628,7 +628,7 @@ func (m *Manager) assertNoForgottenModules(setOrderFnName string, moduleNames [] // // Internally, RunMigrations will perform the following steps: // - create an `updatedVM` VersionMap of module with their latest ConsensusVersion -// - make a diff of `fromVM` and `udpatedVM`, and for each module: +// - make a diff of `fromVM` and `updatedVM`, and for each module: // - if the module's `fromVM` version is less than its `updatedVM` version, // then run in-place store migrations for that module between those versions. // - if the module does not exist in the `fromVM` (which means that it's a new module, @@ -643,7 +643,7 @@ func (m *Manager) assertNoForgottenModules(setOrderFnName string, moduleNames [] // As an app developer, if you wish to skip running InitGenesis for your new // module "foo", you need to manually pass a `fromVM` argument to this function // foo's module version set to its latest ConsensusVersion. That way, the diff -// between the function's `fromVM` and `udpatedVM` will be empty, hence not +// between the function's `fromVM` and `updatedVM` will be empty, hence not // running anything for foo. // // Example: