2019-12-17 03:44:44 -08:00
|
|
|
<!--
|
2019-12-11 09:35:27 -08:00
|
|
|
order: 6
|
2019-12-17 03:44:44 -08:00
|
|
|
-->
|
2019-12-11 09:35:27 -08:00
|
|
|
|
2019-06-26 09:03:25 -07:00
|
|
|
# Tags
|
|
|
|
|
|
|
|
The slashing module emits the following events/tags:
|
|
|
|
|
2021-01-15 15:03:08 -08:00
|
|
|
## MsgServer
|
|
|
|
|
|
|
|
### MsgUnjail
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| ------- | ------------- | --------------- |
|
|
|
|
| message | module | slashing |
|
|
|
|
| message | sender | {validatorAddress} |
|
|
|
|
|
|
|
|
|
|
|
|
## Keeper
|
|
|
|
|
|
|
|
## BeginBlocker: HandleValidatorSignature
|
2019-06-26 09:03:25 -07:00
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
2019-12-02 17:58:14 -08:00
|
|
|
| ----- | ------------- | --------------------------- |
|
2019-06-26 09:03:25 -07:00
|
|
|
| slash | address | {validatorConsensusAddress} |
|
|
|
|
| slash | power | {validatorPower} |
|
|
|
|
| slash | reason | {slashReason} |
|
|
|
|
| slash | jailed [0] | {validatorConsensusAddress} |
|
|
|
|
|
2019-12-02 17:58:14 -08:00
|
|
|
- [0] Only included if the validator is jailed.
|
2019-06-26 09:03:25 -07:00
|
|
|
|
2019-06-28 10:53:30 -07:00
|
|
|
| Type | Attribute Key | Attribute Value |
|
2019-12-02 17:58:14 -08:00
|
|
|
| -------- | ------------- | --------------------------- |
|
2019-06-28 10:53:30 -07:00
|
|
|
| liveness | address | {validatorConsensusAddress} |
|
|
|
|
| liveness | missed_blocks | {missedBlocksCounter} |
|
|
|
|
| liveness | height | {blockHeight} |
|
|
|
|
|
2019-06-26 09:03:25 -07:00
|
|
|
|
2021-01-15 15:03:08 -08:00
|
|
|
### Slash
|
2019-06-26 09:03:25 -07:00
|
|
|
|
2021-01-15 15:03:08 -08:00
|
|
|
+ same as `"slash"` event from `HandleValidatorSignature`, but without the `jailed` attribute.
|
|
|
|
|
|
|
|
### Jail
|
|
|
|
|
|
|
|
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
|
|
| ----- | ------------- | ------------------ |
|
|
|
|
| slash | jailed | {validatorAddress} |
|