diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-23 04:21:44 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-23 06:27:17 +0800 |
commit | 06be580d2cbe7e3543d8c4deeb4d1c22b325e6a7 (patch) | |
tree | 0d18ddae918a3369bd83d84d3688063bc67e9549 /packages/contracts/src | |
parent | 6540343f456004549077f708f0d43533488fb4e4 (diff) | |
download | dexon-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/src')
-rw-r--r-- | packages/contracts/src/utils/web3_wrapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/web3_wrapper.ts b/packages/contracts/src/utils/web3_wrapper.ts index 5d3d9f7c9..02595506b 100644 --- a/packages/contracts/src/utils/web3_wrapper.ts +++ b/packages/contracts/src/utils/web3_wrapper.ts @@ -13,6 +13,7 @@ const providerConfigs = { shouldUseInProcessGanache: true }; export const provider = web3Factory.getRpcProvider(providerConfigs); const isCoverageEnabled = env.parseBoolean(EnvVars.SolidityCoverage); if (isCoverageEnabled) { - prependSubprovider(provider, coverage.getCoverageSubproviderSingleton()); + const coverageSubprovider = coverage.getCoverageSubproviderSingleton(); + prependSubprovider(provider, coverageSubprovider); } export const web3Wrapper = new Web3Wrapper(provider); |