Skip to content

Something is off with the version selector, causing weird issues across imports #389

@PatrickAlphaC

Description

@PatrickAlphaC

I get the following errors:

vyper.exceptions.VersionException: Version specification "==0.4.0" is not compatible with compiler version "0.4.1"

  contract "src/interfaces/i_decentralized_stable_coin.vyi:1", line 1:0 
  ---> 1 # pragma version 0.4.0
  -------^
       2 """
vyper.exceptions.ModuleNotFound: interfaces.IERC20Permit

  contract "lib/pypi/snekmate/tokens/erc20.vy:69", line 69:0 
       68 # syntax.
  ---> 69 import interfaces.IERC20Permit as IERC20Permit
  --------^
       70 implements: IERC20Permit

After running the following:

git clone https://github.com/cyfrin/mox-stablecoin-cu
cd mox-stablecoin-cu
mox install
mox build

I'm thinking maybe it's getting confused with using snekmate? I'm not sure where it's breaking down...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions