sol-profiler
sol-profiler copied to clipboard
Problem in parsing .sol file
Error in generating profile: Expected "contract", "import", "interface", "library", "pragma", comment, end of input, end of line, or whitespace but "a" found. Line: 14, Column: 1
line 14 starts with abstract contract
and this is not parsed correctly
Thanks for raising this @hack3r-0m . Can you attach a sample and steps to reproduce this?
Same problem than OP, I've just installed the program with npm and then run sol-profiler contracts/file.sol
and it gave me the same error.
If it helps, the contract is written in solidity > 0.8