From d130608f672983cb65acfbddc89976747a417aac Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Tue, 19 Aug 2025 12:58:55 +0800 Subject: [PATCH] patch system test --- tests/system/auction_test.go | 11 ++++++----- tests/system/bond_test.go | 3 +-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/system/auction_test.go b/tests/system/auction_test.go index 7a9a8572..d5097d1f 100644 --- a/tests/system/auction_test.go +++ b/tests/system/auction_test.go @@ -122,11 +122,11 @@ func (s *auctionSuite) createAuction() string { "tx", "auction", "create", sampleCommitTime, sampleRevealTime, - fmt.Sprintf("10%s", s.bondDenom), - fmt.Sprintf("10%s", s.bondDenom), + "10" + s.bondDenom, + "10" + s.bondDenom, "--kind", auction.AuctionKindVickrey, - "--minimum-bid", fmt.Sprintf("100%s", s.bondDenom), - "--max-price", fmt.Sprintf("0%s", s.bondDenom), + "--minimum-bid", "100" + s.bondDenom, + "--max-price", "0" + s.bondDenom, "--num-providers", "0", } s.runTx(cmd, false) @@ -140,7 +140,8 @@ func (s *auctionSuite) createAuction() string { func (s *auctionSuite) createBid(auctionId string) { cmd := []string{ "tx", "auction", "commit-bid", - auctionId, fmt.Sprintf("200%s", s.bondDenom), + auctionId, + "200" + s.bondDenom, fmt.Sprintf("--%s=%s", flags.FlagFrom, s.bidderAccount), } s.runTx(cmd, false) diff --git a/tests/system/bond_test.go b/tests/system/bond_test.go index 63effcdd..752a4c77 100644 --- a/tests/system/bond_test.go +++ b/tests/system/bond_test.go @@ -2,7 +2,6 @@ package system import ( "encoding/json" - "fmt" "testing" "git.vdb.to/cerc-io/laconicd/x/bond" @@ -59,7 +58,7 @@ func (s *bondSuite) TestTxCreateBond() { { "create bond", []string{ - fmt.Sprintf("10%s", s.bondDenom), + "10" + s.bondDenom, }, false, },