patch system test

This commit is contained in:
2025-12-04 14:58:14 +08:00
parent 33574a8f89
commit d130608f67
2 changed files with 7 additions and 7 deletions
+6 -5
View File
@@ -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)
+1 -2
View File
@@ -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,
},