mirror of
https://github.com/codex-storage/codex-contracts-eth.git
synced 2025-01-10 03:45:41 +00:00
37004e0e1f
Adds ability for client to withdraw funds from a cancelled storage request. Tests to check if request has timed out, if the client address is requesting withdraw, if the request state is new, and the funds were successfully transferred.
6 lines
161 B
JavaScript
6 lines
161 B
JavaScript
async function waitUntilExpired(expiry) {
|
|
await ethers.provider.send("hardhat_mine", [ethers.utils.hexValue(expiry)])
|
|
}
|
|
|
|
module.exports = { waitUntilExpired }
|