Comments (3)
Fixed in version 2.0.3
.
from hardhat-contract-sizer.
Does #2 correctly resolve this? I'm not especially familiar with libraries. Can confirm that the non-hex characters were causing problems with the buffer length.
from hardhat-contract-sizer.
Yeah! Looks good. I swapped that change into my local node_modules copy and got what I was expecting.
deployedBytecode.length --> 42842 // String
size --> 21421 // Buffer
from hardhat-contract-sizer.
Related Issues (20)
- Inconsistency between hardhat sizer & manual computation HOT 2
- Support for NPM? HOT 2
- Add feature to skip files HOT 3
- Add feature to fail the command when contract size exceeds HOT 3
- Disable `strict` option when `hardhat-coverage` is in use HOT 9
- Sometimes Sizer/Compiler will give me different compile sizes in Test v's Coverage - hardhat deploy project HOT 3
- Seeing red for contract size less than 24.576kb HOT 4
- Can you get contract size with low-run compiler? HOT 1
- Rename `disambiguatePaths` option to `flat` (with inverse behavior)
- Contracts are repeating twice, not sure why... HOT 1
- Hardhat and Truffle output different contract sizes HOT 1
- Display contract sizes in KiB rather than KB HOT 5
- Uncompiled Internal Functions HOT 2
- Cache size data by commit hash, and enable direct commit comparison via CLI
- Contract size issue HOT 1
- Display appropriate compiler metadata when multiple compilers are in use
- Testing - Include a hardhat test project HOT 1
- Skip `runOnCompile` if no files have been changed
- Support EIP3860 after Shanghai upgrade HOT 1
- Validate initcode size HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hardhat-contract-sizer.