Use valid owner address in get auctions by owner test
This commit is contained in:
parent
6c0e7c6c49
commit
4abe5569ee
@ -608,7 +608,6 @@ type GenesisState struct {
|
||||
// params defines all the parameters of the module.
|
||||
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
|
||||
// bonds defines all the bonds
|
||||
// TODO: Add nullable = false ?
|
||||
Bonds []*Bond `protobuf:"bytes,2,rep,name=bonds,proto3" json:"bonds,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -123,8 +123,6 @@ message QueryAuctionsByBidderRequest {
|
||||
message QueryAuctionsByBidderResponse {
|
||||
// List of auctions
|
||||
Auctions auctions = 1;
|
||||
|
||||
// TODO: Add pagination?
|
||||
}
|
||||
|
||||
// AuctionsByOwnerRequest is the format for querying all auctions created by an owner
|
||||
|
@ -13,6 +13,5 @@ message GenesisState {
|
||||
Params params = 1 [(gogoproto.nullable) = false];
|
||||
|
||||
// bonds defines all the bonds
|
||||
// TODO: Add nullable = false ?
|
||||
repeated Bond bonds = 2 [(gogoproto.moretags) = "json:\"bonds\" yaml:\"bonds\""];
|
||||
}
|
||||
|
@ -222,7 +222,7 @@ func (ets *E2ETestSuite) TestGetAuctionsByOwnerGrpc() {
|
||||
},
|
||||
{
|
||||
"valid request to get auctions by owner",
|
||||
fmt.Sprintf("%s/%s", reqURL, randomOwnerAddress), // TODO: use ownerAddress?
|
||||
fmt.Sprintf("%s/%s", reqURL, ownerAddress),
|
||||
"",
|
||||
false,
|
||||
},
|
||||
|
@ -28,7 +28,6 @@ type GenesisState struct {
|
||||
// params defines all the parameters of the module.
|
||||
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
||||
// bonds defines all the bonds
|
||||
// TODO: Add nullable = false ?
|
||||
Bonds []*Bond `protobuf:"bytes,2,rep,name=bonds,proto3" json:"bonds,omitempty" json:"bonds" yaml:"bonds"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user