File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
ErrOverwriteKey = errors .New ("cannot overwrite key" )
16
16
// ErrKeyAlreadyExists is raised when creating a key that already exists
17
17
ErrKeyAlreadyExists = errors .Newf ("key already exists" )
18
- // ErrInvalidSignMode is raised when trying to sign with an invaled method
18
+ // ErrInvalidSignMode is raised when trying to sign with an invalid method
19
19
ErrInvalidSignMode = errors .New ("invalid sign mode, expected LEGACY_AMINO_JSON or TEXTUAL" )
20
20
// ErrMaxPassPhraseAttempts is raised when the maxPassphraseEntryAttempts is reached
21
21
ErrMaxPassPhraseAttempts = errors .New ("too many failed passphrase attempts" )
Original file line number Diff line number Diff line change @@ -464,15 +464,15 @@ When a Validator is slashed, the following occurs:
464
464
465
465
* The total ` slashAmount ` is calculated as the ` slashFactor ` (a chain parameter) \* ` TokensFromConsensusPower ` ,
466
466
the total number of tokens bonded to the validator at the time of the infraction.
467
- * Every unbonding delegation and pseudo-unbonding redelegation such that the infraction occured before the unbonding or
467
+ * Every unbonding delegation and pseudo-unbonding redelegation such that the infraction occurred before the unbonding or
468
468
redelegation began from the validator are slashed by the ` slashFactor ` percentage of the initialBalance.
469
469
* Each amount slashed from redelegations and unbonding delegations is subtracted from the
470
470
total slash amount.
471
471
* The ` remaingSlashAmount ` is then slashed from the validator's tokens in the ` BondedPool ` or
472
472
` NonBondedPool ` depending on the validator's status. This reduces the total supply of tokens.
473
473
474
474
In the case of a slash due to any infraction that requires evidence to submitted (for example double-sign), the slash
475
- occurs at the block where the evidence is included, not at the block where the infraction occured .
475
+ occurs at the block where the evidence is included, not at the block where the infraction occurred .
476
476
Put otherwise, validators are not slashed retroactively, only when they are caught.
477
477
478
478
#### Slash Unbonding Delegation
You can’t perform that action at this time.
0 commit comments