Has anyone been able to compile the code for the Puzzle Wallet level in Remix? I seem to be struggling to find versions of the imports to work. I changed the pragma to ^0.8.17 as it didn't seem like it would impact the challenge in this case, but it didn;t seem to help. I'm more than happy to go back to 0.6.0, or anything anyone has been able to compile successfully. thanks for any assistance!
Hi, welcome to the community!
It seems like PuzzleWallet.sol | ethernaut uses the compiler version ^0.6.0
, so you can use all versions start with 0.6
rather than 0.7
or 0.8
thanks, Skyge! The main issue is that I can't seem to get the import for UpgradeableProxy to compile in Remix. I'm starting to wonder if there really is a 0.6.0 version! for example:
this works fine (in Remix)
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.0.0/contracts/math/SafeMath.sol";
this path doesn't exist, so obviously fails. but, I can't find UpgradeableProxy.sol anywhere in release-v3.00:
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.0.0/contracts/UpgradeableProxy.sol";
thanks again, and good to be here!