Skip to content

Fix the imports from OpenZeppelin in the sample code so Remix can compileΒ #454

@hcheng826

Description

@hcheng826

Hi Ethernaut contributors,

Thanks for the great project! I've learned a lot from it! One experience I have is that for some levels, the Solidity code showing in the level instruction cannot directly compile, since it's importing the OpenZeppelin code from a relative path.

Some examples: Fallout imports SafeMath, Dex imports ERC20, PuzzleWallet imports UpgradableProxy, etc. The user needs to find the correct version of the package to import, in order to make it compile on Remix.

I can open a PR and try to fix the path and make it compile for Factory and Remix. Let me know if you want me to work on this. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    βœ… Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions