diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-18 05:30:46 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-21 04:12:09 +0800 |
commit | a263e7dfce51d145dd616e29b7d027f25633e65a (patch) | |
tree | 6168d6694cf382b5ef41a1d1c43978aa893bc5e2 /packages/0x.js | |
parent | 756787c61fff9c6b463fbbd69b48210dafe62004 (diff) | |
download | dexon-sol-tools-a263e7dfce51d145dd616e29b7d027f25633e65a.tar dexon-sol-tools-a263e7dfce51d145dd616e29b7d027f25633e65a.tar.gz dexon-sol-tools-a263e7dfce51d145dd616e29b7d027f25633e65a.tar.bz2 dexon-sol-tools-a263e7dfce51d145dd616e29b7d027f25633e65a.tar.lz dexon-sol-tools-a263e7dfce51d145dd616e29b7d027f25633e65a.tar.xz dexon-sol-tools-a263e7dfce51d145dd616e29b7d027f25633e65a.tar.zst dexon-sol-tools-a263e7dfce51d145dd616e29b7d027f25633e65a.zip |
remove v2 contract artifacts
Diffstat (limited to 'packages/0x.js')
-rw-r--r-- | packages/0x.js/package.json | 4 | ||||
-rw-r--r-- | packages/0x.js/test/global_hooks.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index bbb902b49..63b271170 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -20,7 +20,7 @@ "build:all": "run-p build:umd:prod build:commonjs; exit 0;", "pre_build": "run-s update_artifacts generate_contract_wrappers", "copy_artifacts": "copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts", - "update_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json src/artifacts; done;", + "update_artifacts": "for i in ${npm_package_config_contracts}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-beta-testnet/$i.json src/artifacts; done;", "generate_contract_wrappers": "abi-gen --abis 'src/artifacts/@(ZRXToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers", "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/*", "test:circleci": "run-s test:coverage", @@ -38,7 +38,7 @@ "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" }, "config": { - "contracts": "ZRXToken", + "contracts": "ZRXToken AssetProxyOwner DummyERC20Token DummyERC721Token ERC20Proxy ERC721Proxy Exchange Forwarder WETH9", "postpublish": { "assets": [ "packages/0x.js/_bundles/index.js", diff --git a/packages/0x.js/test/global_hooks.ts b/packages/0x.js/test/global_hooks.ts index 364828231..7fd853008 100644 --- a/packages/0x.js/test/global_hooks.ts +++ b/packages/0x.js/test/global_hooks.ts @@ -12,6 +12,6 @@ before('migrate contracts', async function(): Promise<void> { gas: devConstants.GAS_LIMIT, from: devConstants.TESTRPC_FIRST_ADDRESS, }; - const artifactsDir = `../migrations/artifacts/2.0.0`; + const artifactsDir = `src/artifacts`; await runV2MigrationsAsync(provider, artifactsDir, txDefaults); }); |