aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/blockchain_lifecycle.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 00:14:48 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 00:14:48 +0800
commit1ad395cf86b2006c09bdae814607c2baf9790b91 (patch)
treed05ed1febd8979b7967a42faaed45c3dd10356dd /test/utils/blockchain_lifecycle.ts
parent1c2d4cbb1af9a5d4442857def622dc8068086953 (diff)
downloaddexon-0x-contracts-1ad395cf86b2006c09bdae814607c2baf9790b91.tar.gz
dexon-0x-contracts-1ad395cf86b2006c09bdae814607c2baf9790b91.tar.zst
dexon-0x-contracts-1ad395cf86b2006c09bdae814607c2baf9790b91.zip
Make the functions immidiately return txHash instead of awaiting for a transaction to be mined
Diffstat (limited to 'test/utils/blockchain_lifecycle.ts')
-rw-r--r--test/utils/blockchain_lifecycle.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/utils/blockchain_lifecycle.ts b/test/utils/blockchain_lifecycle.ts
index 50eb57b95..b4f742e63 100644
--- a/test/utils/blockchain_lifecycle.ts
+++ b/test/utils/blockchain_lifecycle.ts
@@ -17,4 +17,7 @@ export class BlockchainLifecycle {
throw new Error(`Snapshot with id #${this.snapshotId} failed to revert`);
}
}
+ public async waitUntilMinedAsync(txHash: string): Promise<void> {
+ return undefined;
+ }
}