fix(baseapp): ensure finalize block response is not empty (backport #23879) (#23902)

Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: aljo242 <alex@interchainlabs.io>
This commit is contained in:
mergify[bot]
2025-03-05 15:13:52 -05:00
committed by GitHub
co-authored by mmsqe aljo242
parent 8903e43a9e
commit b0ee102cfa
5 changed files with 32 additions and 1219 deletions
-8
View File
@@ -219,11 +219,7 @@ The Cosmos SDK handles two types of evidence inside the ABCI `BeginBlock`:
The evidence module handles these two evidence types the same way. First, the Cosmos SDK converts the CometBFT concrete evidence type to an SDK `Evidence` interface using `Equivocation` as the concrete type.
```protobuf reference
<<<<<<< HEAD
https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-rc1/proto/cosmos/evidence/v1beta1/evidence.proto#L12-L32
=======
https://github.com/cosmos/cosmos-sdk/tree/release/v0.50.x/proto/cosmos/evidence/v1beta1/evidence.proto#L12-L32
>>>>>>> 5411e73bb (docs: update version references (#23898))
```
For some `Equivocation` submitted in `block` to be valid, it must satisfy:
@@ -247,11 +243,7 @@ validator to ever re-enter the validator set.
The `Equivocation` evidence is handled as follows:
```go reference
<<<<<<< HEAD
https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-rc1/x/evidence/keeper/infraction.go#L26-L140
=======
https://github.com/cosmos/cosmos-sdk/tree/release/v0.50.x/x/evidence/keeper/infraction.go#L26-L140
>>>>>>> 5411e73bb (docs: update version references (#23898))
```
**Note:** The slashing, jailing, and tombstoning calls are delegated through the `x/slashing` module