Skip to content

Upgrade to cosmwasm 1.0.0-soon#441

Merged
ethanfrey merged 6 commits intomainfrom
427-cosmwasm-soon
Sep 20, 2021
Merged

Upgrade to cosmwasm 1.0.0-soon#441
ethanfrey merged 6 commits intomainfrom
427-cosmwasm-soon

Conversation

@ethanfrey
Copy link
Copy Markdown
Contributor

@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
@ueco-jb ueco-jb assigned ethanfrey and unassigned ueco-jb Sep 20, 2021
@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