Vyper support?

Hey folks,

Just started a new Zepkit Truffle box & was able to add & deploy a couple of simple contracts to my local Ganache. When trying to add a vyper contract, I’ve hit an issue. Curious if you folks know if this is due to a lack of vyper support with zos? Or something else entirely?

The vyper contract I took directly from the example vyper box:

I was able to compile & migrate this vyper contract in the vyper box project.

When adding that same vyper contract (VyperStorage.vy) in my Zepkit project, “zos add VyperStorage” works but running “zos push” yields this error:

$ zos push
Compiling contracts with Truffle...

Compiling your contracts...
> Compiling ./contracts/VyperStorage.vy
> Compiling ./contracts/Counter.sol
> Compiling ./contracts/Leveth.sol
> Compiling ./contracts/Wallet.sol
> Compiling openzeppelin-eth/contracts/access/Roles.sol
> Compiling openzeppelin-eth/contracts/access/roles/MinterRole.sol
> Compiling openzeppelin-eth/contracts/access/roles/PauserRole.sol
> Compiling openzeppelin-eth/contracts/lifecycle/Pausable.sol
> Compiling openzeppelin-eth/contracts/math/SafeMath.sol
> Compiling openzeppelin-eth/contracts/ownership/Ownable.sol
> Compiling openzeppelin-eth/contracts/token/ERC20/ERC20.sol
> Compiling openzeppelin-eth/contracts/token/ERC20/ERC20Detailed.sol
> Compiling openzeppelin-eth/contracts/token/ERC20/ERC20Mintable.sol
> Compiling openzeppelin-eth/contracts/token/ERC20/ERC20Pausable.sol
> Compiling openzeppelin-eth/contracts/token/ERC20/IERC20.sol
> Compiling openzeppelin-eth/contracts/token/ERC20/StandaloneERC20.sol
> Compiling zos-lib/contracts/Initializable.sol
> Artifacts written to /Users/samrichards/code/tu/leveth/build/contracts
> Compiled successfully using:
   - solc:  0.5.8+commit.23d335f2.Emscripten.clang
   - vyper: 0.1.0b10

Using session with network local, sender address 0x1df62f291b2e969fb0849d99d9ce41e2f137006e, timeout 600 seconds
WARNING: Address 0x1df62f291b2e969fb0849d99d9ce41e2f137006e is not checksummed. Consider checksumming it to avoid future warnings or errors.
Cannot read property 'absolutePath' of undefined

Any info or suggestions appreciated! Thanks in advance.

1 Like

Hi @sbrichards There isn’t Vyper support in ZeppelinOS currently.

When you have a moment, it would be great if you could tell us a bit about what you are working on

1 Like