chore(x/slashing): follow up (#18962)
This commit is contained in:
parent
7f3114e481
commit
20de67780b
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user