|
|
@ -134,9 +134,10 @@ export class TxRunner { |
|
|
|
coinbase: coinbases[self.blockNumber % coinbases.length], |
|
|
|
coinbase: coinbases[self.blockNumber % coinbases.length], |
|
|
|
difficulty: difficulties[self.blockNumber % difficulties.length], |
|
|
|
difficulty: difficulties[self.blockNumber % difficulties.length], |
|
|
|
gasLimit: new BN(gasLimit.replace('0x', ''), 16).imuln(2) |
|
|
|
gasLimit: new BN(gasLimit.replace('0x', ''), 16).imuln(2) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
transactions: [tx] |
|
|
|
}, { common: this.commonContext }) |
|
|
|
}, { common: this.commonContext }) |
|
|
|
|
|
|
|
|
|
|
|
if (!useCall) { |
|
|
|
if (!useCall) { |
|
|
|
++self.blockNumber |
|
|
|
++self.blockNumber |
|
|
|
this.runBlockInVm(tx, block, callback) |
|
|
|
this.runBlockInVm(tx, block, callback) |
|
|
|