docs: fix typos (#21514)

Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
omahs
2024-09-04 19:47:16 +00:00
committed by GitHub
co-authored by Marko Julien Robert
parent 580579202a
commit 7f1eeb1801
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ When creating a testnet the important part is migrate the validator set from man
}
iterator.Close()
// Remove all valdiators from last validators store
// Remove all validators from last validators store
iterator = app.StakingKeeper.LastValidatorsIterator(ctx)
for ; iterator.Valid(); iterator.Next() {
app.StakingKeeper.LastValidatorPower.Delete(iterator.Key())
+1 -1
View File
@@ -61,7 +61,7 @@ It is recommended to implement all validation checks in a separate function that
```go
ValidateMsgA(msg MsgA, now Time, gm GasMeter) error {
if now.Before(msg.Expire) {
return sdkerrrors.ErrInvalidRequest.Wrap("msg expired")
return sdkerrors.ErrInvalidRequest.Wrap("msg expired")
}
gm.ConsumeGas(1000, "signature verification")
return signatureVerificaton(msg.Prover, msg.Data)