aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-02-05 19:28:05 +0800
committerGitHub <noreply@github.com>2019-02-05 19:28:05 +0800
commit4febabd3e7ae5e3029a46c80e8735b05517f2bb5 (patch)
tree33c1ec602f6192e856c2622e8bd0e6dfd3f1e49d
parent4b4bfee1bcff72aa9a1501d7a14ecf0cd8fe4e32 (diff)
parentd0b0c4a917601f6ca02dda6336f256850ab3941b (diff)
downloaddexon-0x-contracts-4febabd3e7ae5e3029a46c80e8735b05517f2bb5.tar.gz
dexon-0x-contracts-4febabd3e7ae5e3029a46c80e8735b05517f2bb5.tar.zst
dexon-0x-contracts-4febabd3e7ae5e3029a46c80e8735b05517f2bb5.zip
Merge pull request #1583 from reserve-protocol/development
Fix default gas limit for fake txs in TraceCollectionSubprovider
-rw-r--r--packages/sol-tracing-utils/src/trace_collection_subprovider.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-tracing-utils/src/trace_collection_subprovider.ts b/packages/sol-tracing-utils/src/trace_collection_subprovider.ts
index 99f32335c..7fde1f9b8 100644
--- a/packages/sol-tracing-utils/src/trace_collection_subprovider.ts
+++ b/packages/sol-tracing-utils/src/trace_collection_subprovider.ts
@@ -199,7 +199,7 @@ export abstract class TraceCollectionSubprovider extends Subprovider {
const blockchainLifecycle = new BlockchainLifecycle(this._web3Wrapper);
await blockchainLifecycle.startAsync();
const fakeTxData = {
- gas: BLOCK_GAS_LIMIT.toString(16), // tslint:disable-line:custom-no-magic-numbers
+ gas: `0x${BLOCK_GAS_LIMIT.toString(16)}`, // tslint:disable-line:custom-no-magic-numbers
isFakeTransaction: true, // This transaction (and only it) is allowed to come through when the lock is locked
...callData,
from: callData.from || this._defaultFromAddress,