fix: typos (#23105)
This commit is contained in:
parent
4a533fd385
commit
1003caba49
@ -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`.
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user