eth-brownie / brownie

A Python-based development and testing framework for smart contracts targeting the Ethereum Virtual Machine.
https://eth-brownie.readthedocs.io
MIT License
2.65k stars 551 forks source link

Vyper v0.4 #1793

Open stas opened 1 month ago

stas commented 1 month ago

What I did

Mainly fixes and instructions for related issue: #1788

How to verify it

Switch your requirements.txt file to point to this fork by adding these

-eth-brownie==1.20.2
-vyper==0.3.10
+eth-brownie @ git+https://github.com/velodrome-finance/brownie@vyper-v0.4
+vyper==0.4.0

Specify the vyper version in the brownie-config.yaml

+compiler:
+  vyper:
+    version: 0.4.0

Run pip

pip install -r requirements.txt

Checklist