Avoid generic parameter in `CosmosMsg<C>`
Open
@chipshort is already working on this.
Since Jun 10, 2025.
- #2475 by @kulikthebird — closed without merging
Breaking (contracts)
- Dominant language
- Rust
- Stars
- 1.1k
- Forks
- 419
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 2
Description
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 longer Send + Sync and that the custom message type is not necessarily Sized anymore.
This could probably be looked at for something like MultiTest.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.