diff --git a/tests/integration/bank/keeper/deterministic_test.go b/tests/integration/bank/keeper/deterministic_test.go index a07e0d48f9da..03c7216ec105 100644 --- a/tests/integration/bank/keeper/deterministic_test.go +++ b/tests/integration/bank/keeper/deterministic_test.go @@ -403,50 +403,51 @@ func (suite *DeterministicTestSuite) TestGRPCSendEnabled() { testdata.DeterministicIterations(suite.ctx, suite.Require(), req, suite.queryClient.SendEnabled, 4063, false) } -func (suite *DeterministicTestSuite) TestGRPCDenomOwners() { - rapid.Check(suite.T(), func(t *rapid.T) { - denom := rapid.StringMatching(denomRegex).Draw(t, "denom") - numAddr := rapid.IntRange(1, 10).Draw(t, "number-address") - for i := 0; i < numAddr; i++ { - addr := testdata.AddressGenerator(t).Draw(t, "address") - - coin := sdk.NewCoin( - denom, - sdk.NewInt(rapid.Int64Min(1).Draw(t, "amount")), - ) - - err := banktestutil.FundAccount(suite.bankKeeper, suite.ctx, addr, sdk.NewCoins(coin)) - suite.Require().NoError(err) - } - - req := &banktypes.QueryDenomOwnersRequest{ - Denom: denom, - Pagination: testdata.PaginationGenerator(t, uint64(numAddr)).Draw(t, "pagination"), - } - testdata.DeterministicIterations(suite.ctx, suite.Require(), req, suite.queryClient.DenomOwners, 0, true) - }) - - denomOwners := []*banktypes.DenomOwner{ - { - Address: "cosmos1qg65a9q6k2sqq7l3ycp428sqqpmqcucgzze299", - Balance: coin1, - }, - { - Address: "cosmos1qglnsqgpq48l7qqzgs8qdshr6fh3gqq9ej3qut", - Balance: coin1, - }, - } - - for i := 0; i < len(denomOwners); i++ { - addr, err := sdk.AccAddressFromBech32(denomOwners[i].Address) - suite.Require().NoError(err) - - err = banktestutil.FundAccount(suite.bankKeeper, suite.ctx, addr, sdk.NewCoins(coin1)) - suite.Require().NoError(err) - } - - req := &banktypes.QueryDenomOwnersRequest{ - Denom: coin1.GetDenom(), - } - testdata.DeterministicIterations(suite.ctx, suite.Require(), req, suite.queryClient.DenomOwners, 2525, false) -} +// Not implemented in Osmosis +// func (suite *DeterministicTestSuite) TestGRPCDenomOwners() { +// rapid.Check(suite.T(), func(t *rapid.T) { +// denom := rapid.StringMatching(denomRegex).Draw(t, "denom") +// numAddr := rapid.IntRange(1, 10).Draw(t, "number-address") +// for i := 0; i < numAddr; i++ { +// addr := testdata.AddressGenerator(t).Draw(t, "address") + +// coin := sdk.NewCoin( +// denom, +// sdk.NewInt(rapid.Int64Min(1).Draw(t, "amount")), +// ) + +// err := banktestutil.FundAccount(suite.bankKeeper, suite.ctx, addr, sdk.NewCoins(coin)) +// suite.Require().NoError(err) +// } + +// req := &banktypes.QueryDenomOwnersRequest{ +// Denom: denom, +// Pagination: testdata.PaginationGenerator(t, uint64(numAddr)).Draw(t, "pagination"), +// } +// testdata.DeterministicIterations(suite.ctx, suite.Require(), req, suite.queryClient.DenomOwners, 0, true) +// }) + +// denomOwners := []*banktypes.DenomOwner{ +// { +// Address: "cosmos1qg65a9q6k2sqq7l3ycp428sqqpmqcucgzze299", +// Balance: coin1, +// }, +// { +// Address: "cosmos1qglnsqgpq48l7qqzgs8qdshr6fh3gqq9ej3qut", +// Balance: coin1, +// }, +// } + +// for i := 0; i < len(denomOwners); i++ { +// addr, err := sdk.AccAddressFromBech32(denomOwners[i].Address) +// suite.Require().NoError(err) + +// err = banktestutil.FundAccount(suite.bankKeeper, suite.ctx, addr, sdk.NewCoins(coin1)) +// suite.Require().NoError(err) +// } + +// req := &banktypes.QueryDenomOwnersRequest{ +// Denom: coin1.GetDenom(), +// } +// testdata.DeterministicIterations(suite.ctx, suite.Require(), req, suite.queryClient.DenomOwners, 2525, false) +// }