mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00: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", 900)}},
|
||||||
bidArgs{buyer, c("token2", 1000)}, // buyer only has enough to cover the increase from previous bid
|
bidArgs{buyer, c("token2", 1000)}, // buyer only has enough to cover the increase from previous bid
|
||||||
nil,
|
nil,
|
||||||
someTime.Add(types.DefaultBidDuration),
|
someTime.Add(types.DefaultForwardBidDuration),
|
||||||
buyer,
|
buyer,
|
||||||
c("token2", 1000),
|
c("token2", 1000),
|
||||||
true,
|
true,
|
||||||
@ -433,7 +433,7 @@ func TestAuctionBidding(t *testing.T) {
|
|||||||
[]bidArgs{{buyer, c("token2", 1000)}},
|
[]bidArgs{{buyer, c("token2", 1000)}},
|
||||||
bidArgs{buyer, c("token1", 100)}, // buyer has already bid all of their token2
|
bidArgs{buyer, c("token1", 100)}, // buyer has already bid all of their token2
|
||||||
nil,
|
nil,
|
||||||
someTime.Add(types.DefaultBidDuration),
|
someTime.Add(types.DefaultReverseBidDuration),
|
||||||
buyer,
|
buyer,
|
||||||
c("token2", 1000),
|
c("token2", 1000),
|
||||||
true,
|
true,
|
||||||
|
Loading…
Reference in New Issue
Block a user