diff --git a/packages/contracts/src/utils/erc20_wrapper.ts b/packages/contracts/src/utils/erc20_wrapper.ts index 451f165135..7f00e20610 100644 --- a/packages/contracts/src/utils/erc20_wrapper.ts +++ b/packages/contracts/src/utils/erc20_wrapper.ts @@ -94,6 +94,7 @@ export class ERC20Wrapper { await tokenContract.setBalance.sendTransactionAsync(userAddress, amount, { from: this._contractOwnerAddress, }), + constants.AWAIT_TRANSACTION_MINED_MS, ); } public async getProxyAllowanceAsync(userAddress: string, assetData: string): Promise { @@ -109,6 +110,7 @@ export class ERC20Wrapper { await tokenContract.approve.sendTransactionAsync(proxyAddress, amount, { from: userAddress, }), + constants.AWAIT_TRANSACTION_MINED_MS, ); } public async getBalancesAsync(): Promise {