diff options
author | Jacob Evans <jacob@dekz.net> | 2018-07-09 14:50:26 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-07-11 18:16:59 +0800 |
commit | 81b4f4928d1125ebe1900aef597cbe99f5c349bc (patch) | |
tree | e237656f362fd669ea23dccd482a54b745576f2c /packages/contracts | |
parent | dd77a38535230df7ce92c29dbbdd00938ccc1edb (diff) | |
download | dexon-sol-tools-81b4f4928d1125ebe1900aef597cbe99f5c349bc.tar.gz dexon-sol-tools-81b4f4928d1125ebe1900aef597cbe99f5c349bc.tar.zst dexon-sol-tools-81b4f4928d1125ebe1900aef597cbe99f5c349bc.zip |
Remove extra ERC20ProxyId from Forwarder constructor
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/src/2.0.0/forwarder/Forwarder.sol | 1 | ||||
-rw-r--r-- | packages/contracts/test/forwarder/forwarder.ts | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/contracts/src/2.0.0/forwarder/Forwarder.sol b/packages/contracts/src/2.0.0/forwarder/Forwarder.sol index fc17a4c72..546e7f22c 100644 --- a/packages/contracts/src/2.0.0/forwarder/Forwarder.sol +++ b/packages/contracts/src/2.0.0/forwarder/Forwarder.sol @@ -40,7 +40,6 @@ contract Forwarder is address _exchange, address _etherToken, address _zrxToken, - bytes4 _erc20AssetProxyId, bytes memory _zrxAssetData, bytes memory _wethAssetData ) diff --git a/packages/contracts/test/forwarder/forwarder.ts b/packages/contracts/test/forwarder/forwarder.ts index b4555d417..f0bf6ac03 100644 --- a/packages/contracts/test/forwarder/forwarder.ts +++ b/packages/contracts/test/forwarder/forwarder.ts @@ -1,6 +1,6 @@ import { BlockchainLifecycle } from '@0xproject/dev-utils'; import { assetProxyUtils } from '@0xproject/order-utils'; -import { AssetProxyId, RevertReason, SignedOrder } from '@0xproject/types'; +import { RevertReason, SignedOrder } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; @@ -131,7 +131,6 @@ describe(ContractName.Forwarder, () => { exchangeInstance.address, wethContract.address, zrxToken.address, - AssetProxyId.ERC20, zrxAssetData, wethAssetData, ); |