mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-29 01:35:18 +00:00
0dc30538b7
* Optimize CDP Begin Blocker (#1822) * optimize cdp begin blocker by removing unnecessary checks, reusing data and prefix stores in loops, and reducing number of repeated calculations * fix panic for new cdp types if both previous accural time and global interest factor are not set * do not touch global interest factor if no CDP's exist; revert to panic if global interest factor is not found since this is an unreachable state by normal keeper operation -- it can only be reached if store is modified outside of public interface and normal operation * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> |
||
---|---|---|
.. | ||
client/cli | ||
keeper | ||
migrations/v2 | ||
spec | ||
types | ||
abci_test.go | ||
abci.go | ||
genesis_test.go | ||
genesis.go | ||
integration_test.go | ||
module.go |