hardhat-contract-sizer
Advanced tools
Comparing version
@@ -22,3 +22,2 @@ const fs = require('fs'); | ||
const NAME = 'size-contracts'; | ||
@@ -75,2 +74,6 @@ const DESC = 'Output the size of compiled contracts'; | ||
for (let contract of contracts) { | ||
if (!contract.size) { | ||
continue; | ||
} | ||
let name = contract.name; | ||
@@ -77,0 +80,0 @@ let size = (contract.size / 1024).toFixed(2); |
{ | ||
"name": "hardhat-contract-sizer", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Output Solidity contract sizes with Hardhat", |
6721
0.72%169
1.81%