Co-authored-by: omahs <73983677+omahs@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user