notional-labs / UltraStableJuno

Decentralized stablecoin on Juno Network.
MIT License
10 stars 6 forks source link

Move Message Types to Their Respective Crates #25

Open mccallofthewild opened 2 years ago

mccallofthewild commented 2 years ago

As raised in https://github.com/notional-labs/UltraStableJuno/pull/24#discussion_r950864684, the consolidation of message types into a single crate makes contracts less readable. Futhermore, it may cause cargo to behave inefficiently, recompiling all reverse dependencies every time a the ultra-base crate changes.

Definition of Done

mccallofthewild commented 2 years ago

Considering closing this, as many contracts are interdependent and we cannot write them all at once, so having all message types in one place enables us to develop using message types that don't have implementations yet.

mccallofthewild commented 2 years ago

WIP in: mccallofthewild/flatten-types