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

Wasm contract requires unavailable capabilities: {"cosmwasm_1_3"} #151

Closed
99Kies opened this issue Sep 18, 2023 · 1 comment
Closed

Wasm contract requires unavailable capabilities: {"cosmwasm_1_3"} #151

99Kies opened this issue Sep 18, 2023 · 1 comment

Comments

@99Kies
Copy link

99Kies commented Sep 18, 2023

command:

$ cargo generate --git https://github.com/CosmWasm/cosmwasm-template.git --name my-first-contract -d minimal=false

$ cargo wasm

$ docker run --rm -v "$(pwd)":/code \
  --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
  cosmwasm/rust-optimizer-arm64:0.12.11
  
$ cosmwasm-check artifacts/my_first_contract-aarch64.wasm

log:

Available capabilities: {"iterator", "cosmwasm_1_1", "staking", "cosmwasm_1_2", "stargate"}

artifacts/my_first_contract-aarch64.wasm: failure
Error during static Wasm validation: Wasm contract requires unavailable capabilities: {"cosmwasm_1_3"}

Passes: 0, failures: 1

cosmwasm-check version: 1.2.3

$ cosmwasm-check --version
Contract checking 1.2.3
@99Kies
Copy link
Author

99Kies commented Sep 18, 2023

ok, I see, I must upgrade cosmwasm version.

@99Kies 99Kies closed this as completed Sep 18, 2023
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

No branches or pull requests

1 participant