aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-11 06:29:15 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:19:32 +0800
commitcb53cd05e62b1904184ec14862e48383f80b9c54 (patch)
tree929aeefa66695dc3804b31e2d9b34830135f314b
parent982d59d45d811451e385af80c410ced1d068adb0 (diff)
downloaddexon-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.ts3
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[],