You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Structs containing dynamically sized types (string, bytes) are not fully supported in vyper.
The following actions fail to compile and produce exceptions that are not immediately obvious:
An argument in an external function call
An argument in an internal function call
An input argument for function - but only if you attempt to access the dynamically sized data
The following actions are supported:
returning from an internal function
returning from an external function
As a temporary measure I've added a better exception during type checking (#2189). It covers all of the not-possible cases given above. Going forward though, I think we should add support for these structs in the places where they aren't working.
The text was updated successfully, but these errors were encountered:
@vasa-develop we have some of the building blocks in place (abi encoder), but it would be difficult to do this quickly without spending a lot of time in the codebase. Worth a shot if you have the time though, I know this is blocking you. We can help in TG if you need answers
Structs containing dynamically sized types (string, bytes) are not fully supported in vyper.
The following actions fail to compile and produce exceptions that are not immediately obvious:
The following actions are supported:
As a temporary measure I've added a better exception during type checking (#2189). It covers all of the not-possible cases given above. Going forward though, I think we should add support for these structs in the places where they aren't working.
The text was updated successfully, but these errors were encountered: