diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-02-05 19:28:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 19:28:05 +0800 |
commit | 4febabd3e7ae5e3029a46c80e8735b05517f2bb5 (patch) | |
tree | 33c1ec602f6192e856c2622e8bd0e6dfd3f1e49d /packages/sol-tracing-utils | |
parent | 4b4bfee1bcff72aa9a1501d7a14ecf0cd8fe4e32 (diff) | |
parent | d0b0c4a917601f6ca02dda6336f256850ab3941b (diff) | |
download | dexon-0x-contracts-4febabd3e7ae5e3029a46c80e8735b05517f2bb5.tar dexon-0x-contracts-4febabd3e7ae5e3029a46c80e8735b05517f2bb5.tar.gz dexon-0x-contracts-4febabd3e7ae5e3029a46c80e8735b05517f2bb5.tar.bz2 dexon-0x-contracts-4febabd3e7ae5e3029a46c80e8735b05517f2bb5.tar.lz dexon-0x-contracts-4febabd3e7ae5e3029a46c80e8735b05517f2bb5.tar.xz 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
Diffstat (limited to 'packages/sol-tracing-utils')
-rw-r--r-- | packages/sol-tracing-utils/src/trace_collection_subprovider.ts | 2 |
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, |