mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-29 17:55:19 +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> |
||
---|---|---|
.. | ||
auctions_test.go | ||
auctions.go | ||
cdp_test.go | ||
cdp.go | ||
deposit_test.go | ||
deposit.go | ||
draw_test.go | ||
draw.go | ||
grpc_query_test.go | ||
grpc_query.go | ||
hooks.go | ||
integration_test.go | ||
interest_test.go | ||
interest.go | ||
keeper_bench_test.go | ||
keeper_test.go | ||
keeper.go | ||
migrations.go | ||
msg_server.go | ||
params.go | ||
querier.go | ||
seize_test.go | ||
seize.go |