Open xrchz opened 1 year ago
vyper --version
python --version
> cat bug1.vy @external def foo(x: uint256 = 3): pass
> vyper -f external_interface bug1.vy # External Interfaces interface Bug1: def foo(x: uint256): nonpayable
If you use the interface produced directly, you cannot call Bug1.foo(). But it works if you import bug1 as Bug1.
Bug1.foo()
import bug1 as Bug1
probably related https://github.com/vyperlang/vyper/issues/3170
Version Information
vyper --version
): 0.3.8+commit.8ebabc5cpython --version
): Python 3.10.9What's your issue about?
If you use the interface produced directly, you cannot call
Bug1.foo()
. But it works if youimport bug1 as Bug1
.