Skip to content

Commit 59a2373

Browse files
committed
Fix RawRangeQuery go type
1 parent a70a1be commit 59a2373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/go-gen/tests/cosmwasm_std__WasmQuery.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type RawRangeQuery struct {
2626
// The address of the contract to query
2727
ContractAddr string `json:"contract_addr"`
2828
// Exclusive end bound. This is the key after the last key you would like to get data for.
29-
End []byte `json:"end,omitempty"`
29+
End []byte `json:"end"`
3030
// Maximum number of elements to return.
3131
//
3232
// Make sure to set a reasonable limit to avoid running out of memory or into the deserialization limits of the VM. Also keep in mind that these limitations depend on the full JSON size of the response type.
@@ -36,7 +36,7 @@ type RawRangeQuery struct {
3636
// Inclusive start bound. This is the first key you would like to get data for.
3737
//
3838
// If `start` is lexicographically greater than or equal to `end`, an empty range is described, mo matter of the order.
39-
Start []byte `json:"start,omitempty"`
39+
Start []byte `json:"start"`
4040
}
4141

4242
type WasmQuery struct {

0 commit comments

Comments
 (0)