cosmos-sdk/x/slashing/spec/06_events.md

1.3 KiB

Events

The slashing module emits the following events:

MsgServer

MsgUnjail

Type Attribute Key Attribute Value
message module slashing
message sender {validatorAddress}

Keeper

BeginBlocker: HandleValidatorSignature

Type Attribute Key Attribute Value
slash address {validatorConsensusAddress}
slash power {validatorPower}
slash reason {slashReason}
slash jailed [0] {validatorConsensusAddress}
slash burned coins {sdk.Int}
  • [0] Only included if the validator is jailed.
Type Attribute Key Attribute Value
liveness address {validatorConsensusAddress}
liveness missed_blocks {missedBlocksCounter}
liveness height {blockHeight}

Slash

  • same as "slash" event from HandleValidatorSignature, but without the jailed attribute.

Jail

Type Attribute Key Attribute Value
slash jailed {validatorAddress}