Open mattjaf opened 2 years ago
Could you make this in a pull request? 🙏
Ended up having to do it manually...
It'd be cool to see how the "pull request" is done the OG gangster way
I'll leave this issue open if anyone else ran into it
Still trying to understand it as well, I though I broke my hardhat for like 10 straight hours.
Hope this helps,
Seems like when the .env file doesn't have the value for private key it throws:
Error HH8: There's one or more errors in your config file:
* Invalid account: #0 for network: kovan - private key too short, expected 32 bytes
* Invalid account: #0 for network: rinkeby - private key too short, expected 32 bytes
* Invalid account: #0 for network: ganache - private key too short, expected 32 bytes
* Invalid account: #0 for network: mainnet - private key too short, expected 32 bytes
* Invalid account: #0 for network: polygon - private key too short, expected 32 bytes
After, commenting it out and trying to compile with 8.4 it throws:
Internal exception in StandardCompiler::compile: C:\Users\circleci\project\libsolidity\ast\AST.cpp(183): Throw in function class std::vector<class solidity::frontend::ErrorDefinition const *,class std::allocator<class solidity::frontend::ErrorDefinition const *> > __cdecl solidity::frontend::ContractDefinition::interfaceErrors(bool) const
Dynamic exception type: struct boost::wrapexcept<struct solidity::langutil::InternalCompilerError>
std::exception::what:
[struct solidity::util::tag_comment * __ptr64] =
Error HH600: Compilation failed
Trying to compile with 8.0 it throw:
Error HH606: The project cannot be compiled, see reasons below.
The Solidity version pragma statement in these files doesn't match any of the configured compilers in your config. Change the pragma or configure additional compiler versions in your hardhat config.
* @openzeppelin/contracts/utils/Address.sol (^0.8.1)
These files and its dependencies cannot be compiled with your config. This can happen because they have incompatible Solidity pragmas, or don't match any of your configured Solidity compilers.
* contracts/RandomSVG.sol
* contracts/SVGNFT.sol
* @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol
* @openzeppelin/contracts/token/ERC721/ERC721.sol
To learn more, run the command again with --verbose
Read about compiler configuration at https://hardhat.org/config