Skip to content

Commit d7b98a9

Browse files
committed
Adjust go type again
1 parent 0cea8ea commit d7b98a9

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
@@ -355,7 +355,7 @@ mod tests {
355355
// wasm
356356
compare_codes!(cosmwasm_std::ContractInfoResponse);
357357
compare_codes!(cosmwasm_std::CodeInfoResponse);
358-
compare_codes!(cosmwasm_std::RawRangeResponse);
358+
// compare_codes!(cosmwasm_std::RawRangeResponse); // uses `[]byte` instead of `*[]byte`
359359
}
360360

361361
#[test]

packages/go-gen/tests/cosmwasm_std__RawRangeResponse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ type RawRangeResponse struct {
22
// The key-value pairs
33
Data Array[RawRangeEntry] `json:"data"`
44
// `None` if there are no more key-value pairs within the given key range.
5-
NextKey *[]byte `json:"next_key,omitempty"`
5+
NextKey []byte `json:"next_key"`
66
}
77
type RawRangeEntry struct {
88
K []byte `json:"k"`

0 commit comments

Comments
 (0)