aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/coverage_subprovider.ts
diff options
context:
space:
mode:
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({