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
You are right, it is not supported. However the error I'm getting is:
HardhatPluginError: Type address : felt not present in ABI.
Yeah I think it depends on what syntax you're using. I think the "expected address to be a tuple" happens whem I call it with
greeting.invoke(type_alias,{address: {1}}
But I'm not sure exactly. I tried many different syntaxes because I thought maybe I was just using the wrong syntax :)
I think first we'd need to define which syntax we want to use! :)
Cairo-lang 0.8.0 added Type Aliases but it looks like this plugin does not allow one to actually use them :(
Here's a code example that uses it. Try running it, you should have
https://gist.github.com/pscott/5ac165dd35cd0a4ef55cddf77dda4d05
The way I would expect to call a type alias is this way:
But this is just an idea, might not be the best way to call use it :)
The text was updated successfully, but these errors were encountered: