mpc-recovery icon indicating copy to clipboard operation
mpc-recovery copied to clipboard

Consider utilizing concrete `Ctx` over Ctx-like traits

Open ChaoticTempest opened this issue 1 year ago • 1 comments
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.

ChaoticTempest avatar Jan 10 '24 02:01 ChaoticTempest

Now the situation is a bit different. Both state and Ctx are passed around. Traits allow us to encapsulate all unnecessary data.

volovyks avatar Jan 17 '24 21:01 volovyks