diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-11 06:29:15 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:19:32 +0800 |
commit | cb53cd05e62b1904184ec14862e48383f80b9c54 (patch) | |
tree | 929aeefa66695dc3804b31e2d9b34830135f314b | |
parent | 982d59d45d811451e385af80c410ced1d068adb0 (diff) | |
download | dexon-sol-tools-cb53cd05e62b1904184ec14862e48383f80b9c54.tar dexon-sol-tools-cb53cd05e62b1904184ec14862e48383f80b9c54.tar.gz dexon-sol-tools-cb53cd05e62b1904184ec14862e48383f80b9c54.tar.bz2 dexon-sol-tools-cb53cd05e62b1904184ec14862e48383f80b9c54.tar.lz dexon-sol-tools-cb53cd05e62b1904184ec14862e48383f80b9c54.tar.xz dexon-sol-tools-cb53cd05e62b1904184ec14862e48383f80b9c54.tar.zst dexon-sol-tools-cb53cd05e62b1904184ec14862e48383f80b9c54.zip |
Add coreArtifacts to forwarder wrapper
-rw-r--r-- | contracts/extensions/test/utils/forwarder_wrapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contracts/extensions/test/utils/forwarder_wrapper.ts b/contracts/extensions/test/utils/forwarder_wrapper.ts index 4c78ecd79..767a81ca6 100644 --- a/contracts/extensions/test/utils/forwarder_wrapper.ts +++ b/contracts/extensions/test/utils/forwarder_wrapper.ts @@ -1,3 +1,4 @@ +import { artifacts as coreArtifacts } from '@0x/contracts-core'; import { constants, formatters, LogDecoder, MarketSellOrders } from '@0x/contracts-test-utils'; import { artifacts as tokensArtifacts } from '@0x/contracts-tokens'; import { SignedOrder } from '@0x/types'; @@ -59,7 +60,7 @@ export class ForwarderWrapper { constructor(contractInstance: ForwarderContract, provider: Provider) { this._forwarderContract = contractInstance; this._web3Wrapper = new Web3Wrapper(provider); - this._logDecoder = new LogDecoder(this._web3Wrapper, { ...artifacts, ...tokensArtifacts }); + this._logDecoder = new LogDecoder(this._web3Wrapper, { ...artifacts, ...tokensArtifacts, ...coreArtifacts }); } public async marketSellOrdersWithEthAsync( orders: SignedOrder[], |