verklegarden / crysol

secp256k1 elliptic curve cryptography in pure Solidity for on- and offchain operations
Apache License 2.0
57 stars 3 forks source link

tests: Schnorr and Nonce test coverage broken #3

Closed pmerkleplant closed 6 months ago

pmerkleplant commented 10 months ago

Foundry's test coverage does not work for the Schnorr and Nonce modules, see via forge coverage.

Crysol uses wrapper contracts called during testing to bypass foundry's restriction of being able to produce coverage reports for libraries directly. For info in this foundry issue.

pmerkleplant commented 6 months ago

This seems fixed with recent forge versions 🥳