From d6772b4a0aaa9accbef6a9ae807f38e398355e16 Mon Sep 17 00:00:00 2001 From: Amir Bandeali Date: Sun, 11 Aug 2019 14:05:51 -0700 Subject: [PATCH] Fix linting errors --- .../exchange-forwarder/contracts/src/MixinExchangeWrapper.sol | 1 + contracts/exchange/test/wrapper.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/exchange-forwarder/contracts/src/MixinExchangeWrapper.sol b/contracts/exchange-forwarder/contracts/src/MixinExchangeWrapper.sol index 8372ddaa37..7054d3be44 100644 --- a/contracts/exchange-forwarder/contracts/src/MixinExchangeWrapper.sol +++ b/contracts/exchange-forwarder/contracts/src/MixinExchangeWrapper.sol @@ -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, diff --git a/contracts/exchange/test/wrapper.ts b/contracts/exchange/test/wrapper.ts index 0228ce4ced..dc88f73698 100644 --- a/contracts/exchange/test/wrapper.ts +++ b/contracts/exchange/test/wrapper.ts @@ -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