docs: update x/evidence README.md links to v0.50 (#23832)

This commit is contained in:
crStiv 2025-02-26 20:56:29 +01:00 committed by GitHub
parent fa82101b0e
commit 05933ed2e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -219,7 +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
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/blob/v0.50/proto/cosmos/evidence/v1beta1/evidence.proto#L12-L32
```
For some `Equivocation` submitted in `block` to be valid, it must satisfy:
@ -243,7 +243,7 @@ validator to ever re-enter the validator set.
The `Equivocation` evidence is handled as follows:
```go reference
https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-rc1/x/evidence/keeper/infraction.go#L26-L140
https://github.com/cosmos/cosmos-sdk/blob/v0.50/x/evidence/keeper/infraction.go#L26-L140
```
**Note:** The slashing, jailing, and tombstoning calls are delegated through the `x/slashing` module