refactor: marketplace custom errors handling

This commit is contained in:
Adam Uhlíř 2025-01-07 09:04:05 +01:00 committed by Eric
parent c05c008286
commit b588e00a69
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -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*(

@ -1 +1 @@
Subproject commit f1e674f91c9f104bb4d7e15d4a940f755c51d818
Subproject commit 73b1b6cfc43538d45233fb7c0978b1b9470c3d18