0

I've recently started working with solidity & brownie. However, upgrading my smart contracts to use chainlink's VRF it seems that inheriting from VRFConsumerBase stops my brownie test --coverage from creating coverage reports for that contract, with others reporting fine.

This is with solidity 0.8.12, and after seeing this checked other bitesize projects, 2 other contracts have the same issue.

Is there anyway to inherit from VRFConsumerBase while maintaining being able to use brownie's test coverage, without making a separate contract to only handle my random logic?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.