aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/coverage_subprovider.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-13 18:53:45 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-13 18:53:45 +0800
commitefb0ee4c02e3a8048ae2395158f11dced8c5f90e (patch)
treef256c045be6d224311372d1488fba42b2103b08a /packages/sol-cov/src/coverage_subprovider.ts
parent88c6694ffc74d836e2f193d415eec426e11ddbc7 (diff)
downloaddexon-sol-tools-efb0ee4c02e3a8048ae2395158f11dced8c5f90e.tar
dexon-sol-tools-efb0ee4c02e3a8048ae2395158f11dced8c5f90e.tar.gz
dexon-sol-tools-efb0ee4c02e3a8048ae2395158f11dced8c5f90e.tar.bz2
dexon-sol-tools-efb0ee4c02e3a8048ae2395158f11dced8c5f90e.tar.lz
dexon-sol-tools-efb0ee4c02e3a8048ae2395158f11dced8c5f90e.tar.xz
dexon-sol-tools-efb0ee4c02e3a8048ae2395158f11dced8c5f90e.tar.zst
dexon-sol-tools-efb0ee4c02e3a8048ae2395158f11dced8c5f90e.zip
Start using solidity-parser-antlr
Diffstat (limited to 'packages/sol-cov/src/coverage_subprovider.ts')
-rw-r--r--packages/sol-cov/src/coverage_subprovider.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-cov/src/coverage_subprovider.ts b/packages/sol-cov/src/coverage_subprovider.ts
index ba7552fe6..71d90bba7 100644
--- a/packages/sol-cov/src/coverage_subprovider.ts
+++ b/packages/sol-cov/src/coverage_subprovider.ts
@@ -137,9 +137,9 @@ export class CoverageSubprovider extends Subprovider {
await this._lock.acquire();
const snapshotId = Number((await this.emitPayloadAsync({ method: 'evm_snapshot' })).result);
const fakeTxData: MaybeFakeTxData = {
- from: this._defaultFromAddress,
isFakeTransaction: true, // This transaction (and only it) is allowed to come through when the lock is locked
...callData,
+ from: callData.from || this._defaultFromAddress,
};
try {
await this.emitPayloadAsync({