Open fubuloubu opened 1 month ago
I get error in vyper
when I try to compile interfaces, like:
ERROR: (VyperCompileError) contracts/interfaces/IFaceZeroFour.vyi
StructureException:`...` is not allowed in `.vy` files! Did you mean to import me as a `.vyi` file?
^ very odd error, may be a bug in vyper even
Maybe they need special output selection.
I get this same error when running vyper
directly:
vyper contracts/interfaces/IFaceZeroFour.vyi
I get error in
vyper
when I try to compile interfaces, like:ERROR: (VyperCompileError) contracts/interfaces/IFaceZeroFour.vyi StructureException:`...` is not allowed in `.vy` files! Did you mean to import me as a `.vyi` file?
^ very odd error, may be a bug in vyper even
Maybe they need special output selection.
you can't actually "compile" them, but I think -f abi
should work
you can't actually "compile" them, but I think
-f abi
should work
I tried this but got the same error.
Overview
The vyper plugin does not currently generate
Vyper
ABI artifacts for.vyi
interface files:Specification
The plugin should be able to do this natively. For now, the workaround is that you can place a
<Interface>.json
in your contracts folder (with hopefully the same ABI) and thepm
"compiler" will grab it. Obviously a potentially source for human error, but it worksDependencies
n/a