diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-05 00:14:48 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-05 00:14:48 +0800 |
commit | 1ad395cf86b2006c09bdae814607c2baf9790b91 (patch) | |
tree | d05ed1febd8979b7967a42faaed45c3dd10356dd /test/utils | |
parent | 1c2d4cbb1af9a5d4442857def622dc8068086953 (diff) | |
download | dexon-sol-tools-1ad395cf86b2006c09bdae814607c2baf9790b91.tar dexon-sol-tools-1ad395cf86b2006c09bdae814607c2baf9790b91.tar.gz dexon-sol-tools-1ad395cf86b2006c09bdae814607c2baf9790b91.tar.bz2 dexon-sol-tools-1ad395cf86b2006c09bdae814607c2baf9790b91.tar.lz dexon-sol-tools-1ad395cf86b2006c09bdae814607c2baf9790b91.tar.xz dexon-sol-tools-1ad395cf86b2006c09bdae814607c2baf9790b91.tar.zst dexon-sol-tools-1ad395cf86b2006c09bdae814607c2baf9790b91.zip |
Make the functions immidiately return txHash instead of awaiting for a transaction to be mined
Diffstat (limited to 'test/utils')
-rw-r--r-- | test/utils/blockchain_lifecycle.ts | 3 |
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; + } } |