titanoboa
titanoboa copied to clipboard
`boa.eval` fails when the returned value type is an interface
given some interface IFoo.vyi
And given an instance my_contract
of the following contract:
import IFoo
def bar() -> IFoo:
return IFoo(<some addr>)
calling bar
in the following contract through my_contract.eval("self.bar")
fails.
The problem can be circumvented by doing my_contract.eval("self.bar.address")
as a temporary workaround but there are instances where this is not possible.