CosmWasm / wasmvm

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

Omit `Payload` from json if empty #519

Closed chipshort closed 5 months ago

chipshort commented 5 months ago

The Rust side expects either a valid Binary (i.e. some valid string) or no field at all, but the current version would produce a null value, which fails when deserializing in Rust. See also https://github.com/CosmWasm/cosmwasm/pull/2027 for the corresponding fix in the go generator.