Use valid owner address in get auctions by owner test
All checks were successful
Integration Tests / test-integration (pull_request) Successful in 2m5s
E2E Tests / test-e2e (pull_request) Successful in 2m0s

This commit is contained in:
Prathamesh Musale 2024-03-04 09:20:07 +05:30
parent 6c0e7c6c49
commit 4abe5569ee
5 changed files with 1 additions and 6 deletions

View File

@ -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"`
}

View File

@ -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

View File

@ -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\""];
}

View File

@ -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,
},

View File

@ -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"`
}