aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/utils/coverage.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 04:21:44 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-23 06:27:17 +0800
commit06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7 (patch)
tree0d18ddae918a3369bd83d84d3688063bc67e9549 /packages/contracts/test/utils/coverage.ts
parent6540343f456004549077f708f0d43533488fb4e4 (diff)
downloaddexon-sol-tools-06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7.tar
dexon-sol-tools-06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7.tar.gz
dexon-sol-tools-06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7.tar.bz2
dexon-sol-tools-06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7.tar.lz
dexon-sol-tools-06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7.tar.xz
dexon-sol-tools-06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7.tar.zst
dexon-sol-tools-06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7.zip
Fix a bug in CALL-like opcode handling
Diffstat (limited to 'packages/contracts/test/utils/coverage.ts')
-rw-r--r--packages/contracts/test/utils/coverage.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/test/utils/coverage.ts b/packages/contracts/test/utils/coverage.ts
index eeb47667f..3b2a8d7b2 100644
--- a/packages/contracts/test/utils/coverage.ts
+++ b/packages/contracts/test/utils/coverage.ts
@@ -16,8 +16,8 @@ export const coverage = {
const defaultFromAddress = devConstants.TESTRPC_FIRST_ADDRESS;
const CONFIG_FILE = 'compiler.json';
const config = JSON.parse(fs.readFileSync(CONFIG_FILE).toString());
- const zeroExArtifactsAdapter = new SolCompilerArtifactAdapter(config.artifactsDir, config.contractsDir);
- const coverageSubrpovider = new CoverageSubprovider(zeroExArtifactsAdapter, defaultFromAddress);
- return coverageSubprovider;
+ const solCompilerArtifactAdapter = new SolCompilerArtifactAdapter(config.artifactsDir, config.contractsDir);
+ const subprovider = new CoverageSubprovider(solCompilerArtifactAdapter, defaultFromAddress);
+ return subprovider;
},
};