Closed webmaster128 closed 9 months ago
QueryResponse is analogue to ContractResult but instead of a Response struct with messages, data, attributes, events this only has bytes in the success case. It is the Go counterpart of the Rust ContractResult<Binary>.
QueryResponse
ContractResult
ContractResult<Binary>
In https://github.com/CosmWasm/wasmvm/pull/465/files we clearly see that this lives at the same level as ContractResult.
For the sake of consistency, we should make this a "result" too.
QueryResponse
is analogue toContractResult
but instead of a Response struct with messages, data, attributes, events this only has bytes in the success case. It is the Go counterpart of the RustContractResult<Binary>
.In https://github.com/CosmWasm/wasmvm/pull/465/files we clearly see that this lives at the same level as ContractResult.
For the sake of consistency, we should make this a "result" too.