From 7b55c6d35bf081bef6c907f705e17276b950f573 Mon Sep 17 00:00:00 2001 From: Barrie Byron Date: Sat, 18 Dec 2021 17:56:42 -0500 Subject: [PATCH] Update 06_begin_block.md (#10806) SDK to Cosmos SDK Co-authored-by: Marko --- x/evidence/spec/06_begin_block.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/x/evidence/spec/06_begin_block.md b/x/evidence/spec/06_begin_block.md index 8a6c83327..5a04d1988 100644 --- a/x/evidence/spec/06_begin_block.md +++ b/x/evidence/spec/06_begin_block.md @@ -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).