-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Description
Hi, we're running into this error while trying to run coverage on Juicebox-V2 codebase (https://github.com/jbx-protocol/juice-contracts-v2) - v0.7.0 runs without issue while 0.8.0 returns the following error (I tried resolving solidity-parser to the latest version, without success neither). All our codebase is in solidity 0.8.6.
ParserError: Expected ',' but got ';'
--> contracts/JB18DecimalERC20PaymentTerminal.sol:63:37:
|
63 | ((c_c24adfcc(0x5c1a3ceb145f412e); /* statement */
| ^
ParserError: Expected ',' but got ';'
--> contracts/abstract/JBPaymentTerminal.sol:1199:37:
|
1199 | ((c_d41e2bbe(0xf9757d8e289ec41e); /* statement */
| ^
Error in plugin solidity-coverage: HardhatError: HH600: Compilation failed
Anyone faced the same issue? Any clue on how to handle it? If not, we mostly want to use sol-cov0.8.0 to cover ternary operators, any alternative?
Thank you:)
Metadata
Metadata
Assignees
Labels
No labels