Hi all, I am trying to work with multiple versions of @openzeppelin, this is because I am using the @openzeppelin2.x crowdsales using sol 0.5 and I had some contracts using sol 0.8. Please How do I manage both?
And I observed that I could not use solc 0.8 in the contract inheriting from the @openzeppelin2.x crowdsales since it is built with solc 0.5 hence I'm forced to use solc 0.5 in my contract. See the error below:
> ParserError: Source file requires different compiler version (current compiler is 0.8.16+commit.07a7930e.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version > --> @openzeppelin/contracts/crowdsale/Crowdsale.sol:1:1: > | > 1 | pragma solidity ^0.5.0; > | ^^^^^^^^^^^^^^^^^^^^^^^
Wow! it's been a journey. I have successfully upgraded the crowd sales smart contract to solc 0.8.9 with all test passing. My question now is should make this a new package on npm or can I submit a PR to the Openzepplin repo?