Update 06_begin_block.md (#10806)
SDK to Cosmos SDK Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
parent
e44612f33d
commit
7b55c6d35b
|
@ -11,12 +11,12 @@ Tendermint blocks can include
|
|||
|
||||
### Equivocation
|
||||
|
||||
Currently, the SDK handles two types of evidence inside the ABCI `BeginBlock`:
|
||||
The Cosmos SDK handles two types of evidence inside the ABCI `BeginBlock`:
|
||||
|
||||
- `DuplicateVoteEvidence`,
|
||||
- `LightClientAttackEvidence`.
|
||||
|
||||
The evidence module handles these two evidence types the same way. First, the SDK converts the Tendermint concrete evidence type to a SDK `Evidence` interface using `Equivocation` as the concrete type.
|
||||
The evidence module handles these two evidence types the same way. First, the Cosmos SDK converts the Tendermint concrete evidence type to an SDK `Evidence` interface using `Equivocation` as the concrete type.
|
||||
|
||||
```proto
|
||||
// Equivocation implements the Evidence interface.
|
||||
|
@ -149,6 +149,6 @@ func (k Keeper) HandleEquivocationEvidence(ctx sdk.Context, evidence *types.Equi
|
|||
}
|
||||
```
|
||||
|
||||
Note, the slashing, jailing, and tombstoning calls are delegated through the `x/slashing` module
|
||||
**Note:** The slashing, jailing, and tombstoning calls are delegated through the `x/slashing` module
|
||||
that emits informative events and finally delegates calls to the `x/staking` module. See documentation
|
||||
on slashing and jailing in [x/staking spec](/.././cosmos-sdk/x/staking/spec/02_state_transitions.md).
|
||||
on slashing and jailing in [State Transitions](/.././cosmos-sdk/x/staking/spec/02_state_transitions.md).
|
||||
|
|
Loading…
Reference in New Issue