mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-06 03:19:30 +00:00
contracts: fix test by increasing block timestamp
Hardhat now has the "allowBlocksWithSameTimestamp" property set, which made the test fail. Fixed by explicitly increasing the timestamp in the test.
This commit is contained in:
parent
af6f7bb825
commit
46ca467449
@ -458,6 +458,8 @@ ethersuite "On-Chain Market":
|
||||
|
||||
let (_, fromTime) = await ethProvider.blockNumberAndTimestamp(BlockTag.latest)
|
||||
|
||||
await ethProvider.advanceTime(1.u256)
|
||||
|
||||
await market.reserveSlot(request.id, 1.uint64)
|
||||
await market.reserveSlot(request.id, 2.uint64)
|
||||
await market.fillSlot(request.id, 1.uint64, proof, request.ask.collateralPerSlot)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user