Use vvm.compile_files instead of vvm.compile_source
Value:
Currently we use compile_source which places the files into a temporary path, which makes errors much harder to parse. This change will show the correct file that generated the error
Looks like Brownie actually uses compile_standard instead, which leverages vyper-json mode (and is more flexible e.g. we can sneak in interfaces easier)
Elevator pitch:
Use
vvm.compile_files
instead ofvvm.compile_source
Value:
Currently we use
compile_source
which places the files into a temporary path, which makes errors much harder to parse. This change will show the correct file that generated the errorDependencies:
Might be nicer to use alongside https://github.com/ApeWorX/ape/issues/660
Design approach:
Just switch the methods
Task list:
Estimated completion date:
1 week
Design review:
Do not signoff unless:
(Please leave a comment to sign off)