Avoid generic parameter in CosmosMsg<C>
#2249
Labels
Breaking (contracts)
Compile-time breaking contracts
Milestone
CosmosMsg<C>
#2249
We still need to support the custom message feature, but having this as a generic is quite annoying for users because it has to be carried through the whole code.
In our meeting, switching to dynamic dispatch with erased_serde / typetag was proposed.
We should make sure that downstream users are not affected by the fact that this makes
CosmosMsg
no longerSend + Sync
and that the custom message type is not necessarilySized
anymore.This could probably be looked at for something like MultiTest.
The text was updated successfully, but these errors were encountered: