We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbfc387 commit 3664b39Copy full SHA for 3664b39
packages/go-gen/src/main.rs
@@ -359,7 +359,7 @@ mod tests {
359
compare_codes!(cosmwasm_std::DelegatorValidatorsResponse);
360
// wasm
361
compare_codes!(cosmwasm_std::ContractInfoResponse);
362
- // compare_codes!(cosmwasm_std::CodeInfoResponse); // TODO: Checksum type and "omitempty"
+ compare_codes!(cosmwasm_std::CodeInfoResponse);
363
}
364
365
#[test]
packages/go-gen/tests/cosmwasm_std__CodeInfoResponse.go
@@ -1,5 +1,5 @@
1
type CodeInfoResponse struct {
2
- Checksum Checksum `json:"checksum,omitempty"`
+ Checksum Checksum `json:"checksum"` // in wasmvm, this is `omitempty`
3
CodeID uint64 `json:"code_id"`
4
Creator string `json:"creator"`
5
0 commit comments