aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-30 06:21:00 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-30 06:21:00 +0800
commit1e4c3ed22b2409c0f9581cbd763bd1abc4ddcc33 (patch)
tree755fc0726a47c5d32c5a23acb8a0bbb9cef25881 /packages
parent8623a30763e5be68992779c5152e728ae77182b7 (diff)
downloaddexon-sol-tools-1e4c3ed22b2409c0f9581cbd763bd1abc4ddcc33.tar
dexon-sol-tools-1e4c3ed22b2409c0f9581cbd763bd1abc4ddcc33.tar.gz
dexon-sol-tools-1e4c3ed22b2409c0f9581cbd763bd1abc4ddcc33.tar.bz2
dexon-sol-tools-1e4c3ed22b2409c0f9581cbd763bd1abc4ddcc33.tar.lz
dexon-sol-tools-1e4c3ed22b2409c0f9581cbd763bd1abc4ddcc33.tar.xz
dexon-sol-tools-1e4c3ed22b2409c0f9581cbd763bd1abc4ddcc33.tar.zst
dexon-sol-tools-1e4c3ed22b2409c0f9581cbd763bd1abc4ddcc33.zip
Change getTransactionReceipt to awaitTransactionMined
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/utils/assertions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/assertions.ts b/packages/contracts/src/utils/assertions.ts
index 2ba8f9fb1..baba892d3 100644
--- a/packages/contracts/src/utils/assertions.ts
+++ b/packages/contracts/src/utils/assertions.ts
@@ -74,7 +74,7 @@ export async function expectRevertReasonOrAlwaysFailingTransactionAsync(
let txReceiptStatus: string | 0 | 1 | null;
if (typeof result === 'string') {
// Result is a txHash. We need to make a web3 call to get the receipt.
- const txReceipt = await web3Wrapper.getTransactionReceiptAsync(result);
+ const txReceipt = await web3Wrapper.awaitTransactionMinedAsync(result);
txReceiptStatus = txReceipt.status;
} else if ('status' in result) {
// Result is a TransactionReceiptWithDecodedLogs or TransactionReceipt