-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generalize controllers #408
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cw-controllers
are usingCosmosMsg<Empty>
(and relatives) when it comes to messaging. This is an issue, as it makes them unusable in chains which have their specific custom message (and there is no way to simply map those). The solution is simple - as those utilities are never usingCustom
, instead of returningcosmwasm_std::Response
, they should return genericcosmwasm_std::Response<T>
, for eg thecw_controllers::Admin::execute_udpate_admin
may look like:C should be easy to infer, as those calls are used to directly return them.
The text was updated successfully, but these errors were encountered: