Skip to content

Commit 5acd678

Browse files
committed
chore: bump contracts to master
Bump contracts to master branch. There was a change that allowed hardhat to have multiple blocks with the same timestamp, so this needed to be reflected in two tests.
1 parent 7c7871a commit 5acd678

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/contracts/testMarket.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ ethersuite "On-Chain Market":
548548
switchAccount(host)
549549
await market.reserveSlot(request.id, 0.uint64)
550550
await market.fillSlot(request.id, 0.uint64, proof, request.ask.collateralPerSlot)
551-
let filledAt = (await ethProvider.currentTime()) - 1.u256
551+
let filledAt = (await ethProvider.currentTime())
552552

553553
for slotIndex in 1 ..< request.ask.slots:
554554
await market.reserveSlot(request.id, slotIndex.uint64)
@@ -575,7 +575,7 @@ ethersuite "On-Chain Market":
575575
switchAccount(host)
576576
await market.reserveSlot(request.id, 0.uint64)
577577
await market.fillSlot(request.id, 0.uint64, proof, request.ask.collateralPerSlot)
578-
let filledAt = (await ethProvider.currentTime()) - 1.u256
578+
let filledAt = (await ethProvider.currentTime())
579579

580580
for slotIndex in 1 ..< request.ask.slots:
581581
await market.reserveSlot(request.id, slotIndex.uint64)

vendor/codex-contracts-eth

0 commit comments

Comments
 (0)