mpc-recovery
mpc-recovery copied to clipboard
Consider utilizing concrete `Ctx` over Ctx-like traits
trafficstars
Currently, Ctx object is being used quite frequently everywhere in the multichain protocol. We can slim it down to just utilizing the object itself instead of passing it as traits, since the traits are starting to overlap and there doesn't seem to be much of a reason to keep them as traits.
Now the situation is a bit different. Both state and Ctx are passed around. Traits allow us to encapsulate all unnecessary data.