CosmWasm / wasmvm

Go bindings to the running cosmwasm contracts with wasmer
Apache License 2.0
173 stars 99 forks source link

Make Cache::save_wasm_unchecked available in Go #434

Closed webmaster128 closed 1 year ago

webmaster128 commented 1 year ago

https://github.com/CosmWasm/cosmwasm/pull/1635 will be released as part of CosmWasm 1.3.

  1. func (vm *VM) StoreCode(code WasmCode) (Checksum, error) calls Cache::save_wasm
  2. func (vm *VM) StoreCodeUnchecked(code WasmCode) (Checksum, error) calls Cache::save_wasm_unchecked
  3. func (vm *VM) Create(code WasmCode) (Checksum, error) is a depecated alias for 1.