aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/extensions
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-11 06:29:15 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-12-11 06:29:15 +0800
commit14ea4ee1d3fd1a34c1747b928d9b463787e603e7 (patch)
treeffb27bf62585418ba9c68362dcbfc37ffad6ac7a /contracts/extensions
parent6d523835aec2acf1a0bfaf35e08c6aeeba025dc1 (diff)
downloaddexon-sol-tools-14ea4ee1d3fd1a34c1747b928d9b463787e603e7.tar
dexon-sol-tools-14ea4ee1d3fd1a34c1747b928d9b463787e603e7.tar.gz
dexon-sol-tools-14ea4ee1d3fd1a34c1747b928d9b463787e603e7.tar.bz2
dexon-sol-tools-14ea4ee1d3fd1a34c1747b928d9b463787e603e7.tar.lz
dexon-sol-tools-14ea4ee1d3fd1a34c1747b928d9b463787e603e7.tar.xz
dexon-sol-tools-14ea4ee1d3fd1a34c1747b928d9b463787e603e7.tar.zst
dexon-sol-tools-14ea4ee1d3fd1a34c1747b928d9b463787e603e7.zip
Add coreArtifacts to forwarder wrapper
Diffstat (limited to 'contracts/extensions')
-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[],