From b30abfff1732f1bdfb70823f46c20494e3d017bc Mon Sep 17 00:00:00 2001 From: 99adarsh Date: Fri, 29 Nov 2024 15:19:15 +0530 Subject: [PATCH] add comment in test --- x/amm/keeper/query_join_pool_estimation_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/amm/keeper/query_join_pool_estimation_test.go b/x/amm/keeper/query_join_pool_estimation_test.go index efcbfd06c..23268d92b 100644 --- a/x/amm/keeper/query_join_pool_estimation_test.go +++ b/x/amm/keeper/query_join_pool_estimation_test.go @@ -32,6 +32,7 @@ func TestJoinPoolEstimation(t *testing.T) { AmountsIn: sdk.NewCoins(sdk.NewInt64Coin("denom1", 100), sdk.NewInt64Coin("denom2", 200)), }) require.NoError(t, err) + // Pool ratio is 1:1, so join pool will accept only 100denom1,100denom2 require.Equal(t, sdk.Coins(resp.AmountsIn).String(), "100denom1,100denom2") require.Equal(t, resp.ShareAmountOut.String(), "100000000000000000amm/pool/1") }