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
Does osmosis app.go have cosmwasm_1_3 capabilities? they should wasmapp.AllCapabilities() when registering the wasmkeeper.NewKeeper if not possible its on Osmosis side (your contract may require 2.0 & 1.3?)
When enabling feature cosmwasm_2_0 it recursively enables all the previous features, hence all of the capabilities must be enabled.
Osmosis Version
26.0.0 (testnet)
How to reproduce?
Create a smart-contract with cosmwasm-std import that enables the 2.x features.
[dependencies]
cosmwasm-std = { version = "2.0.0", features = ["cosmwasm_2_0"] }
Then compile that contract and attempt to upload it to testnet.
I did not explicitly check mainnet for this bug.
The text was updated successfully, but these errors were encountered:
CyberHoward
changed the title
[Bug]: Missing CosmWasm v2.x capabilities.
[Bug]: Missing CosmWasm capabilities for v2.xOct 7, 2024
hey @CyberHoward Can you tell me more about the steps to test this? I think we have a fix for this but I'm not sure of the specific steps to replicate the bug that you have had
What happened?
We're running into the following error when deploying cosmwasm 2.x contracts to testnet.
Wasm contract requires unavailable capabilities: {\"cosmwasm_1_3\"}
I brought the error up to Confio first to ensure it's not a CW issue: https://discord.com/channels/737637324434833438/737640672680607764/1290615644785737779
Quoting Reece:
When enabling feature
cosmwasm_2_0
it recursively enables all the previous features, hence all of the capabilities must be enabled.Osmosis Version
26.0.0 (testnet)
How to reproduce?
Create a smart-contract with cosmwasm-std import that enables the
2.x
features.Then compile that contract and attempt to upload it to testnet.
I did not explicitly check mainnet for this bug.
The text was updated successfully, but these errors were encountered: