From 0f152d333c635d049df8b0596fc2d629a79ddc16 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Thu, 17 Apr 2025 16:13:43 +1000 Subject: [PATCH] chore: bump contracts to master (#1197) 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. --- tests/contracts/testMarket.nim | 4 ++-- vendor/codex-contracts-eth | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/contracts/testMarket.nim b/tests/contracts/testMarket.nim index 068a4d2e..1d8095c7 100644 --- a/tests/contracts/testMarket.nim +++ b/tests/contracts/testMarket.nim @@ -548,7 +548,7 @@ ethersuite "On-Chain Market": switchAccount(host) await market.reserveSlot(request.id, 0.uint64) await market.fillSlot(request.id, 0.uint64, proof, request.ask.collateralPerSlot) - let filledAt = (await ethProvider.currentTime()) - 1.u256 + let filledAt = (await ethProvider.currentTime()) for slotIndex in 1 ..< request.ask.slots: await market.reserveSlot(request.id, slotIndex.uint64) @@ -575,7 +575,7 @@ ethersuite "On-Chain Market": switchAccount(host) await market.reserveSlot(request.id, 0.uint64) await market.fillSlot(request.id, 0.uint64, proof, request.ask.collateralPerSlot) - let filledAt = (await ethProvider.currentTime()) - 1.u256 + let filledAt = (await ethProvider.currentTime()) for slotIndex in 1 ..< request.ask.slots: await market.reserveSlot(request.id, slotIndex.uint64) diff --git a/vendor/codex-contracts-eth b/vendor/codex-contracts-eth index c00152e6..0bf13851 160000 --- a/vendor/codex-contracts-eth +++ b/vendor/codex-contracts-eth @@ -1 +1 @@ -Subproject commit c00152e6213a3ad4e6760a670213bfae22b0aabf +Subproject commit 0bf138512b7c1c3b8d77c48376e47f702e47106c