Fix linting errors

This commit is contained in:
Amir Bandeali
2019-08-11 14:05:51 -07:00
parent 5016d50c2b
commit d6772b4a0a
2 changed files with 2 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ import "@0x/contracts-exchange-libs/contracts/src/LibFillResults.sol";
import "@0x/contracts-exchange-libs/contracts/src/LibMath.sol";
import "@0x/contracts/exchange/contracts/src/interfaces/IExchange.sol";
contract MixinExchangeWrapper is
LibFillResults,
LibMath,

View File

@@ -216,14 +216,13 @@ blockchainTests.resets('Exchange wrappers', env => {
signedOrder.signature,
{ from: takerAddress },
);
const txReceipt = await exchangeWrapper.fillOrderNoThrowAsync(signedOrder, takerAddress, {
await exchangeWrapper.fillOrderNoThrowAsync(signedOrder, takerAddress, {
takerAssetFillAmount,
// HACK(albrow): We need to hardcode the gas estimate here because
// the Geth gas estimator doesn't work with the way we use
// delegatecall and swallow errors.
gas: 250000,
});
console.log(txReceipt.gasUsed);
const newBalances = await erc20Wrapper.getBalancesAsync();
const makerAssetFilledAmount = takerAssetFillAmount