Skip to main content
Version: 0.14

Compatibility

Wasm VM can support one or more contract-VM interface versions. The interface version is communicated by the contract via a Wasm export. This is the current compatibility list:

cosmwasm-stdcosmwasm-vmx/wasm@cosmjs/cosmwasm-stargate
0.150.150.18^0.25.0
0.140.140.16-0.17^0.25.0
0.130.130.16^0.24.0

Note that cosmwasm-std version defines which contracts are compatible with this system. The wasm code uploaded must have been compiled with one of the supported cosmwasm-std versions, or will be rejeted upon upload (with some error message about "contract too old?" or "contract too new?"). cosmwasm-vm version defines the runtime used. It is a breaking change to switch runtimes (you will need to organize a chain upgrade). As of cosmwasm-vm 0.13 we are using wasmer 1.0, which is significantly more performant than the older versions. @cosmjs/cosmwasm-stargate follows the compatible CosmJS version.