eth-gas-reporter
Advanced tools
Comparing version 0.0.8 to 0.0.9
## Changelog: eth-gas-reporter | ||
0.0.8 / 2017-10-22 | ||
================= | ||
* Filter method calls that throw from the stats | ||
* Add deployment stats | ||
* Add number of calls column | ||
0.0.6 / 2017-10-14 | ||
@@ -4,0 +10,0 @@ ================ |
@@ -61,4 +61,5 @@ const mocha = require('mocha') | ||
const receipt = web3.eth.getTransactionReceipt(tx); | ||
const threw = receipt.gasUsed === transaction.gas; // Change this @ Byzantium | ||
if (receipt.contractAddress){ | ||
if (receipt.contractAddress && !threw){ | ||
const match = deployMap.filter(contract => { | ||
@@ -65,0 +66,0 @@ return (transaction.input.indexOf(contract.binary) === 0) |
{ | ||
"name": "eth-gas-reporter", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Mocha reporter which shows gas used per unit test.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
{ | ||
"name": "eth-gas-reporter", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Mocha reporter which shows gas used per unit test.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30683
566