[CLEANUP] move pool cycle logic to a manager
Related to #1396
The logic for cycling pools is split between module.go
and helpers.go
. It is called exclusively during EndBlock
. This patch moves all the pool cycle logic to a new PoolManager
which is called from EndBlock
like all the other managers.
No logic changes, only structural, testing, and commenting.
Edited by akrokr