Skip to content

Commit 3664b39

Browse files
committed
Add CodeInfoResponse go-gen test
1 parent dbfc387 commit 3664b39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/go-gen/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ mod tests {
359359
compare_codes!(cosmwasm_std::DelegatorValidatorsResponse);
360360
// wasm
361361
compare_codes!(cosmwasm_std::ContractInfoResponse);
362-
// compare_codes!(cosmwasm_std::CodeInfoResponse); // TODO: Checksum type and "omitempty"
362+
compare_codes!(cosmwasm_std::CodeInfoResponse);
363363
}
364364

365365
#[test]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
type CodeInfoResponse struct {
2-
Checksum Checksum `json:"checksum,omitempty"`
2+
Checksum Checksum `json:"checksum"` // in wasmvm, this is `omitempty`
33
CodeID uint64 `json:"code_id"`
44
Creator string `json:"creator"`
55
}

0 commit comments

Comments
 (0)