mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
fix: use new bid duration params for same-bidder tests (#1163)
This commit is contained in:
parent
e526fd1639
commit
c76b5f98b7
@ -349,7 +349,7 @@ func TestAuctionBidding(t *testing.T) {
|
||||
[]bidArgs{{buyer, c("token2", 900)}},
|
||||
bidArgs{buyer, c("token2", 1000)}, // buyer only has enough to cover the increase from previous bid
|
||||
nil,
|
||||
someTime.Add(types.DefaultBidDuration),
|
||||
someTime.Add(types.DefaultForwardBidDuration),
|
||||
buyer,
|
||||
c("token2", 1000),
|
||||
true,
|
||||
@ -433,7 +433,7 @@ func TestAuctionBidding(t *testing.T) {
|
||||
[]bidArgs{{buyer, c("token2", 1000)}},
|
||||
bidArgs{buyer, c("token1", 100)}, // buyer has already bid all of their token2
|
||||
nil,
|
||||
someTime.Add(types.DefaultBidDuration),
|
||||
someTime.Add(types.DefaultReverseBidDuration),
|
||||
buyer,
|
||||
c("token2", 1000),
|
||||
true,
|
||||
|
Loading…
Reference in New Issue
Block a user