From db44fad2659328cdddcefffcfdba1dc4f7369801 Mon Sep 17 00:00:00 2001 From: Gjermund Garaba Date: Wed, 20 Dec 2023 13:36:42 +0100 Subject: [PATCH] Fix failing e2e test --- chain/tests/e2e/marketplace/buy_credits_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/tests/e2e/marketplace/buy_credits_test.go b/chain/tests/e2e/marketplace/buy_credits_test.go index 138903614..aa701bf31 100644 --- a/chain/tests/e2e/marketplace/buy_credits_test.go +++ b/chain/tests/e2e/marketplace/buy_credits_test.go @@ -59,7 +59,7 @@ func (s *E2ETestSuite) TestBuyCreditsWithoutFeeSplit() { // Buy some credits out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, executeContractCmd, append([]string{ marketplaceAddress, - fmt.Sprintf(`{"buy_credits": {"owner": "%s", "denom": "PTEST/00001", "number_of_credits_to_buy": 2}}`, creditOwnerAddress.String()), + fmt.Sprintf(`{"buy_credits": {"owner": "%s", "denom": "PTEST/00001", "number_of_credits_to_buy": 2, "retire": false}}`, creditOwnerAddress.String()), fmt.Sprintf("--amount=%s%s", "3000000", sdk.DefaultBondDenom), fmt.Sprintf("--%s=%s", flags.FlagFrom, buyerKey.Name), }, s.CommonFlags...)) @@ -146,7 +146,7 @@ func (s *E2ETestSuite) TestBuyCreditsWithFeeSplit() { // Buy some credits out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, executeContractCmd, append([]string{ marketplaceAddress, - fmt.Sprintf(`{"buy_credits": {"owner": "%s", "denom": "PTEST/00001", "number_of_credits_to_buy": 2}}`, creditOwnerAddress.String()), + fmt.Sprintf(`{"buy_credits": {"owner": "%s", "denom": "PTEST/00001", "number_of_credits_to_buy": 2, "retire": false}}`, creditOwnerAddress.String()), fmt.Sprintf("--amount=%s%s", "3000000", sdk.DefaultBondDenom), fmt.Sprintf("--%s=%s", flags.FlagFrom, buyerKey.Name), fmt.Sprintf("--%s=%s", flags.FlagGas, "300000"),