osmosis
osmosis copied to clipboard
[Feature]: Patch release improvement to x/slashing begin block logic
Summary
BeginBlock logic for slashing takes 2-3% of sync time right now, even in v24.
We can in a patch release speed this up by:
- Making signedblocks window not call GetParams. Use passed in params
- Making a single logger call, not one per validator
- Cache MinSignedPerWindowInt
That would speedup sync speed by ~.8%.
We may also be able to patch release improve GetMissedBlockBitMapChunk by skipping getting a chunk from state if a validator has 100% uptime and signed the block.
Problem Definition
No response
Proposed Feature
.