Fix linting errors
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user