chore(x/slashing): follow up (#18962)

This commit is contained in:
Marko 2024-01-06 13:16:01 +01:00 committed by GitHub
parent 7f3114e481
commit 20de67780b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -191,7 +191,6 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (types) [#18372](https://github.com/cosmos/cosmos-sdk/pull/18372) Removed global configuration for coin type and purpose. Setters and getters should be removed and access directly to defined types.
* (types) [#18695](https://github.com/cosmos/cosmos-sdk/pull/18695) Removed global configuration for txEncoder.
* (server) [#18909](https://github.com/cosmos/cosmos-sdk/pull/18909) Remove configuration endpoint on grpc reflection endpoint in favour of auth module bech32prefix endpoint already exposed.
* (slashing) [#18959](https://github.com/cosmos/cosmos-sdk/pull/18959) Slight speedup to Slashing Beginblock logic
### CLI Breaking Changes

View File

@ -29,6 +29,8 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Improvements
* [#18959](https://github.com/cosmos/cosmos-sdk/pull/18959) Avoid deserialization of parameters with every validator lookup
### API Breaking Changes
### Bug Fixes

View File

@ -147,7 +147,7 @@ func validateSlashFractionDowntime(i interface{}) error {
return nil
}
// return min signed per window as an integer (vs the decimal in the param)
// MinSignedPerWindowInt returns min signed per window as an integer (vs the decimal in the param)
func (p *Params) MinSignedPerWindowInt() int64 {
signedBlocksWindow := p.SignedBlocksWindow
minSignedPerWindow := p.MinSignedPerWindow