Fix artifacts paths
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -77,7 +77,7 @@ bin/
 | 
			
		||||
packages/sol-cov/test/fixtures/artifacts
 | 
			
		||||
packages/metacoin/artifacts
 | 
			
		||||
packages/0x.js/test/artifacts
 | 
			
		||||
packages/migrations/src/artifacts
 | 
			
		||||
packages/migrations/artifacts/1.0.0
 | 
			
		||||
 | 
			
		||||
# generated contract wrappers
 | 
			
		||||
packages/0x.js/src/contract_wrappers/generated/
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,6 @@ lib
 | 
			
		||||
.nyc_output
 | 
			
		||||
/packages/contracts/src/artifacts
 | 
			
		||||
/packages/metacoin/artifacts
 | 
			
		||||
/packages/migrations/src/artifacts
 | 
			
		||||
/packages/migrations/artifacts/1.0.0
 | 
			
		||||
package.json
 | 
			
		||||
scripts/postpublish_utils.js
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
    "scripts": {
 | 
			
		||||
        "build:watch": "tsc -w",
 | 
			
		||||
        "prebuild": "run-s clean compile copy_artifacts generate_contract_wrappers",
 | 
			
		||||
        "copy_artifacts": "copyfiles -u 4 '../migrations/src/artifacts/**/*' ./lib/src/artifacts;",
 | 
			
		||||
        "copy_artifacts": "copyfiles -u 4 '../migrations/artifacts/1.0.0/**/*' ./lib/src/artifacts;",
 | 
			
		||||
        "build": "tsc",
 | 
			
		||||
        "test": "run-s build run_mocha",
 | 
			
		||||
        "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov",
 | 
			
		||||
@@ -26,7 +26,7 @@
 | 
			
		||||
        "test:circleci": "yarn test:coverage"
 | 
			
		||||
    },
 | 
			
		||||
    "config": {
 | 
			
		||||
        "abis": "../migrations/src/artifacts/@(DummyToken|TokenTransferProxy|Exchange|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken|Arbitrage|EtherDelta|AccountLevels).json"
 | 
			
		||||
        "abis": "../migrations/artifacts/1.0.0/@(DummyToken|TokenTransferProxy|Exchange|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken|Arbitrage|EtherDelta|AccountLevels).json"
 | 
			
		||||
    },
 | 
			
		||||
    "repository": {
 | 
			
		||||
        "type": "git",
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@ export const coverage = {
 | 
			
		||||
        return coverageSubprovider;
 | 
			
		||||
    },
 | 
			
		||||
    _getCoverageSubprovider(): CoverageSubprovider {
 | 
			
		||||
        const artifactsPath = '../migrations/src/artifacts';
 | 
			
		||||
        const artifactsPath = '../migrations/artifacts/1.0.0';
 | 
			
		||||
        const contractsPath = 'src/contracts';
 | 
			
		||||
        const networkId = 50;
 | 
			
		||||
        const defaultFromAddress = constants.TESTRPC_FIRST_ADDRESS;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user