diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-09-05 06:31:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 06:31:48 +0800 |
commit | 447f16fc4f2910b5a69f1c2f0b4122c295898b2f (patch) | |
tree | d1911de176ef55dfccbd1367927513c79766de56 /packages/contract-wrappers | |
parent | 3524efc41cacbd1de8f7006d231e21b9f55f2509 (diff) | |
parent | 176960924528379511d427d635d1506ba1e09bc9 (diff) | |
download | dexon-sol-tools-447f16fc4f2910b5a69f1c2f0b4122c295898b2f.tar dexon-sol-tools-447f16fc4f2910b5a69f1c2f0b4122c295898b2f.tar.gz dexon-sol-tools-447f16fc4f2910b5a69f1c2f0b4122c295898b2f.tar.bz2 dexon-sol-tools-447f16fc4f2910b5a69f1c2f0b4122c295898b2f.tar.lz dexon-sol-tools-447f16fc4f2910b5a69f1c2f0b4122c295898b2f.tar.xz dexon-sol-tools-447f16fc4f2910b5a69f1c2f0b4122c295898b2f.tar.zst dexon-sol-tools-447f16fc4f2910b5a69f1c2f0b4122c295898b2f.zip |
Merge pull request #1057 from 0xProject/deployment/copy-testnet-artifacts
Remove/rename/update all artifacts in preparation for v2 launch
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r-- | packages/contract-wrappers/package.json | 8 | ||||
-rw-r--r-- | packages/contract-wrappers/test/exchange_wrapper_test.ts | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 5d5c8069a..561de60ac 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -12,7 +12,7 @@ "types": "lib/src/index.d.ts", "scripts": { "build": "yarn pre_build && tsc -b", - "pre_build": "run-s update_artifacts_v2_beta update_artifacts_v2 generate_contract_wrappers copy_artifacts", + "pre_build": "run-s update_artifacts generate_contract_wrappers copy_artifacts", "generate_contract_wrappers": "abi-gen --abis 'src/artifacts/@(Exchange|DummyERC20Token|DummyERC721Token|ZRXToken|ERC20Token|ERC721Token|WETH9|ERC20Proxy|ERC721Proxy|Forwarder|OrderValidator).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers", "lint": "tslint --project . --exclude **/src/contract_wrappers/**/* --exclude **/lib/**/*", "test:circleci": "run-s test:coverage", @@ -20,16 +20,14 @@ "rebuild_and_test": "run-s build test", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", - "update_artifacts_v2_beta": "for i in ${npm_package_config_contracts_v2_beta}; do copyfiles -u 4 ../migrations/artifacts/2.0.0-beta-testnet/$i.json src/artifacts; done;", - "update_artifacts_v2": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json src/artifacts; done;", + "update_artifacts": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json src/artifacts; done;", "copy_artifacts": "copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts", "clean": "shx rm -rf _bundles lib test_temp test/artifacts src/contract_wrappers/generated src/artifacts generated_docs", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { - "contracts_v2_beta": "AssetProxyOwner Exchange ERC20Proxy ERC20Token ERC721Proxy ERC721Token WETH9 ZRXToken Forwarder OrderValidator", - "contracts_v2": "DummyERC20Token DummyERC721Token", + "contracts_v2": "AssetProxyOwner Exchange ERC20Proxy ERC20Token ERC721Proxy ERC721Token WETH9 ZRXToken Forwarder OrderValidator DummyERC20Token DummyERC721Token", "postpublish": { "assets": [] } diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts index 6762c1d43..b3bd7c633 100644 --- a/packages/contract-wrappers/test/exchange_wrapper_test.ts +++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts @@ -358,7 +358,7 @@ describe('ExchangeWrapper', () => { describe('#getVersionAsync', () => { it('should return version the hash', async () => { const version = await contractWrappers.exchange.getVersionAsync(); - const VERSION = '2.0.1-alpha'; + const VERSION = '2.0.0'; expect(version).to.be.equal(VERSION); }); }); |