You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The full module path (starting from crate root) is not used when specifying the QueryResponses type in the cosmwasm_schema::generate_api! macro.
This can result in the following error when using it without cosmwasm_schema::write_api!:
error[E0433]: failed to resolve: use of undeclared type `QueryResponses`
--> contracts/mock-core/mock-core.rs:39:5
|
39 | / cosmwasm_schema::generate_api! {
40 | | instantiate: InstantiateMsg,
41 | | execute: ExecuteMsg,
42 | | query: QueryMsg,
43 | | }
| |_____^ use of undeclared type `QueryResponses`
|
= note: this error originates in the macro `cosmwasm_schema::generate_api` (in Nightly builds, run with -Z macro-backtrace for more inf
o)