From b588e00a6936194d64e91cf39a0577cb82a67034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Tue, 7 Jan 2025 09:04:05 +0100 Subject: [PATCH] refactor: marketplace custom errors handling --- codex/contracts/market.nim | 3 ++- vendor/codex-contracts-eth | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/codex/contracts/market.nim b/codex/contracts/market.nim index 9157b269..d06fb117 100644 --- a/codex/contracts/market.nim +++ b/codex/contracts/market.nim @@ -485,7 +485,8 @@ method queryPastSlotFilledEvents*( market: OnChainMarket, fromTime: SecondsSince1970 ): Future[seq[SlotFilled]] {.async.} = convertEthersError: - let fromBlock = await market.contract.provider.blockNumberForEpoch(fromTime) + let fromBlock = + await market.contract.provider.blockNumberForEpoch(fromTime) return await market.queryPastSlotFilledEvents(BlockTag.init(fromBlock)) method queryPastStorageRequestedEvents*( diff --git a/vendor/codex-contracts-eth b/vendor/codex-contracts-eth index f1e674f9..73b1b6cf 160000 --- a/vendor/codex-contracts-eth +++ b/vendor/codex-contracts-eth @@ -1 +1 @@ -Subproject commit f1e674f91c9f104bb4d7e15d4a940f755c51d818 +Subproject commit 73b1b6cfc43538d45233fb7c0978b1b9470c3d18