mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-08 16:33:11 +00:00
refactor: marketplace custom errors handling
This commit is contained in:
parent
c05c008286
commit
b588e00a69
@ -485,7 +485,8 @@ method queryPastSlotFilledEvents*(
|
|||||||
market: OnChainMarket, fromTime: SecondsSince1970
|
market: OnChainMarket, fromTime: SecondsSince1970
|
||||||
): Future[seq[SlotFilled]] {.async.} =
|
): Future[seq[SlotFilled]] {.async.} =
|
||||||
convertEthersError:
|
convertEthersError:
|
||||||
let fromBlock = await market.contract.provider.blockNumberForEpoch(fromTime)
|
let fromBlock =
|
||||||
|
await market.contract.provider.blockNumberForEpoch(fromTime)
|
||||||
return await market.queryPastSlotFilledEvents(BlockTag.init(fromBlock))
|
return await market.queryPastSlotFilledEvents(BlockTag.init(fromBlock))
|
||||||
|
|
||||||
method queryPastStorageRequestedEvents*(
|
method queryPastStorageRequestedEvents*(
|
||||||
|
|||||||
2
vendor/codex-contracts-eth
vendored
2
vendor/codex-contracts-eth
vendored
@ -1 +1 @@
|
|||||||
Subproject commit f1e674f91c9f104bb4d7e15d4a940f755c51d818
|
Subproject commit 73b1b6cfc43538d45233fb7c0978b1b9470c3d18
|
||||||
Loading…
x
Reference in New Issue
Block a user