Move UStore from lorentz to morley-upgradeable
Clarification and motivation
In lorentz
, we have Lorentz.UStore
modules with some complex code. These modules make up a significant portion of Lorentz. It seems that currently they are used only in ugpradeable contracts and for most contracts (and other code that depends on lorentz
) they only increase compilation time and the total number of dependencies. So I propose to move all that stuff here.
- For upgradeable contracts there should be no difference.
- For all other code it should be a good change because there will be less code to depend on.
- If we need
UStore
anywhere outside of upgradeable contracts, we can end up puttingUStore
stuff into a dedicated package. But most likely we won't need it becausemorley-upgradeable
itself is not too big anyway.
Acceptance criteria
All Lorentz.UStore*
modules (and maybe some tightly related modules) are moved from lorentz
to morley-upgradeable
. SO there should be 2 MRs (one per repo).