cgewecke / eth-gas-reporter

Gas usage per unit test. Average gas usage per method. A mocha reporter.
MIT License
603 stars 94 forks source link

Solidity parser doesn't support new Solidity features #253

Closed TomiOhl closed 2 years ago

TomiOhl commented 3 years ago

When I use custom errors introduced in Solidity 0.8.4, I get the following error: error Apparently it's solved in the latest version of @solidity-parser/parser. Ive tested with 0.13.3-rc.1. So that dependency needs to be updated to keep compatibility with new Solidity codes.

enzoferey commented 3 years ago

Any update on this one ?

TomiOhl commented 3 years ago

@cgewecke can you please look into this? A simple npm update would fix this (and also other issues like #252) and since cgewecke/hardhat-gas-reporter also depends on this it will fix the issue there too

TomiOhl commented 2 years ago

Fixed in #261, thanks