Skip to content

remove keeper's dependency on keeper/v1

akrokr requested to merge akh/keeper_dep into develop

The x/thorchain/keeper package defines the interface for the keeper, x/thorchain/keeper/v1/keeper has the implementation. The former package imports the latter just to define the instantiation function NewKeeper. This can cause cyclical dependency issues, e.g. if a mimir V2 needs to be checked in the keeper implementation.

This moves NewKeeper func to the impl package where it belongs, unblocking progress on mimir v2 migration.

h/t @dixitaniket for pointing this out

Edited by akrokr

Merge request reports

Loading