Socket
Socket
Sign inDemoInstall

eth-gas-reporter

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-gas-reporter - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

6

CHANGELOG.md
## 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 @@ ================

3

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc