I am using sylvia v0.9.2 which has a dependency on cw-multi-test v0.19.0.
When trying to build the contracts with a wasm as target (using rust-optimizer), the following error occurs:
error[E0432]: unresolved import `cosmwasm_std::testing`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/cw-multi-test-0.19.0/src/addons/api/bech32.rs:2:19
|
2 | use cosmwasm_std::testing::MockApi;
| ^^^^^^^ could not find `testing` in `cosmwasm_std`
error[E0432]: unresolved import `cosmwasm_std::testing`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/cw-multi-test-0.19.0/src/app.rs:12:19
|
12 | use cosmwasm_std::testing::{MockApi, MockStorage};
| ^^^^^^^ could not find `testing` in `cosmwasm_std`
error[E0432]: unresolved import `cosmwasm_std::testing`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/cw-multi-test-0.19.0/src/app_builder.rs:7:19
|
7 | use cosmwasm_std::testing::{mock_env, MockApi, MockStorage};
| ^^^^^^^ could not find `testing` in `cosmwasm_std`
error[E0432]: unresolved import `cosmwasm_std::testing`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/cw-multi-test-0.19.0/src/wasm.rs:9:19
|
9 | use cosmwasm_std::testing::mock_wasmd_attr;
| ^^^^^^^ could not find `testing` in `cosmwasm_std`
As a result, I am unable to build the contracts. Perhaps we can only have cw-multi-test as dependency on dev / test.
I am using
sylvia v0.9.2
which has a dependency oncw-multi-test v0.19.0
.When trying to build the contracts with a
wasm
astarget
(usingrust-optimizer
), the following error occurs:As a result, I am unable to build the contracts. Perhaps we can only have
cw-multi-test
as dependency on dev / test.