1.0.1 • Published 5 years ago

solidity-compiler-check v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

solidity-compiler-check

Checks for known issues with the solidity compiler

Install

npm i -g solidity-compiler-check

Usage

solidity-compiler-check [filename.sol || file path]

Example output:

File name: C:\test.sol, Version: 0.4.23
┌───────────────────────────┬───────────────────────────────────────────────────────────────────────────────┬─────────────┐
│ Name                      │ Link                                                                          │ Severity    │
├───────────────────────────┼───────────────────────────────────────────────────────────────────────────────┼─────────────┤
│ ABIEncoderV2PackedStorage │ https://blog.ethereum.org/2019/03/26/solidity-optimizer-and-abiencoderv2-bug/ │ low         │
├───────────────────────────┼───────────────────────────────────────────────────────────────────────────────┼─────────────┤
│ ExpExponentCleanup        │ https://blog.ethereum.org/2018/09/13/solidity-bugfix-release/                 │ medium/high │
├───────────────────────────┼───────────────────────────────────────────────────────────────────────────────┼─────────────┤
│ EventStructWrongData      │ https://blog.ethereum.org/2018/09/13/solidity-bugfix-release/                 │ very low    │
└───────────────────────────┴───────────────────────────────────────────────────────────────────────────────┴─────────────┘