[Compilers] Test coverage #152
-
Which compiler are you using?
Which version of Solidity or Vyper?v0.8.19 zksolc/zkvyper version?v1.3.14 Explain the issueHave a question about testing contracts locally with zkSync:
Failed to run coverage. Is there any way we can check coverage tests if we are working with zkSync ?
System:
Host: IdeaPad-3-15ALC6 Kernel: 6.2.0-31-generic x86_64 bits: 64
Desktop: GNOME 42.9 Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Error massage:
Error in plugin solidity-coverage: Error: Command failed: /home/roman/.cache/hardhat-nodejs/compilers-v2/zksolc/zksolc-v1.3.14 --standard-json --system-mode --solc /home/roman/.cache/hardhat-nodejs/compilers-v2/linux-amd64/solc-linux-amd64-v0.8.19+commit.7dd6d404
Contract `contracts/IsolatedWalletFactory.sol:IsolatedWalletFactory` compiling error: The contract `contracts/IsolatedWalletFactory.sol:IsolatedWalletFactory` LLVM IR generator definition pass error: Dependency contract `IsolatedWalletLogic_6059` compiling error: The contract `contracts/IsolatedWalletLogic.sol:IsolatedWalletLogic` LLVM IR generator definition pass error: Library `contracts/lib/RevertReasonParser.sol:RevertReasonParser` not found in the projectThe contract `contracts/IsolatedWalletFactory.sol:IsolatedWalletFactory` LLVM IR generator definition pass error: Dependency contract `IsolatedWalletLogic_6059` compiling error: The contract `contracts/IsolatedWalletLogic.sol:IsolatedWalletLogic` LLVM IR generator definition pass error: Library `contracts/lib/RevertReasonParser.sol:RevertReasonParser` not found in the project This problem does not occur during usual compilation or tests.
|
Beta Was this translation helpful? Give feedback.
Answered by
MexicanAce
Sep 27, 2023
Replies: 5 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently don't have support for
solidity-coverage
. But nonetheless, we will investigate the issue as well as find what should be our next steps when it comes to this plugin.Edit: As a follow-up, we will be allocating time in the near future for addressing support for coverage. We'll post an update when this effort is complete.