Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1583 from reserve-protocol/development
Browse files Browse the repository at this point in the history
Fix default gas limit for fake txs in TraceCollectionSubprovider
  • Loading branch information
LogvinovLeon authored Feb 5, 2019
2 parents 4b4bfee + d0b0c4a commit 4febabd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4febabd

Please sign in to comment.