Skip to content
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

Upgrade to cosmwasm 1.0.0-soon #441

Merged
merged 6 commits into from
Sep 20, 2021
Merged

Upgrade to cosmwasm 1.0.0-soon #441

merged 6 commits into from
Sep 20, 2021

Conversation

ethanfrey
Copy link
Member

@ethanfrey ethanfrey commented Sep 20, 2021

Closes #427

I fixed the compile errors (even if I wish to do this better in the helpers later), but the tests fail for odd reasons. For example, try cargo test in cw1-whitelist. I get:

error[E0308]: mismatched types
  --> contracts/cw1-whitelist/src/integration_tests.rs:17:19
   |
17 |     App::new(api, env.block, bank, storage)
   |                   ^^^^^^^^^ expected struct `cosmwasm_std::types::BlockInfo`, found struct `BlockInfo`
   |
   = note: perhaps two different versions of crate `cosmwasm_std` are being used?

Quite confused here, as these are aliases (cosmwasm_std::BlockInfo and cosmwasm_std::types::BlockInfo) and I did check that Cargo.toml is updated to 1.0.0-soon.

I'd be happy if anyone can investigate (and fix)

@ueco-jb ueco-jb self-assigned this Sep 20, 2021
@ueco-jb ueco-jb marked this pull request as ready for review September 20, 2021 09:41
@ethanfrey ethanfrey merged commit 3cdcadc into main Sep 20, 2021
@ethanfrey ethanfrey deleted the 427-cosmwasm-soon branch September 20, 2021 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to cosmwasm 1.0-soon
2 participants